This is my first tutorial on electronics in English (I have wrote some more in the past but in Romanian) so I hope it will be ok
What is a programmer? .. a device that can be connected to a computer (through parallel, serial or usb port) and be used to program chips using a software.So this should be the first project to be made by any beginner unless you already have a programmer because you can’t make anything without one.
I searched about 6h on the Internet to find the best simple programmer for ATTiny2313 and I found it on Serasidis Vasilis’s website. It was designed for AT90S1200 and AT90S2313 but as I studied a little it is also compatible with the newer version of 90S2313 which is Tiny2313. The only problem was the software as I didn’t find at first any software (I tried with BASCOM, IC-Prog …. ) compatible with the hardware but this is another story, in the next article
Enough for introduction, let’s start ….
The easiest way to program a microcontroller is by doing In-System Programming (ISP), you can find more details on it if you look at the bibliography at the end of the article.
What components do you need?
- a simple or prototype board (about 4x5cm or even less, depends on you)
- 3 x 330 Ohms resistors
- a 20 pins IC socket
- a parallel (25 pins) port connector (male or female, depends on what you have on the mainboard or what cables you have)
Because some mainboards can’t provide enough voltage at the parallel port you may need an external power source. In this case you’ll need a +5V supply which you can build very simple with a 78L05 (click to see schematics) and connect it to pin 10 (GND – ) and pin 20 (GCC + ).For this way you need to strip the 3 resistors + the GND wire.
For the common schematic (which takes the voltage from the computer’s parallel port) use :
Below are some photos I took while I build it.
If you have any questions feel free to send a comment using the bottom form.
- http://www.serasidis.gr/circuits/avrprog/avrprog.htm – the original schematic
- Some Datasheets ( below download boxes )