|Home||Products||Prices||Site Map||Order||Contact||What's New||Books||Free Files||Links||FAQ|
Click on the Icons for Schematics in PDF or GIF format.
The DT104 suits both the old and new (AVR) Atmel 20 pin Micros. It was the first commercially released proto board for the AVR family (Circa June-97) and is based on the SimmStick Platform.
We have been able to run a 1200 Micro in the DT104 SimmStick board with just the 20 pin Micro, a crystal and two caps either side ot the crystal. C3 and C4. That's all you need for a minimal system. This means it can be built in what, 3 or 4 minutes?
This board was designed for Atmel AVR 20 pin DIP Micros, however it suits both AVR and non-AVR devices. Minor changes need to be made if you choose to use the DT104 with a non-AVR micro such as the AT89C2051. If you are using it with say the AT90S1200, then no changes are required and many components don't need to be installed.
1 by DT104 SimmStickTM PCB
1 by 78L05 +5 Voltage regulator in TO-92 case. (Optional)
1 by Capacitor C1 .01uf (or .1uf) Ceramic
1 by Capacitor C2 .01uf (or .1uf) Ceramic
1 by Capacitor C3 15pf to 22pf Ceramic (Install only if Crystal is installed)
1 by Capacitor C4 15pf to 22pf Ceramic (Install only if Crystal is installed)
1 by Capacitor C9 4.7uf Electrolytic (PCB mount.) or Tant. @16 V. (pwr-res)
1 by Resistor R1 10K .25 watt (Res pullup and part of power-up reset).
1 by Resistor R2 10K .25 watt (D0 pullup only for non-AVR Micro.)
1 by Resistor R3 10K .25 watt (D1 pullup only for non-AVR Micro.)
1 by Resistor R4 10K .25 watt (Install only if E3 EEPROM is installed)
1 by Resistor R5 10K .25 watt (Install only if E3 EEPROM is installed)
1 by Resistor R6 10K .25 watt (Install only for non-AVR.)
1 by Resistor R7 10K .25 watt (Install only for non-AVR.)
1 by Resistor R8 10K .25 watt (Used for power up-reset circuit.)
1 by PNP small signal transistor. BC558. (Install only for non-AVR.)
12-Jun-2004 Note *** It has only taken 7 years, but thanks to
Karl Mowatt-Wilson of New Zealand, it has been found that Q1,
the reset inveter transistor is actually back the front, however it
has been tested to work as a reset circuit in either direction.
US Type 2N4403 can be used, however it must be rotated 180 degrees so
that the flat side of the transistor is facing away from R7 and not
towards it as shown on the overlay.
And either a Crystal of a suitable value, or a 3 pin Resonator.
If a crystal is fitted then C3 and C4 must be installed.
If you use a Resonator, then you mustn't install these two caps.
1 by Capacitor C5 1uf Electrolytic (PCB mount.) or Tant. @16 V.Brown-Out Circuit:
1 by Capacitor C6 1uf Electrolytic (PCB mount.) or Tant. @16 V.
1 by Capacitor C7 1uf Electrolytic (PCB mount.) or Tant. @16 V.
1 by Capacitor C8 1uf Electrolytic (PCB mount.) or Tant. @16 V.
1 by MAX-232 E2 (or equivalent)
If you wish to use the
circuit, it's just added to the board, and can be either a CMOS or Open
You can use the following I.C.'s:
Panasonic MN13811-S (Open Collector)
Panasonic MN1381-S (CMOS)
Other types may also be suitable. These should switch at between 4.2 and 4.6Volts. This is for +5 Volt operation.
It may also pay to install a 16 pin socket for the Max-232, as you may have to remove it for some configurations.
Standard Brown Out Circuit details:
J1: +5Volt Isolation.
Used to Isolate the +5V signal on the edge connector from the 78L05 regulator output if it is installed. Both outputs should never be used together. The track on the solder side of the board under J1 needs to be cut to isolate the 78L05 regulator output. A test link and two male posts are used to reinstall the regulator output.
J2: AUX Power In.
Brings in an alternative source of DC power. A 9 Volt battery may be connected to J2. Pin 1 is positive and pin 2 negative.
J3: RESET Inversion.
Controls the reset level required for the Micro. Needs to be reset low for AVR, then returned high, and high to reset returning to low for non-AVR.
For AVR operation, the board requires no alteration to this header. Components R7, Q1, and R6 are left out for AVR and installed for non-AVR. Also for non-AVR, the track needs to be cut on the solder side ot the board between pins 1 and 2, and a wire link, or header pins and test link needs to be installed.
J4: Using the 104 as
The board is default set to be a standard target board. To make it into a programmer, the track must be changed much the same as described in the above J3 section, that is isolate pins 1 and 2, and connect pins 2 and 3 together.
J5: SPI Bus
The 20 pin AVR devices don't have an SPI bus, but software can be used to produce one, so this header was included. Also contains all the signals required for In-Circuit-Programming, so a cable with a DB-25 Male connector to an 8 pin SIL header can be used to program the device from a printer port. Check out the simple Jerry Meng programmer circuit. This can be found in my Atmel links. I had to add a 680pf cap between pin 19 of the Micro and ground to get Jerry's circuit to be reliable.
However if you use the DT006 type Programmer, you don't need this capacitor.
J6: Using the 104 as
Used for signal isolation when the DT104 is used as a programmer.
When used as a target board, the default board setting is correct. If used as a programmer, this link can be isolated, but it's not required unless you have I/O connected to D9 on the Simmstick bus and are concerned about the signal pulsing during the programming cycle.
The D9 signal has
renamed to XD9 after the link, meaning external to the bus, not the
XD9 is used by the programming board to take control of the target
as it is jumpered via J4 to the target board reset signal.
I just got my AT90S1200's to program each other using a SPI interface. One problem I found was that I had to modify the DT104 a bit to get the reset line to toggle.
As it is, pin 8 of the SPI connector (J5) is connected directly to the reset pin on the AT90S1200. This is a problem if you use the stick as a programmer - you need to do something clever to get a proper reset signal on that pin.
I suggest connecting pin 8 on the SPI port to pin 2 on J4. This means that if you change the stick to programming configuration, the port will change also to become driving the reset pin on the slave simmstick, not being driven.
What I did was cut my socket apart so that the reset pin on the AT90S1200 was flapping in the breeze, not connected to anything, and I connected all three pins on J4 together. Not very elegant, but it works.
Maybe it's something to add the next time you do a major revision (But looking at the DT104, I don't think it will ever have a major revision - it's too good for that!). I think that it would be a bit of a headache to put another trace in. Just following the traces on the board is tricky, what with the number of times they swap sides!
Just a thought,
A brief note for DT104/AVR users: Can't tell when your board has power?
Since Q1/R6 will be free, you can add a Power ON LED in place of Q1 and
install a 330ohm resistor at R6. The LED flat side (cathode) goes in
the hole left for Q1's collector, the other lead in the Q1 emitter hole.
Hope this helps...
Just to throw my hat into the ring, I use a DT-003 with a couple of DT-104's. The DT-003 is connected to the parallel port of an old toshiba laptop. I'm sure you would be able to set up a similar system on the DT-006.
I use avr-gcc http://medo.fov.uni-mb.si/mapp/uTools/ and it
C code just fine.
I then use SP12 http://home.wanadoo.nl/electro1/avr/sp12.htm to program the chips.
The combination works really well, and allows you to program AVR's
a familiar language environment.
Any questions, please feel free to ask.
Copyright © 1996-2006 Dontronics