Atmel AVR Programmer
From MARS Wiki
Contents |
Why our own programmer?
A programmer is a great starting point for anybody new to microcontrollers. The project is an exercise in microcontroller interfacing, basic design principles, soldering, etc that is both easily understood and useful. After the programmer is finished, it can be used to program any Atmel AVR RISC microcontroller that supports Atmel's In-System Programming.
So what do we need?
Not much! The parts list is below.
| Item | Package | Quantity | Digi-Key Part Number | Price |
|---|---|---|---|---|
| FTDI 232RL | SSOP-28 | 1 | 604-00043-ND | 4.19000 |
| PIC18F2221-I/SS | SSOP-28 | 1 | PIC18F2221-I/SS-ND | 4.63000 |
| Green LED, 2V | 0805 | 2 | 160-1443-1-ND | 0.14000 |
| Resistor, 270 Ohm | 0805 | 2 | RHM270HCT-ND | 0.07600 |
| Resistor, 10 Kohm | 0805 | 1 | RHM10KGCT-ND | 0.06900 |
| Capacitor, 100nF | 0805 | 1 | 399-1096-1-ND | 0.02300 |
| 5-Pin header | 0.1" pitch | 1 | WM8075-ND | 0.52000 |
| USB-B Connector, rt. angle | Through hole | 1 | 151-1121-ND | 0.74000 |
| PCB | N/A | 1 | N/A | 2.43 |
| Subtotal | 13.43 |
Great! Now how do we put it together?
The schematics (Image:Pic avr.sch) and the PCB layout (Image:Avr068usb.pcb) for the programmer are attached to this page. ExpressPCB[1] is necessary to view/edit the PCB layout.
Ok, but it doesn't do anything.
The programmer needs to be programmed itself before it will work. Since we have PIC programming devices, this should not be a problem outside of finding/purchasing/building a connecting cable for the ICSP header on the AVR programmer.
Firmware Progress
Delay code should be fixed, still need to test with an Atmel chip.
Firmware as of November 7, 2007: Image:Avr068usb-p.zip
