EVBavr0 evaluation board for AVR microcontrollers ATmega or ATmega. REV.0 User`s manual Evalu ation Board s for, AVR, ST, PIC microcontrollers Sta- rter Kits Embedded Web Serve rs Prototyping Boards Minimodules for microcontrollers, etherdesigning Evaluation Boards for net controllers, RFID High Spe- ed In System programmers for AVR, PIC, ST microcontrollers Microprocesor systems, PCB, AVR, ST, PIC microcontrollers Starter Kits Embedded Web Servers Prototyping Boards mi- nimodules for microcontrollers, ethernet controllers, RFID High Speed In Systems programme- rs for AVR, PIC, ST microcontrlollers Microprocesor systems, PCB designing Evaluation Bo- ards for `, AVR, ST, PIC microcontrollers Starter Kits Embe- dded Web Serwers Prototyping Boards Minimodules for microcontrollercontrollers, ethernet controllers, High Speed In System program- mers for AVR, PIC, ST microco- Microprocesor R Many ideas one solution Systems, PCB Designing Evaluation Boards
. Introduction EVBavr0 is a development board designer for the hobbyist and engineers who want to quickly prototype their system based on AVR microcontrollers from Atmel. Developer has access to all pins of the micro, which are brought to the header (pin connectors) and labeled accordingly. Depending upon the board`s configuration (listed versions) some or all of the following components are found on the board: thermometer, potentiometer, relay, buzzer, RTC (real time clock), four seven-segment LED, RS interface,-wire connector, IC connector, JTAG connector, external FLASH memory and LCD display (x). The pin headers provided allow easy access to all these components. In addition, there are eight micro-switches and eight diodes which could be connected to any of the pin connectors or additional components, which may be placed on the large, adjacent prototype area. The power circuitry on board (bridge, voltage regulator) eliminates the need for an external regulated power supply. This board comes with the several examples of the C code routines (source from), to facilitate testing and quick development in using the board`s resources. We wish great success and full satisfaction while designing and constructing appliances based on EVBavr0.
. Board layout.. Prototype area.. Additional components connector.. Thermometer LM. LED`s and micro-switches. Potentiometers. switch. Accumulator`s voltage pin.. Accumulator V.. JTAG connector 0. Buzzer. ISP connector.. Power ON/OFF switch.. Input power jack (AC/DC).. Relay`s header.. RS port. IC interface port. -Wire port. Processor, led out and doubled processor ports.. Real Time Clock DS0. 0. LM voltage regulator.. LCD display (optional).. -segment LED.. FLASH memory
. Supported processors ATmega ATmega FLASH KB KB SRAM KB KB EEPROM B 0 B Pheripherals Two -bit Timer/Counters with Separate Prescaler, one Compare Mode One -bit Timer/Counter with Separate Prescaler, Compare Mode, and Capture Mode Real Time Counter with Separate Oscillator four PWM Channels channel, 0-bit ADC Byte-oriented Two-wire Serial Interface Programmable Serial USART Master/Slave SPI Serial Interface JTAG interface Programmable Watchdog Timer with Separate On-chip Oscillator On-chip Analog Komparator sleep modes Two -bit Timer/Counters with Separate Prescaler, one Compare Mode One -bit Timer/Counter with Separate Prescaler, Compare Mode, and Capture Mode Real Time Counter with Separate Oscillator four PWM Channels channel, 0-bit ADC Byte-oriented Two-wire Serial Interface Programmable Serial USART Master/Slave SPI Serial Interface JTAG interface Programmable Watchdog Timer with Separate On-chip Oscillator On-chip Analog Komparator sleep modes Supply voltage Clock frequency.v.v ver.l.v.v ver. 0- MHz ver.l 0- MHz ver..v.v ver.l.v.v ver. 0- MHz ver.l 0- MHz ver. Temperature range -0 + C Cases -pin PDIP
. Power supply for board Recommended external power supply voltage is -V AC, or -V DC. A standard power jack (bolt diameter.mm - negative) is provided at the edge of the board. Stabilized voltage is available on the double header and on the prototype area of the board. The selection of the is provided through a V header. The default voltage is V DC (no jumper on V header). By placing a jumper V, becomes. V DC and can be regulated from.v to.v by VPOT. The SUPPLY header allows for direct access to the power jack input. Placing a jumper by passes the bridge and voltage regulator.. Peripheral circuits.. LEDs The board has LED diodes, which make the simplest interface between the system and the user. This is especially useful for the beginners, who want to manipulate or debug their program with different hardware configurations. The diode turns on after grounding of the associated Ldn (n = 0 ) pin. Figure. LED diodes.. Switches The board is equipped with micro-switches. Pressing one of them causes grounding of the corresponding pin on the SW header. Figure. Switches
.. Relay Acces to the relay circuitry consist of the REL pin of the MISC header and pins: NC,NO,COM of the relay header. REL pin is indirectly connected to the base of the transistor. Logic level ( or.v DC) applied to the REL pin, will activate the relay. External circuits can be controlled via NC, NO, COM I/O pins. Figure. Relay schematic.. Acoustics indicator (speaker) The board has an acoustic indicator turned on and off by the transistor. The base of the transistor is connected to the SPK pin of the MISC header. Logic level `` ( or.v DC) applied to the SPK pin, will activate the speaker. Figure. Implementation of acoustic indicator..potentiometer The board is equipped with two potentiometers, allowing for simulation of the analog circuit outputs. The potentiometer enables the adjustmet of voltage in the range 0-. The potentiometer output is accessible on ADJ pin of the MISC connector. Customer can choose a resistance of potentiometer during buying board.
Figure. Potentiometer..Sevensegment LED display The board is equipped with four -segment led display. They make an interface bettwen the system and the user, allowed to display up to four chars. Each led display has two anodes, seven segments and DP (digital point), which become active after applied to their pin logic level 0. Figure. Implementation of -segment LED..RS Interface There is a DB- connector on the board, connected with the ST state converter. On the other side of the converter there are pin connectors with converter circuit terminals, allowing to plug in to the processor... Real Time Clock DS0 The board has one real time clock with accumulator V teh board ca be also supply form accumulator). The clock communicates with the micro through the IC interface. All the connections needed for controlling the DS0 circuit are brought out to the Rtc pin header. The accumulator pin is also placed on the header... LCD display The board has one LCD display interface. The LCD connector has four data lines and two control lines: strobe line E and control line R/S. The dispaly R/W line is permanently connected to ground; all other lines are available at the pin header. The adjustmet of contrast id done by two way:
by potentiometr ADJ CONT which output pin ADJC must be then connected with LCD`s pin CONT. programmable,then LCD`s pin CONT must be connected to the processor..0. Potentiometer ADJ CONT There is a ADJ CONT potentiometer, which allows to control the contrast on LCD. Then output pin ADJC must be connected with LCD`s pin CONT... V potentiometer. The board is equipped with one potentiometer, alowing to regulate voltage between., V ( even if V jumper is closed)... -Wire connector Allows to connect an external devices using an -wire interface... IC connector Allows to connect an external devices using an -wire interface... JTAG connector This interface is useful as a mechanism for debugging embedded systems, providing a convenient "back door" into the system... Thermometer LM Thermometer LM allows to measure an environment`s temperature and display it on seven-segment LEDs or on LCD display.
.Header and connectors..procesor and pheripherals connectors Procesor`s pins description Vproc- procesor voltage supply ground RST reset XT- clock input XT- clock output RST,XT,XT when not connected, may be used as signal pins PA0...PA procesor`s port A PB0...PB procesor`s port B PC0...PC procesor`s port C PD0...PD procesor`s port D PE0...PE procesor`s port E Figure. Procesor connector -segment LED pins A0...A anodes supply A,B,C,D,E,F,DP segments supply (description on the board) Figure.Sevensegment LED`s connector
Figure. MISC connector MISC pins RxD, TXD RS signals SPK speaker ADJ0 potentiometer`s pin ADJ potentiometer`s pin REL relay control pin REL relay control pin VBAT pin with accumulator`s voltage ground WIRE -Wire output pin FT real time clock operation correction line SDA IC real time clock interface data line SCL IC real time clock interface clock line LED diodes pins LD0... diodes Switches pins SW0... micro-switches Figure 0.Diodes and switches..lcd display connector LCD ADJC ADJ CONT potentiometer pin CONT contrast line LCD R/S control line LCD data/order E strobe line LCD D,D,D,D LCD data lines Figure 0. LCD connector..relay connector NO normally open NC normally closed CON common Figure. Relay connector. 0
.. Programmer`s (ISP) connector ground voltage supply PB data input line MISO PB programmator`s clock line SCK reset LED line connected with diode LED. During proggraming the diode is lighting. PB programator`s output data line MOSI Figure. ISP programmer`s connector.. JTAG connector PC TDI line (Test Data In) PC TDO line (Test Data Out) PC TMS line (Test Mode Select) PC TCK line (Test Clock) RST Reset line voltage supply ground
.. Jumpers, supply LED and reset. Jumper name Jumper SUPPLY Function Shorted, regulated voltage (V) is provided from local power circuitry, open voltage comes from the external power supply. Jumper V jumper shorted power is.v, open V. Jumper Jumpers XT i XT when is closed, allowed to causes hardware reset allow to choose the source of the processor`s clock signal. When it is quartz-controlled, both jumpers should be disconnected. Shorted allowes for the external clock to the processor.. Jumper LOAD shorted causes loading an accumulator V. Jumper BACKUP ISP LED POWER led shorted causes that all board is supplied from accumulator V is lighting during the prorammator work. power LED indicator. pressing this button causes hardware reset.. Demo programs. LCD.c demo of LCD display, there is a moving sign on the display saying "EVBavr0" TERMOMETR.c temperature measurement in [C], the result is displayed on LCD LED.c demo of LEDs, four functions chosen from the keyboard, each one causes a different light effect on the diodes. SEGLED.c demo of -segment LED displays
. Available versions. The EVBavr0 evaluation board includes: Connector for ATmega or ATmega and processor ATmega All connectors four -segment LEDs leds and switches two potentiometers two relays speaker external Flash memory RS interface Wire and Two-wire connector LM thermometer Real time clock DS0 and.v accumulator There are also additionally accesories: LCD display (blue, green (with lighting or without)) 0 cables (to connect the pins) External clock ISPcableI or ISPcableII programmator
0. Schematic A B C D D C B A XTAL XTAL AVCC 0 A AREF VCC 0 PC0 PC PC PC PC PC PC PC PD0/RXD PD/TXD PD/INT0 PD/INT PD/OCB PD/OCA PD/ICP 0 PD/OC PB0/T0 PB/T PB/AIN0 PB/AIN PB/SS PB/MOSI PB/MISO PB/SCK PA0/ADC0 0 PA/ADC PA/ADC PA/ADC PA/ADC PA/ADC PA/ADC PA/ADC U AT0S///// ADC0 ADC ADC ADC ADC ADC ADC ADC PC PC0 PC PC PC PC AREF Vproc PD PD0 PD PD PD PD PD PD PB PB0 PB PB PB AVCC OSC OSC MISO MOSI CLK R k BUZ Q BC BUZ BUZER Vout VCC U LM R C u TEM ADJ OUT IN REG LM R 00 + C u + C 0u/V C 00n SWH_ SUPPLY SW POWER JP_S VCC_IN POWER LED R k C 00n B BRIDGE + C 0n + C 0n + C 0n + C 0n + C 00n C+ V+ C- C+ C- V- Tout Rin Rout Tin 0 Tin Rout Rin Tout VCC U ST JP0 RS C TxD RxD R k REL REL_ REL_ REL_ Q BC RL RELAY D POT TEM BUZ REL 0 JP ISP MOSI CLK MISO 0 JTAG PC PC PC PC PB0 PB MISO PB MOSI PB CLK PB ADC ADC0 ADC ADC ADC ADC ADC ADC AVCC AREF PC OSC OSC PC PC Vproc PD PD PD PD PC0 PC PC PD 0 0 0 0 JP up PD0 PD PD XTAL Vss Vbat OSCO OSCI Vcc FT/OUT SCL SDA U DS0 Y.kHz R.k R.k R.k BT AKUV FT SCL SDA C 00n VBAT SDA FT SCL R k REL REL_ REL_ REL_ Q BC RL RELAY D ISP LED R 0 RST C 00n R k XTAL XTAL XTAL REL_ REL_ REL_ JP REL Vproc SO VCC WP CS SCK SI D FLASH ATDB SO WP SI SCK CS SO SCK SI WP CS 0 0 LED_SEG D LED 0 0 LED_SEG D LED 0 0 LED_SEG D LED 0 0 LED_SEG D LED0 Q BC Q BC Q BC Q BC R k R k R k R0 k A0 A A A G F A B E D C DP G F A B E D C DP G F A B E D C DP G F A B E D C DP VBAT R 00 D SM D SM JP0 REL_ REL_ REL_ JP REL POT REL R POT POT C p C0 p C 00n R 0k JP JP X MHz JP XTAL XTAL D LD0 D LD R k R k D LD R0 k D LD R k L0 L L L D0 LD D LD R k R k D LD R k D LD R k L L L L L0 L L L JP LEDx L L L L S SW S SW S SW0 R 0k R 0k R 0k S SW R0 0k K0 K K K S SW R 0k K S SW R 0k K S SW R 0k K S SW R 0k K K K K K0 JP SWx K K K K D D D D D 0 D D D0 E R/W R/S KONTR Vcc JP LCD X (optional) R CONT Q BC R k R k C 00n A0 A A A G F A B E D C DP R 0 R 0 R 0 R 0 R 0 R 0 R 0 R 0 R POT POT R 00R R0 k JP -WIRE WIRE WI RE R 0 SWH_ V R POTV R JRST R 00 R 00 R0 00 R 00 R 00 R 00 R 00 R 00 R 00 R 00 R 00 R 00 Backup D FLASH R 0k R0 0k C 00n L 0u Vproc AVCC JP AREF R AREF 0 JP SEG R 0k PC PC0 R0 k R k JP IC JSDA JSCL 0 JP LCD PD0 PD PD PD PD PD R k JP FLASH 0 JP MISC TxD RxD of.00 http://www.propox.com email: support@propox.com Size: File: Rev: Date: -0-00 Title: EVBavr0 (AVR Evaluation Borard) Error : LogoFINAL_many.bmp file not found. CON CON