Bascom Avr Demonstration Board
Bascom Avr Demonstration Board
Bascom Avr Demonstration Board
LED
Recommendations: the Programming
check
The test board allows the user to assemble and test a series of devices using the AVR
AT90(L)S2313 (ATMEGA2313) microcontroller. Basically, all the necessary peripheral
components are included in the kit for example, the LED displays, the LCD alphanumeric display or
the ADC and DAC converters. All the connections are made by means of cables soldered to pads
with gold pins or wire jumpers are used for this purpose (the 90S2313 microcontroller).
Electrical characteristics
• microcontroller 90S2313
• circuit-assembling by (with the test firmware already downloaded) connecting the existing
components to solder pads
• results displayed: LED diodes, LCD 2*16 alphanumeric display
• RS 232 interface buffer, ADC and DAC converter, voltage reference
• programming cable enclosed
2
• I C bus output
• PCB dimensions: 105x78mm
• 5V DC power supply
Description
The schematic of the demonstration board is shown in figure 1. The assembled prototype
accompanied by a description of circuits is shown in the photo. The circuit is intended for
experiments and will allow the user to make a lot of intriguing devices. The U1 AVR AT90(L)S2313
microcontroller is the "heart" of the circuit. The microcontroller is driven by the X1 (4 MHz) quartz
Photo 1
The J1…J3 PCB switches should be set appropriately. A-B J1, J2 and 2-3 of the J3 switch should
be covered with jumpers. The J4 and J5 jumpers should be left open. Once properly assembled,
the circuit will work instantly. The only slight adjustment to be made is setting the exact 2,56V
voltage at the VREF point on both the schematic and the PCB. In the basic version, the block type
connector is included. Normally, the LCD display is connected to it. To connect the LCD display,
the LED W1 and W2 should be disconnected from their sockets. Prior to this, a row of goldpin
connectors (male part down as shown in photo 3) should be soldered in the LCD display pads on
the PCB. Now the display, being fully operational, can be inserted in the test board. The test
board should be powered from the mains plug-type power supply with the 4.5…5V voltage and
the output current not lower than 200mA. More experienced users can do without it by powering
the test board with the 5V voltage sinking from the PC joystick port. The sixth wire of the
programming cable is used then. The mains plug-type power supply must be disconnected. The
+5V voltage occurs at pins 1 and 9 as well as at joystick port pins 8 and 15. The PC Game Port
connector with the marked 5V voltage pins is shown in photo 1.
Photo 2
Attention:
! Due to the possibility of
damaging the PC printer port by
electrostatic discharge, the practices of
connecting the test board to the computer and
reconnecting the printer at a later time can be
carried out only when both the computer and
the test board power supply are turned off.
The kit can be checked whether it works properly just after assembly without having to connect the
test board to the computer. The microprocessor which is included in the kit contains a test program.
After delivering (4,5…5,5V) voltage to the POWER connector the D2 LED is turned on and the LED
test sequence is displayed. Once S2 is pressed, the module is switched over to the fast reactions meter
mode. The meter works as follows: After the display is turned on the S1 pushbutton should be
pressed as quickly as possible. Soon after that, delay time given in a hundredth fraction of a second is
displayed. Additionally, a piezo buzzer can be connected to Q0 and GND not only to check how fast
the user reacts to a visual signal but to an audible signal as well (the satisfactory results are below
twenty hundredths of a second).
To do this, after clicking "Options", "Programmer" the user's window should be exactly like the
screen below. That is the recommended configuration. Now the test board can be connected to the
Attention!
Due to high risk of failure caused by electrostatic discharge all the connections should be
! made while both the computer and the test board power supply are turned off. Prior to
this, it is worth while freeing the body of electric charge by touching the earth for
example, a drain. If the test board is electrically fed from the power supply the sixth wire
of the programming cable must not be connected to the computer.
The kit was made on the basis of a project bearing the same trade name published in "Elektronika dla Wszystkich" 12/02.
www.elportal.pl
The sale offer of our "do-it-yourself" sets is available on our website www.sklep.avt.pl