Article
Atmel AVR Micro Programmer
for 89Cx051 with up to 4k of program memory
This programmer is suitable for programming the three popular 20-pin Atmel processors, the 89C1051, 89C2051 and the new 89C4051 with 4 k of program memory.There is a new arrival in the Atmel family of powerful yet inexpensive MCS51-compatible microcontrollers with flash memory (PEROM): the 89C4051 boasts 4 kBytes of program memory. Besides the program memory capacity all members of the family have the following features:– 128 bytes RAM– 15 I/O port bits– 2 16-bit timer/counters– Interrupt architecture with two priorities and five vectors– Programmable full-duplex serial port– Precision analogue comparator– Integrated clock/oscillator circuit
Materials
Gerber file
CAM/CAD data for the PCB referred to in this article is available as a Gerber file. Elektor GREEN and GOLD members can exclusively download these files for free as part of their membership. Gerber files allow a PCB to be produced on an appropriate device available locally, or through an online PCB manufacturing service.
Elektor recommends the Elektor PCB Service service from its business partner Eurocircuits or AISLER as the best services for its own prototypes and volume production.
The use of our Gerber files is provided under a modified Creative Commons license. Creative Commons offers authors, scientists, educators and other creatives the freedom to handle their copyright in a more free way without losing their ownership.
PCB
Extra info / Update
The author has supplied yet another update for the Windows software. The latest version now reads signature bytes correctly in all cases. Free Download, file number 010005-11, September 2001. The firmware in controller no. 010005-41 remains unchanged. The author has come up with another new release of the software, which may be downloaded free of charge from our website. The old version contained a bug causing incorrect programming of the last few bytes in the 4K device (4051).
Component list
Resistors:
R1 = 8kOhm 2
R2 = 100Ohm
R3 = 8-way 10kOhm SIL array
R4,R5 = 1kOhm
R6 = 1210Ohm
R7 = 274Ohm
R8 = 2260Ohm
R9,R10 = 10kOhm
R11 = 4kOhm 7
R12,R13,R14 = 1kOhm 5
R15 = 2kOhm 2
Capacitors:
C1,C4-C10 = 10µ F 63V radial
C2,C3 = 22pF
C11 = 1µ F 25V radial
C12,C13,C14 = 100nF
Semiconductors:
D1 = 1N4148
D2 = 1N4001
D3 = zener diode 4V7, 500 mW
D4,D5,D6 = LED, green, high efficiency
T1,T3 = BC557B
T2 = BS170
IC1 = AT89C2051-12PC (order code 010005-41)
IC2 (K3) = 24-way zero-insertion force (ZIF) socket
IC3 = 74HC373
IC4 = MAX232
IC5 = 7805
IC6 = LM317T
Miscellaneous:
JP1 = jumper
K1 = 9-way Sub-D socket (female), PCB mount, angled pins
K2 = mains adaptor socket
X1 = 11.0592MHz quartz crystal
Enclosure, size 137 x 95 x 25 mm (e.g., Pactec type WM46)
PCB, order code 010005-1
Disk, project software, order code 010005-11 (no free download)
R1 = 8kOhm 2
R2 = 100Ohm
R3 = 8-way 10kOhm SIL array
R4,R5 = 1kOhm
R6 = 1210Ohm
R7 = 274Ohm
R8 = 2260Ohm
R9,R10 = 10kOhm
R11 = 4kOhm 7
R12,R13,R14 = 1kOhm 5
R15 = 2kOhm 2
Capacitors:
C1,C4-C10 = 10µ F 63V radial
C2,C3 = 22pF
C11 = 1µ F 25V radial
C12,C13,C14 = 100nF
Semiconductors:
D1 = 1N4148
D2 = 1N4001
D3 = zener diode 4V7, 500 mW
D4,D5,D6 = LED, green, high efficiency
T1,T3 = BC557B
T2 = BS170
IC1 = AT89C2051-12PC (order code 010005-41)
IC2 (K3) = 24-way zero-insertion force (ZIF) socket
IC3 = 74HC373
IC4 = MAX232
IC5 = 7805
IC6 = LM317T
Miscellaneous:
JP1 = jumper
K1 = 9-way Sub-D socket (female), PCB mount, angled pins
K2 = mains adaptor socket
X1 = 11.0592MHz quartz crystal
Enclosure, size 137 x 95 x 25 mm (e.g., Pactec type WM46)
PCB, order code 010005-1
Disk, project software, order code 010005-11 (no free download)
Discussion (0 comments)