DT006 AVR Development BoardThe Little "rAVeR!" Project.
The DT006 board will program the AVR 8, 20, and 28 pin DIP chips on board, and will also program the DT103 & DT104 AVR SimmSticks, as well as any AVR target board that has a Kanda type header, however current burning software is achieved with the programmer software built into Bascom-AVR. Have a read through Bascom-AVR documentation for chip types supported.
This means, after you have this programmer unit up and running as a development platform, all you need to duplicate the procedure with a stand alone micro, is a single AT90S2313-10-PC micro, and a DT104 PCB and a handful of simple components. Or you can use your own circuit design on a proto board, vero board, your own artwork, whatever.
These things absolutely scream along. By
comparison, a 10Mhz AVR micro executes instructions at twice the speed
of the 20Mhz PICmicro based BSII, and that's just the micro. As
BASCOM-AVR is compiled Basic, and not tokenized into a serial
EEPROM like the BSII is, you have just speed it up by another factor of
about 15-20 times.
These assembly instructions are aimed at getting a minimum development system running with a 20 pin AT90S2313-10-PC working, in conjunction with the runavr project software, which is a free, demo, fully featured, (not crippled) Basic Compiler. The only limitation is the 2K code size, however this just happens to be the same size as the AT90S2313 code space.
Power Supply Section
PCB 1 x DT006A
VR1 1 x 7805 +5 Voltage regulator in TO-220 case. 1 x Suitable heat sink for above Regulator. D1 1 x Diode Bridge D1 WO2 (or WO4 type) J4 1 x 2.5mm (or 2.1mm) DC Input plug. PCB mount.
C1 1 x Capacitor 1000uf Electrolytic @25 Volts. (PCB type mount.) C2 1 x Capacitor .01uf (or .1uf) Ceramic or Monolithic C3 1 x Capacitor 10uf Electrolytic (PCB mount.) or Tant. @16 V. C4 1 x Capacitor .01uf (or .1uf) Ceramic or Monolithic LED10 1 x 3mm LED. PWR monitor R15 1 x Resistor 1K .25 wattProgrammer and Micro Section
U3 1 x AT90S2313-10-PC 10Mhz 20 pin DIP X1 1 x 10Mhz 3 leg resonator.
A 10Mhz Crystal and two 22pf ceramic Caps can be fitted as an alternative to X1. The caps are installed at locations C9 and C10 Don't fit the caps if you are installing the resonator. (15-30pf are suitable, resonators have 30pf caps internal)
A 20 pin machine pin socket should be fitted to the U3 location. This will enable this Micro to be removed, if an 8 or 28 pin micro is to be installed.
A 3 pin machine pin socket, or strip, can be used for the X1 location. This will allow you to fit other value resonators. If you can't find a strip, a 3 pin one can be cut from a machine pin socket.
J7 1 x DB-25 Male right angle PCB mount connector. R2 1 x Resistor 330R .25 watt R3 1 x Resistor 330R .25 watt R4 1 x Resistor 330R .25 watt
SW1 1 x 4 leg push-button Switch. C12 1 x Capacitor 4.7uf to 10uf Tantalum. R17 1 x Resistor 10K .25 watt
Serial Communications Section
U1 1 x MAX-232 E2 (or equivalent) You may chose to use a 16 pin socket for the Max-232
C5 1 x 1uf Electrolytic or Tantalum cap for Max-232. C6 1 x 1uf Electrolytic or Tantalum cap for Max-232. C7 1 x 1uf Electrolytic or Tantalum cap for Max-232. C8 1 x 1uf Electrolytic or Tantalum cap for Max-232. J6 1 x DB-9 right angle PCB mount connector.
R1 1 x Resistor 1K .25 watt R14 1 x Resistor 1K .25 watt SW2 1 x 4 leg push-button Switch. SW3 1 x 4 leg push-button Switch.
R6-R13 1 x RN1 1K resistor network. 10 pin device. 1 common pin. (10P9R-1K) Alternatively, if a resistor network is difficult to source, this could be 8 individual resistors installed standing upright on the board.
LED2-9 8 x 3mm LEDs. J9 1 x set of male header pins at .1" centers. (8 x 2 format) TL8 8 x .1" test links.Final Touch:
4 x 12mm square .5" stick on rubber feet. Adds a nice finish.
Optional Items (not needed to get the basic unit going)
Kanda Compatible Connector:
J10 10 pin IDC Connector. (2 x 5 male header). LED1 1 x 3mm LED. R5 1 x Resistor 1K .25 watt
AVCC: (Used for D/A on 28 pin AVR Micros)
C11 1 x Capacitor .1uf (100nf) Ceramic R16 1 x Resistor 100R .25 watt
Extension of SimmStick Bus:
J1 1 x 30 pin female R/A header strip. J2-3 1 x dual 30 pin Simm Socket.
J1 Will allow you to very simply connect to a proto or vero
board for outboard development.
Additional Jumper Options:
J5 Serial in/out crossover to Simm Bus. 4 pin (2 x 2) header. Two Links. To be able to use serial comms to a SimmStick via the Simm Bus, you will have to link J5 correctly. For direct connection, link pin 1 to pin 2, and pin 3 to pin 4. This means the links must be horizontal. To swap the RX/TX signals, simply position them vertical.
J8 4 pin (2 x 2) header. Unused signals of Max-232. Not used.
J11-12 2 x 3 pin headers. Two test links. Used to configure Int/Ext OSC pins of an 8 pin Micro. Extends to Simmbus.
J13 1 x 3 pin header. 1 test Link. Configure AREF to VCC for 28 pin micro.
J14 MOSI/MISO in/out crossover to Simm Bus. 4 pin (2 x 2) header. Two Links. To be able to program a SimmStick via the Simm Bus, you will have to link J14 pin 1 to pin 2, and J14 pin 3 to pin 4. This means the links must be horizontal, or point towards the Simm socket. If you need to swap these signals, simply position them vertical.
U2 Used for 8 pin micro installation. U4 Used for 28 pin micro installation.
Install The ComponentsAs a general rule, the lowest height components should be installed into the board first, as this will make installation much easier.
Install the crystal 3 pin socket, and the 20 pin machine pin socket
into the U3 position. Install a 16 pin socket for U1 if you wish to.
This may be a good choice for a beginner.
Resistor Network (10P9R-1K). Alternatively, if a resistor network is difficult to source, this could be 8 individual resistors installed standing upright on the board.
Resistors R1-1K, R2-330R, R3-330R, R4-330R, R14-1K, R15-1K, and R17-10K. C2-Capacitor .01uf (or .1uf) Ceramic C3-Capacitor 10uf Electrolytic (PCB mount.) or Tant. @16 V. C4-Capacitor .01uf (or .1uf) Ceramic C5-Capacitor 1uf Electrolytic or Tantalum cap for Max-232. C6-Capacitor 1uf Electrolytic or Tantalum cap for Max-232. C7-Capacitor 1uf Electrolytic or Tantalum cap for Max-232. C8-Capacitor 1uf Electrolytic or Tantalum cap for Max-232. C12-Capacitor 4.7uf to 10uf Tantalum. LED 2 to LED 9 (8) 3mm. LED 10 3mm.
This pretty well covers the low profile components, so the order of the rest of the items isn't all that important.
Components Left To Install:
C1-1000uf Electrolytic @25 Volts VR1-7805 +5 Voltage regulator in TO-220 case, and Suitable heat sink for the Regulator. D1-Diode Bridge D1 WO2 (or WO4 type) J4-2.5mm (or 2.1mm) DC Input plug. PCB mount. J6-DB-9 right angle PCB mount connector. J7-DB-25 Male right angle PCB mount connector. SW1-4 leg push-button Switch. SW2-4 leg push-button Switch. SW3-4 leg push-button Switch. J9-Set of male header pins at .1" centers. (8 x 2 format)
Micros and Configuration
U3-AT90S2313-10-PC 10Mhz 20 pin DIP X1-10Mhz 3 leg resonator. U1-MAX-232 E2 (or equivalent)
TL8- 8 x .1" test links. These are installed on the J9 header
Initial Power up and Testing
Check the heat sink for excessive heat. It should be mildly warm. If you have a multi-meter, you can check for +5V on the board. If the power LED is on and stable, this is a pretty good indication that the power section is alive and well.
Testing RS-232 I/O
You can now check the RS-232 section by hooking up the DB-9 connector
to a comms port on your PC and running a terminal program such as
hyperterm under W9x, etc.
We are rushing DT006 boards to Mark, the Author of Bascom-AVR, so he can put together a very nice piece of testing software for this board, in the meantime, you can try testing with "rotate.bas" for the LEDs and "strings.bas" for RS-232 testing. The method of programming using Bascom-AVR is covered in the runavr link listed below.
Software Development & Programming
Download the free Bascom Compiler from www.mcselec.com/download.htm
For lots of detail about the compiler, check out: Bascom-AVR
An overview of programming a chip (with pictures) is covered in the runavr project pages.
DT006 Test Program - dt006_1.zip
Other boards of interest for the RunAVR family of Micros are:
and in fact check out all of the SimmStick info.
All rights reserved © 1999-2005 Giovanni Moretti Palmerston North, New Zealand