Article
AT90S2313 Programmer
In January 2003, we published an article about programming AVR microcontrollers using Bascom AVR. In that article and in the manual for this Basic compiler, a circuit from Sample Electronicsis described as one of the simplest ways to program the microcontroller. This circuit provided the basis for the practical implementation described here.For this purpose, the parallel port of the PC is directly connected to the ‘Serial Interface for In-system Programming’ (SPI) via resistors that protect the parallel port. The serial link to the internal Flash memory is enabled when the Reset signal (pin 1) is low.
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
Component list
Resistors:
R1,R2,R3 = 330?
R4 = 1k?
Capacitors:
C1 = 100pF
C2,C3 = 33pF
C4,C6 = 100nF ceramic
C5 = 10µF 63V radial
C7 = 220µF 25V radial
C8-C11 = 22 nF ceramic
Semiconductors:
B1 = B80C1500, round case (80V piv, 1.5A)
D1 = LED
IC1 = AT90S2313
IC2 = 78L05
Miscellaneous:
JP1 = 2-way pinheader with jumper
K1 = Centronics socket (female), PCB mount, angled pins
K2 = 24-pin ZIF-socket (e.g., Farnell # 178-235) or 20-pin IC socket with turned pins
K3 = 2-way PCB terminal block, lead pitch 7.5 mm
X1 = 4MHz quartz crystal
TR1 = mains transformer 9 V/0.35 VA (e.g., Hahn BV201 0136)
PCB, order code 034036-1
R1,R2,R3 = 330?
R4 = 1k?
Capacitors:
C1 = 100pF
C2,C3 = 33pF
C4,C6 = 100nF ceramic
C5 = 10µF 63V radial
C7 = 220µF 25V radial
C8-C11 = 22 nF ceramic
Semiconductors:
B1 = B80C1500, round case (80V piv, 1.5A)
D1 = LED
IC1 = AT90S2313
IC2 = 78L05
Miscellaneous:
JP1 = 2-way pinheader with jumper
K1 = Centronics socket (female), PCB mount, angled pins
K2 = 24-pin ZIF-socket (e.g., Farnell # 178-235) or 20-pin IC socket with turned pins
K3 = 2-way PCB terminal block, lead pitch 7.5 mm
X1 = 4MHz quartz crystal
TR1 = mains transformer 9 V/0.35 VA (e.g., Hahn BV201 0136)
PCB, order code 034036-1
Discussion (0 comments)