EVavr0 evaluation board for VR microcontrollers Tmega and Tmega//. REV.0 User`s manual Evalu ation oard s for, VR, ST, PI microcontrollers Sta- rter Kits Embedded Web Serve rs Prototyping oards Minimodules for microcontrollers, etherdesigning Evaluation oards for net controllers, RFI High Spe- ed In System programmers for VR, PI, ST microcontrollers Microprocesor systems, P, VR, ST, PI microcontrollers Starter Kits Embedded Web Servers Prototyping oards mi- nimodules for microcontrollers, ethernet controllers, RFI High Speed In Systems programme- rs for VR, PI, ST microcontrlollers Microprocesor systems, P designing Evaluation o- ards for `, VR, ST, PI microcontrollers Starter Kits Embe- dded Web Serwers Prototyping oards Minimodules for microcontrollercontrollers, ethernet controllers, High Speed In System program- mers for VR, PI, ST microco- Microprocesor R Many ideas one solution Systems, P esigning Evaluation oards
. Introduction EVavr0 is a development board designer for the hobbyist and engineers who want to quickly prototype their system based on VR microcontrollers from tmel. eveloper has access to all pins of the micro, which are brought to the header (pin connectors) and labeled accordingly. epending upon the board`s configuration (listed versions) some or all of the following components are found on the board: thermometer, potentiometer, relay, buzzer, RT (real time clock), four seven-segment LE and L 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 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 EVavr0.
. ard layout.. Prototype area.. dditional components connector.. LE`s and micro-switches. Potentiometers. Thermometer LM. RESET switch. ccumulator V.. uzzer. Programmer header.. Power ON/OFF switch.. Input power jack (/).. Relay`s header.. RS port. I interface port. -Wire port. Processor, led out and doubled processor ports.. Real Time lock S.. LM voltage regulator.. L display (optional). 0. -segment LE.
. Supported processors Tmega Tmega// FLSH K // K SRM K /K/K EEPROM // Periphery Two -bit Timer/ounters with Separate Prescaler, one ompare Mode One -bit Timer/ounter with Separate Prescaler, ompare Mode, and apture Mode Real Time ounter with Separate Oscillator Three PWM hannels -channel in PIP package Eight hannels -bit ccuracy yte-oriented Two-wire Serial Interface Programmable Serial USRT Master/Slave SPI Serial Interface Programmable Watchdog Timer with Separate On-chip Oscillator On-chip nalog omparator Two -bit Timer/ounters with Separate Prescaler, one ompare Mode One -bit Timer/ounter with Separate Prescaler, ompare Mode, and apture Mode Real Time ounter with Separate Oscillator six PWM hannels -channel in PIP package Eight hannels -bit ccuracy yte-oriented Two-wire Serial Interface Programmable Serial USRT Master/Slave SPI Serial Interface Programmable Watchdog Timer with Separate On-chip Oscillator On-chip nalog Komparator Five sleep modes Supply voltage.v.v ver.l.v.v ver.. -.V @TmegaV/V/V,. -.V @tmega// lock frequency 0- MHz ver.l 0- MHz ver. Tmega/ / TmegaV/V/ V 0 - MHz @.-.V 0-0 MHz @.-. V 0 - MHz @.-.V 0- MHz @.-. V Temperature range -0 + ases -pin PIP
. Power supply for board Recommended external power supply voltage is -V, or -V. 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 (no jumper on V header). y placing a jumper V, becomes. V 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.. LEs The board has LE 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. LE 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 cces to the relay circuitry consist of the REL pin of the MIS header and pins: N,NO,OM of the relay header. REL pin is indirectly connected to the base of the transistor. Logic level ( or.v ) applied to the REL pin, will activate the relay. External circuits can be controlled via N, NO, OM I/O pins. Figure. Relay schematic.. coustics 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 MIS header. Logic level `` ( or.v ) 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`s outputs are accessible on J and J pin of the MIS connector.
Figure. Potentiometer..Sevensegment LE 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 P (digital point), which become active after applied to their pin logic level 0. Figure. Implementation of -segment LE..RS Interface There is a - 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 lock S 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 I interface. ll the connections needed for controlling the S circuit are brought out to the Rtc pin header. The accumulator pin is also placed on the header... L display The board has one L display interface. The L 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 J ONT which output pin J must be then connected with L`s pin ONT. programmable,then L`s pin ONT must be connected to the processor... Potentiometer J ONT There is a J ONT potentiometer, which allows to control the contrast on L. Then output pin J must be connected with L`s pin ONT... V potentiometer. The board is equipped with one potentiometer, alowing to regulate voltage between., V ( even if V jumper is closed)... -Wire connector llows to connect an external devices using an -wire interface... I connector llows to connect an external devices using an I interface... Thermometer LM. llows to measure environment`s temperature and show it i.e. on seven-segment`s LE or L`s display.header and connectors..procesor and pheripherals connectors Procesor`s pins description Vproc- procesor voltage supply GN ground RST reset XT- clock input XT- clock output RST,XT,XT when not connected, may be used as signal pins P0...P procesor`s port P0...P procesor`s port P0...P procesor`s port P0...P procesor`s port PE0...PE procesor`s port E Figure. Procesor connector
-segment LE pins 0... anodes supply,,,,e,f,p segments supply (description on the board) Figure.Sevensegment LE`s connector Figure. MIS connector MIS pins Rx, Tx RS signals SPK speaker J0 potentiometer`s pin J potentiometer`s pin REL relay control pin VT accumulator`s pin FT real time clock operation correction line S I real time clock interface data line SL I real time clock interface clock line LE diodes pins L0... diodes Switches pins SW0... micro-switches Figure 0.iodes and switches..l display connector L J J ONT potentiometer pin ONT contrast line L R/S control line L data/order E strobe line L,,, L data lines Figure. L connector
..Relay connector NO normally open N normally closed ON common Figure. Relay connector... Programmer`s connector GN ground voltage supply P data input line MISO P programmator`s clock line SK RESET reset LE line connected with diode LE. uring proggraming the diode is lighting. P programator`s output data line MOSI Figure. ISP programmer`s connector.. Jumpers, supply LE 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 RESET 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 LO shorted causes loading an accumulator V. Jumper KUP ISP LE POWER led RESET shorted causes that all board is supplied from accumulator V is lighting during the prorammator work. power LE indicator. pressing this button causes hardware reset.
. emo programs. L.c demo of L display, there is a moving sign on the display saying "EVavr0" TERMOMETR.c temperature measurement in [], the result is displayed on L RT.c demo of real time clock, the program displays the current date in the form: hour : min : day : month : year. The update of the clock settings using the keyboard. Microcontroller's port lines should be connected with the appropriate lines SL and SL in circuit S led to pin connectors. LE.c demo of LEs, four functions chosen from the keyboard, each one causes a different light effect on the diodes. SEGLE.c demo of -segment LE displays. vailable version. The EVavr0 evaluation board includes: Tmega processor (can be change) ll connectors four -segment LEs leds and switches two potentiometers relay speaker LM thermometer Real time clock S and.v accumulator There are also additionally accesories: L display (blue, green (with lighting or without)) cables (to connect the pins) External clock ISPcableI or ISPcableII programmator
+ +. Schematic PROESSOR GN 0n U RESET RESET P/ P0 P0/RX P/ P P/TX P/ P P/INT0 P/ P P/INT P/ P P/T0 P0/0 Vproc V GN GN GN REF V XTL XTL XTL XTL P/SK P P/T P/MISO P P/IN0 P/MOSI P P/IN P/SS P0 P0/IP P/O Tmega 0 GN REF 0 V LK MISO MOSI P P REF R 0 JP GN RESET R k R JREF SPEKER Q R k SPK POWER R0 k LE THERMOMETER U LM V Vout GN GN R k JP L L R k JP GN GN Vcc KONTR R/S GN R/W E 0 L X (optional) Q ONNETORS JP L0 L L L L L L L LEx R R k k JSL JS GN 0n V L u Vproc SWH_ JRST RESET GN RESET 0n GN GN SPK R k R u GN GN TEM J k GN 0n GN R GN JP I XTL JP GN R k 0n GN p X MHz GN p JP JP XTL OSILLTOR - WIRE Vproc SWH_ SUPPLY + u GN GN 0n R 00 R VPOT R REG LM OUT J R IN LM J0 J RELY 0n GN GN + 0u/V GN RIGE SW SW SPST JP_S V_IN GN R J0 GN R J GN Q REL REL R k R k REL RL RELY REL ISP RESET LK MISO JP R 0 MOSI R 0 R 0 ISP R0 0 JP SW0 SW SW SW SW SW SW SW SWx GN WIRE R0 k JP SWH_ V GN J J JP R 0R GN -WIRE SWITH GN -SEGMENT LE RESET P0 P P P P Vproc GN XTL XTL P P P P0 0 0 GN REF V LK MISO MOSI P P up R k R k R k R k R k R k R k R k 0 R0 k Q R k Q R k Q R k Q JP R 0 SW0 SW0 R 0 SW SW GN GN GN R 0 SW SW GN R 0 SW SW GN R 0 SW SW GN R 0 SW SW GN R 0 SW SW GN R 0 SW SW G F E P LE_SEG LE0 G F E P LE_SEG LE G F E P LE_SEG LE G F E P LE_SEG LE Rx SPK TEM J SL S MIS JP REL REL REL REL Tx REL WIRE J FT VT LES R R R R R R R R k k k k k k k k L0 L L L L L L L LE LE LE LE LE LE LE LE L0 L L L L L L L 0n 0n + + GN GN 0n 0n RS U + V V+ GN - Tout + Rin - Rout V- Tin Tout Tin Rin Rout ST Tx Rx GN 0n GN GN + JP RS ackup SM JP SM R 00 VT Y.kHz T KUV GN GN RT U OSI Vcc OSO FT/OUT Vbat SL Vss S S 0n GN R.k R.k R.k FT SL S G E R 0 R 0 R0 0 R 0 JP 0 R F 0 R 0 SEG R 0 R P 0 http://www.propox.com Error : LogoFINL_many.bmp file not email: found. support@propox.com Title: EVavr0 (VR Evaluation orard) Size: File: Rev: ate: -0-00 of.00