Home
User Manual 2
Contents
1. AVR Playground User Manual Board Rev 2 1 Document Rev 2 1 Revision Date 01 06 2005 Copyright 2005 by Elektronik Atelier Kallen Ch 3075 R fenacht Switzerland www avrcard com About the Playground Board Contents REVISION e EE e c re rH 4 Web Site aa ca 4 elei tele MNT ERE 4 About the Playground Board 5 eet ei e KEE 5 Malar eSgtile5ioscct on phos iC OD ee ae ae OLI SM DUO EA ceo ene le res M 5 Additional Resources x so ieu otia uu sum mU id md hop mar etd 5 Getting started 6 YOUE PIESE SUODS te pia dt 6 Hardware Description 7 Functional Block RA teen apoco 7 Oliboard ODOLIS u anne 8 EXParision une e EE 9 Header EIERE oot Ebene emet br 9 Board Configuration 11 B ele E gin e ete m 11 AVRcard Core ModtlQu s odveob ia 12 BE POWEFSUBD Ya a een 13 Onboard Options 14 Ren cleielgu amd Keys 14 EasyRadio RF Transceiver Module EEN ENEE 15 BluetoothiModules ed br ee ae a e ae esse 16 Expansion Modules 17 elei gn uge e 17 MechanicalDalarss rincon rara o FRENCH E SI 19 Serial Busses 20 1 E2 ER EENE PPP O qr DRM M I 20 L2G Slave Adresses HEEN 21 SP RE 21 Circuit Diagrams 22 Connectors Pinout Summary 23 e RN EE 23 ugefall Re 25 Expansion Modules in Pav a o RO dU GR Oo a d CR PR OR En 25 Sel law Ee Ee e M MIC pha CL EU 26 DC TPOWelusedtds tama tede ioc D M dc Clu ipo Ee 26 References 27 PFOLUCE RETENC S cont dd etd ed LASS EI d Ex UN ELO alot dd eue IDEE 27 Other References cmd eL Me 27 ReVISIOM HISTORY x ERR 27
2. The RS 232 interface is disabled when this option is used Table 6 Port signals used for EasyRadio module Port Function I O Comments PD4 wo heo r Via R20 PEI Lamp Lol RSSI Via jumper J1 AVR Playground User Manual page 15 29 Rev 2 1 01 06 2005 www avrcard com Onboard Options Bluetooth Module Figure 12 Bluetooth option The Promi ESD class 1 Bluetooth module 8 is connected to serial port 1 and additional control lines through a 3V 5V level converter 74VHCO8 U8 This option comprises Promi ESD class 1 Bluetooth module 3 3V voltage regulator U12 with C4 C10 Level converter U8 R16 R17 R18 10 pin female header M5 Note To operate the Bluetooth module the serial port jumper RX1 select on the AVRcard must be removed RX2 select RX1 select TX2 select RS232 RS485 Note Either the EasyRadio or the Bluetooth module may be used at the same time as they share the serial port 1 The RS 232 interface is disabled when this option is used Table 7 Port signals used for Bluetooth module Port Function I O Commens ma CS ff Peo TXD LL JViaRIB FEI ap j O 9 J AVR Playground User Manual page 16 29 Rev 2 1 01 06 2005 www avrcard com Expansion Modules Expansion Modules Figure 13 Expansion Modules Locations AVRcard Core Module Veousoat F ala Jur E POWER E TEL 2 1211 E Module M1 _ Module M4 or A im i E
3. low bandwidth short distance protocol for on board communications All devices are connected through two wires serial data SDA and serial clock SCL Because all commnication takes place on only two wires all devices must have a unique address to identify it on the bus Slave devices have a predefined address but the lower bits of the address can be assigned to allow for multiples of the same devices on the bus I2C has a master slave protocol The master initiates the communication The sequence of events are 1 The master device issues a start condition This condition informs all the slave devices to listen on the serial data line for their respective address 2 The master device sends the address of the target slave device and a read write flag 3 The slave device with the matching address responds with an acknowledgment signal 4 Communication proceeds between the master and the slave on the data bus Both the master and slave can receive or transmit data depending on whether the communication is a read or write The transmitter sends 8 bits of data to the receiver which replies with a 1 bit acknowledgment 5 When the communication is complete the master issues a stop condition indicating that everything is done Regardless of how many slave units are attached to the I2C bus there are only two signals connected to all of them Consequently there is additional overhead because an addressing mechanism is required for t
4. or consequential damages arising out of the use or inability to use the product or documentation even if advised of the possibility of such damages This document contains proprietary information protected by copyright All rights are reserved No part of this manual may be reproduced by any mechanical electronic or other means in any form without prior written permission of the manufacturer All product names referenced herein are trademarks of their respective companies AVR Playground User Manual page 4 29 Rev 2 1 01 06 2005 www avrcard com About the Playground Board About the Playground Board The AVR Playground is a base board for the AVRcard Microcontroller Core Module It provides easy connection options and a number of additional features Application Main Features Additional Resources Development platform for AVR ATmega128 based solutions Education platform Platform for functional prototypes Plug in AVRcard with Atmega128 processor Plug in expansion modules on I2C and SPI bus Plug in EasyRadio RF transceiver module Plug in Class 1 Bluetooth module Plug in 16x3 character LCD on SPI bus 6 pushbuttons on I2C port expander Piezo speaker Voltage regulator allows for use of inexpensive power supply Standard RJ 45 connectors for both RS 232 and the RS 485 interfaces CPU ports routed to headers with STK500 compatible pinout Address bus demultiplexed 32Kbytes SRAM Euro card size 100 x 160mm Pro
5. duplex protocol which functions on a master slave paradigm that is ideally suited to data streaming applications Theory of Operation SPI requires four signals clock SCLK master output slave input MOSI master input slave output MISO slave select SS Three signals are shared by all devices on the SPI bus SCLK MOSI and MISO SCLK is generated by the master device and is used for synchronization MOSI and MISO are the data lines The direction of transfer is indicated by their names Data is always transferred in both directions in SPI but an SPI device interested in only transmitting data can choose to ignore the receive bytes Likewise a device only interested in the incoming bytes can transmit dummy bytes Each device has its own SS line The master pulls low on a slave s SS line to select a device for communication The exchange itself has no pre defined protocol This makes it ideal for data streaming applications Data can be transferred at high speed often into the range of the tens of megahertz The flipside is that there is no acknowledgment no flow control and the master may not even be aware of the slave s presence Modes Although there is no protocol the master and slave need to agree about the data frame for the exchange The data frame is described by two parameters clock polarity CPOL and clock phase CPHA Both parameters have two states which results in four possible combinations These combinations are shown in
6. the above table Benefits and SPI is a very simple communication protocol It does not have a specific high level Drawbacks protocol which means that there is almost no overhead Data can be shifted at very high rates in full duplex This makes it very simple and efficient in a single master single slave scenario Because each slave needs its own SS the number of traces required is n 3 where n is the number of SPI devices This means increased board complexity when the number of slaves is increased Part reference designator see schematic diagram in section Circuit Diagrams on page 22 AVR Playground User Manual page 21 29 Rev 2 1 01 06 2005 www avrcard com Circuit Diagrams Circuit Diagrams The diagrams on the following pages are also availabe in a separate document AVR Playground User Manual page 22 29 Rev 2 1 01 06 2005 www avrcard com Connectors Pinout Summary Connectors Pinout Summary CPU Ports X1 Table 9 Port A Connector Pinout I O Internal Connections Playground AVRcard 1 pao an vo U3 DQ ULID PAL ADI VO U3 D1 U24 2D_ 3 PA2 am IO U3 D2UZ 3D 4 PA3 aD UO U3 D3 UZ4D PA AD4 IO UX DA4UZ 5D 6 PA5 ad IO U3 D5 U2 6D 7 PA6 a6 UO U3XD6 U2 7D 8 PA7 AD7 IO U3 DZU2 D L9 GND AE A EE X3 Table 10 Port B Connector Pinout I O Internal Connections Playground AVRcard peeo MO
7. 1 2 AO 7 Al A3 A5 A7 VCC Figure 6 Expansion modules select signals SEL1 SEL3 SEL5 I 2 SEL2 SEL4 BEEPER SEL5 is connected to the CS signal of the on board LCD BEEPER is connected to the on board piezo speaker This speaker can be connected to any port to deliver audible signals Figure 7 Expansion modules interrupt signals INT1 INT3 INT5 1 2 INT2 INT4 INT6 INT5 is connected to the INT signal of the Ethernet module INT6 is connected to the INT signal of the on board I2C port expander used for the pushbutton switches AVR Playground User Manual Rev 2 1 01 06 2005 page 10 29 WWW avrcard com Jumper Settings Board Configuration Board Configuration Figure 8 Jumper locations Power to board Ext RAM enable RSSI to PF SerPort 1 TRACO B re POWER H SerPort2 SST ES E LRL Ext Pwr Enable _ gt aoe 00600 i Es GK i 000600 rays oo oo Om ub oococ Tid IE Bert EL Lr 00000000000000 E E Table 1 Jumper Settings bud nid SerPort1 TXD n TXD BE Pin 2 J15 SerPort2 Pin 3 ii RxD Pin 3 9 NN RXD For straight serial cable For crossover serial cable No power on pin 1 of X11 DC input power on pin 1 of X11 J9 Pwr Board not powered by on board 5V power applied to board voltage regulator J1 RSSI RSSI Ou
8. Bluetooth b ABI powo a a F i oo H jm o ki ate o E i sE 5 Hags i E ha 1 D 9 i 4 ME E LE E E o 5 9 Ol Gi re D Module mz o Module M3 or C IIM 7010 Host Interface Pinout of the Host Interface Header I2C Interface Two serial interfaces are supported by the modules SPI and I2C For modules with an onboard AVR controller the SPI is also used as a programming interface for the firmware The host controller is connected via an 10 pin header with 0 1 spacing Figure 14 Expansion module connector pinout 1 2 5V M ss SCK nos MISO 6 6 cw RES int SCL e O spa SCL Pin 9 Serial Clock line the signal used to synchronize communication between the master and the slave SDA Pin 10 Serial Data line the signal used to transfer data between the transmitter and the receiver Pull up Resistors There is a 2 7K resistor on each I2C line SCL SDA The lines are effectively pulled up to 5V so that results in approximately 1 8 mA of pull up current If the Playground is connected to an 12C bus that also includes pull up resisters the total pull up current could be up to a total of 3 mA The DC specification allows for a AVR Playground User Manual page 17 29 Rev 2 1 01 06 2005 www avrcard com SPI Interface Control Lines Expansion Modules maximum of 3 mA pull up current on each 12C line As long as downstream IC devices can sink mo
9. C power using a switching voltage regulator The battery is connected to X1 on the AVRcard As shown in Table 3 The on board power switch is inactive in this configuration The step up DC converter on the AVRcard is capable of delivering 250mA at 5V Please refer to 1 Note Make sure the jumper J9 is be left open in this configuration Table 3 Battery Connector Pinout Pin Function Descipion O 2 5V battery power input OV battery GND LOWBATT is pulled low if battery voltage drops below 1 3V In this default configuration an 7805 regulator is used to supply the 5V to the board It is fitted with a 15K W heatsink Power shall be applied through a EIAJ Standard JSAP3 plug to X8 Table 4 External Power Connector Pinout X8 The jumper J9 must be closed in order to route 5V supply to the board As an option a 2 Watt DC DC converter can be soldered in place of the linear regulator With this a wider input voltage range can be achieved A datasheet of a suitable DC converter can be found in 7 Power shall be applied through a EIAJ Standard JSAP3 plug to X8 as shown above The jumper J9 must be closed in order to route 5V supply to the board AVR Playground User Manual page 13 29 Rev 2 1 01 06 2005 www avrcard com Onboard Options Onboard Options LCD Module and Keys Figure 10 LCD and keys option This option comprises the following components CD mod
10. COMLACE AAA S M Sale MA AA EE 28 Notice to Users 29 AVR Playground User Manual page 2 29 Rev 2 1 01 06 2005 www avrcard com About the Playground Board Figures Figure L Functional Block Diagram EE 7 Figure 2 Hardware Layout and Placement 8 Figure 3 Pin 1 Position on I O Port Headers ENEE EEN EEN EEN NN 9 Figure 3 General Pinout of I O Port Headere nennen nnn 9 Figure 4d A0 7 Connector lee EE 10 Figure 5 Expansion modules select signals eeeeeeeeeeeeeee eee eee 10 Figure 6 Expansion modules interrupt signals seeseeeerrnnn nnn 10 Figure 7 Jumper OCACIONES 11 lait RESET Dil exce el ee ee 12 Figure 9 e ECD and Keys ODO Mess 14 Figure AE e re OPTION ME 15 Figure LT Bluetooth Option WEE 16 Figure 12 Expansion Modules Locations ENEE eren nnn nn nnn 17 Figure 13 Expansion module connector pinout c ccc eceeee cece eee eeeeeeeeeeeeeees 17 Figure 14 Mechanical dimensions of expansion modules sss 19 Figure 13 Expansion module connector pinout cece eee cece cece eeeee eee nnn 25 Tables Ttable 1 JUIMper S Stung KEEN 11 Table 2 AVReard Connector ia 12 Table 3 Battery Connector Pinout ENEE 13 Table 4 External Power Connector Pinout NB 13 Table 5 Port signals used for LCD module eeeeeerrnnnnn nmn 14 Table 5 Port signals used for EasyRadio module cce 15 Table 6 Port s
11. ayground separately from the AVRcard core module insert the AVRcard See instructions on page 12 3 If you want to add on board options please refer to Section Onboard Options from page 14 in this manual 4 If you want to add expansion modules please refer to Section Expansion Modules from page 17 in this manual and to the respective module datasheet 5 Connect serial cable on X10 Serial port 1 and to an available COM port on the PC Start a terminal program use the communications parameters 9600bps 8 databits 1 stopbit no parity no handshake 6 Connect the power cable to a DC power supply of 9 12V Operation 1 Switch on power The red LED D1 will lit 2 Onthe terminal appears the welcome message of the AVRcard monitor Refer to 1 for a description of the available monitor commands and features AVR Playground User Manual page 6 29 Rev 2 1 01 06 2005 www avrcard com Hardware Description Hardware Description Functional Block Diagram Figure 1 Functional Block Diagram Programming Debug Interface Interface AVRcard Core Module Connectivity SerPort1 Figure 2 shows the baseboard and its different functional areas These areas are detailed in the following sections AVR Playground User Manual page 7 29 Rev 2 1 01 06 2005 www avrcard com AVRcard slot TCP IP Module RS 232 connectors Power supply Reset External SRAM Onboard options LCD and Pushbutton keys Hardware Des
12. bly expected to result in significant injury No complex software or hardware system is perfect Bugs are always present in a system of any size In order to prevent danger to life or property it is the responsibility of the system designer to incorporate redundant protective mechanisms appropriate to the risk involved All AVRcard products are 100 percent functionally tested Additional testing may include visual quality control inspections Specifications are based on characterization of tested sample units rather than testing over temperature and voltage of each unit AVRcard products may qualify components to operate within a range of parameters that is different from the manufacturer s recommended range AVR Playground User Manual page 29 29 Rev 2 1 01 06 2005 www avrcard com
13. cription Figure 2 Hardware Layout and Placement A Q Le Fee TE 8 TRACO y POWER a mami de m E c s WEE y 7 1 AED BET DEE SA i oo T F mr 7 CG e o d T j e o DOGO uU Lr ara E etg da de L 000 fi i d E d Fl sd Lei DODOC 6 5 o x e l a i D i 9 a a io a o DHDHO OHIO Part A 00000000000000 E E L LEI i 478 OD DH ib oo Dod hi Port E E Two 32 pin headers connect to power and ports A 1 pin header connects to the CPU reset signal as there is no reset signal on the standard connectors of the AVRcard The reset signal is used in conjunction with the TCP IP module and the expansion modules This slot receives the IIM7010 Ethernet module Two RJ 45 connectors are provided for easy connection to the two RS 232 interfaces of the AVRcard Pin assignment of each connector can be configured by jumpers J13 J15 The second RJ 45 connector also carries the RS 485 signals and the DC input voltage of the board This voltage is enabled by Jumper J2 and can be used to remotely power RS 485 nodes A standard 7805 voltage regulator is provided for the 5V supply Alternatively a 2 Watt DC DC converter can be used to provide an increased DC input voltage range e g 9 18V 18 36V DC power is applied through the power jack J8 A diode protects the circuit against false polarity For the Ethernet Modul
14. duct Information All updated product information can be retrieved at the product web site www avrcard com Application Support Please check the Resources pages regularly at www avrcard com for design notes and application hints Further support is available by email from support avrcard com Custom Designs Custom population or customized versions of the product are available For inquiries please contact info avrcard com AVR Playground User Manual page 5 29 Rev 2 1 01 06 2005 www avrcard com Your First Steps Prerequisites for Operation Installation Getting started Getting started The following hardware items are necessary to run the Playground board A standard PC equipped with Linux or Windows 95 98 NT 2000 and an available serial COM port Terminal emulation software such as Hyperterminal An unregulated power supply matching your local mains It should supply DC 8 16V 200 mA minimum on a a EIAJ Standard JSAP3 connector Remove the board from the antistatic bag Visually inspect the board to verify that it was not damaged during shipment WARNING As with all computer equipment the Playground board may be severely damaged by electrostatic discharge ESD Be sure to take proper precautions before removing the Playground board from the anti static bag 1 Set jumpers according to the application s requirement Refer to Board Configuration on page 11 for details 2 If you purchased the Pl
15. e a separate 3 3V regulator is used A second 3 3V regulator is used for the Bluetooth module The Reset signal is routed from the AVRcard core module to the Playground baseboard via a one pin header that connects to the bottom of the ISP header on the AVRcard For the IIM7010A Ethernet adapter the reset signal is also inverted by U11 74HC04 The active low reset is distributed to all expansion modules and the Bluetooth module The Playground contains a footprint for a 28 pin DIP socket U3 where an external SRAM device can be mounted Make sure the SRAM device has the same voltage range as the rest of the design A small alphanumeric LCD 3 lines 16 characters can be mounted across the lower expansion module area J25 The connector pinout is designed for the EA DOG M module from Electronic Assembly It is connected to the SPI bus A PCF8574 I2C port expander allows for the connection of 6 pushbuttons and 2 LEDs AVR Playground User Manual page 8 29 Rev 2 1 01 06 2005 www avrcard com Hardware Description Please refer to chapter LCD Module and Keys on page 14 for further details on this option EasyRadio RF An EasyRadio RF transceiver module can be connected to serial port 1 An antenna module connector is also provided on the Playground board Please refer to chapter EasyRadio RF Transceiver Module on page 15 for further details on this option Bluetooth Module A class 1 bluetooth module with a serial channel pro
16. e 14 Port F Connector Pinout I O Internal Connections Playground AVRcard 1 PF0 ADOO YO 2 LPL ap VO 0 3 PF2 JAD2 VO s 4 P3 Janes VO 5 PEA ADCA TCK WO E PF5 ADC TMS vof van we labeymo yo er 8 PF7 ADC7TDI LO Ui3 RSSIviaJ X3 4 GND POR AAA A 19 vec Jo PRP AVR Playground User Manual page 24 29 Rev 2 1 01 06 2005 www avrcard com Connectors Pinout Summary Address Lines X20 Table 15 AO 7 Connector Pinout Pin Function Alt Function I O Internal Connections i1 A0 VO UXAQU ZiIQ 2 JA NO UXYA UZ2Q 80 0 PS vo uau yo U3 A3 U2 4Q 4 L5 44 po us UxSQ 6 jas 8 5 U2 6QE 7 fas T yo uym uzo 8 A7 YO US3AZU2 Q O 9 enn PWR o 10 vece PR Expansion Modules The Slave Select SS signals of the expansion modules are routed to X17 Table 16 SPI Select Lines X17 No Funcion 6 Beeper Interrupt outputs of expansion modules are routed to X18 Table 17 Interrupt Lines X18 No Function 6 INT PCF8574 Keyboard Table 18 Expansion Module Connectors M1 General Promi ESD Bluetooth to serial adapter M5 Ethernet U9 Figure 16 Ex
17. et Module IIM7010A http www iinchip com Electronic Assembly DOG M LCD Modules http www lcd module de eng dog dog htm Low Power Radio Solutions Ltd EasyRadio Transceiver www lprs co uk Initium Promi ESD Bluetooth module http www initium co kr english promi esd html Traco Electronic AG DC DC Converter http www tracopower com products tel2 pdf I2C bus Philips Semiconductors Official I2C website http www semiconductors philips com buses i2c I2C Open Directory Project Listing http dmoz org Computers Hardware Buses I2C SPI Serial Peripheral Interface http www mct net fag spi html Rev 2 1 Date 01 06 2005 Initial Revision for Rev 2 Playground AVR Playground User Manual Rev 2 1 01 06 2005 page 27 29 www avrcard com Contact Elektronik Atelier Kallen Steinackerweg 14 CH 3075 R fenacht Switzerland WWW avrcard com info avrcard com Phone 41 31 832 1441 Fax 41 31 832 1442 AVR Playground User Manual Rev 2 1 01 06 2005 References page 28 29 www avrcard com Notice to Users Notice to Users AVRcard products are not authorized for use as critical components in life support devices or systems Life support devices or systems are devices or systems intended for surgical implantation into the body or to sustain life and whose failure to perform when properly used in accordance with instructions for use provided in the labeling and user s manual can be reasona
18. file can be connected to serial port 1 Please refer to chapter Bluetooth Module on page 16 for further details on this option Expansion modules The AVR Playground provides 4 slots for additional minimodules These small form factor modules connect via the TWI or the SPI interface and provide specific connectivity and i o functions For more details refer to Section Expansion Modules on page 17 Header Connectors All CPU ports and some additional signals can be connected by standard 0 1 headers Pin 1 of each header has a square pad Figure 3 Pin 1 Position on I O Port Headers t ag SCH T it UM TO e HEEL HE ORE Fef eTa a agnam g Pin D Port Connectors The pinout for the I O port headers is explained in Figure 4 It is compatible to Atmel s STK500 port headers Figure 4 General Pinout of I O Port Headers 1 2 Po B pxi Px2 Ps Px4 Ps Px6 00 Px7 GND GO vcc PORTx AO 7 Connector The connector X20 marked A0 7 contains the 8 least significant bits of the external address bus The purpose of the connector is to provide easy access to the address bus The 8 most significant bits can be found on the Port C connector X4 AVR Playground User Manual page 9 29 Rev 2 1 01 06 2005 www avrcard com Expansion module select signals Expansion module interrupt signals Hardware Description Figure 5 AO 7 Connector Pinout AO A2 A4 A6 GND
19. he master device to communicate with a specific slave device I2C has many features other important features worth mentioning It supports multiple data speeds standard 100 kbps fast 400 kbps and high speed 3 4 Mbps communications Other features include Built in collision detection 10 bit Addressing Multi master support Data broadcast general call For more information about other features look at the references at the end of this section Since only two wires are required I2C is well suited for boards with many devices Drawbacks connected on the bus This helps reduce the cost and complexity of the circuit as additional devices are added to the system Due to the presence of only two wires there is additional complexity in handling the overhead of addressing and acknowledgments AVR Playground User Manual page 20 29 Rev 2 1 01 06 2005 www avrcard com Serial Busses I2C Slave Adresses The following devices are connected to the TWI bus The Atmega128 is configured as master the other devices are slaves Note that the addresses below contain the R W bit Table 8 I2C addresses Slave address Address Device Funcion Jet assignments FeRAM Nonvolatile RAM on AVRcard I Realtime clock on AVRcard p Port expander Pushbutton keys LEDs IIM7010A Module TCP IP over Ethernet connectivity SPI History SPI is a serial communication bus developed by Motorola It is a full
20. ignals used for Bluetooth module ssssssssssssrsrrrrnrssrsrrnrerrsrrnns 16 Table 7 T2C addresses na did dito e s d Date etia bus ae ced 21 Table 8 Port A Connector PINOUE secun Eta Xaov uc sf cu A 23 Tabl 9 Port B Connector PINOUE sa 23 Table EH Port C Connector PINOUE rinda ead ee 23 Table 11 PortD Connector PIDOHE zer es Pate ty an oe RAE Bl e Eme a e e Pa ea 24 Table T2 Port E Connector PINOUT cive edv ou eX u FC E DE IO ER YS a CES 24 Table 3 Port F Cohnector PHOUE AA ee 24 Table 14 A40 Connector PIDOUE rada SE Cert d eh 25 Table 5 SPI Select Eines XT EE 25 Table 16 Interrupt Lines XIS a NEE EE EES 25 Table 17 Expansion Module Connectors ENEE 25 Table 18 Serial Port 1 Connector Pinout X10 esee mmm 26 Table 19 Serial Port 2 Connector Pinout XIII ENEE 26 Table 20 DC Power Connector Pinout X8 cseeeeeeseeee nnn nnn 26 AVR Playground User Manual page 3 29 Rev 2 1 01 06 2005 www avrcard com About the Playground Board Revision History The revision history is shown in Section References on page 27 Web Site Copyright This manual can also be found on the website www avrcard com Information in this document is subject to change without prior notice in order to improve reliability design and function and does not represent a commitment on the part of the manufacturer In no event will the manufacturer be liable for direct indirect special incidental
21. pansion module connector pinout 1 2 5V LU cs SCK nos miso cw RES GO int SCL e O spa AVR Playground User Manual page 25 29 Rev 2 1 01 06 2005 www avrcard com Serial Ports DC Power Connectors Pinout Summary Table 19 Serial Port 1 Connector Pinout X10 Pin functions are selected by jumpers J13 Table 20 Serial Port 2 Connector Pinout X11 1 Vin activatedbyJ2 Pin functions are selected by jumpers J15 Note Either RS 232 or RS 485 is available on this port according to jumper setting on the AVRcard core module Table 21 DC Power Connector Pinout X8 Pin Function Plug type EIAJ Standard JSAP3 AVR Playground User Manual page 26 29 Rev 2 1 01 06 2005 www avrcard com Product References 1 2 3 4 5 6 7 8 9 Other References 10 11 12 Revision History References References Elektronik Atelier Kallen AVRcard Core Module Datasheet http www avrcard com Documents avrcard avrcard manual 1 1a pdf Elektronik Atelier Kallen AVRcard Monitor http www avrcard com design monitor htm Atmel Corp ATmega128 Microcontroller product page http www atmel com dyn products product card asp part id 2018 Philips Semiconductors PCF8574 I2C port expander product page http www semiconductors philips com cgi bin pldb pip pcf8574 Wiznet Co Inc Ethern
22. re than 5 mA of current the protocol should operate properly SCK Pin 3 Serial Clock control line that is driven by the master and regulates the flow of the data bits MOSI Pin 4 Master Out Slave In this data line supplies output data from the master which is shifted into the slave MISO Pin 5 Master In Slave Out this data line supplies the output data from the slave to the input of the master SS Pin 2 Slave Select control line that allows slaves to be turned on and off via hardware control When the SPI interface is activated as a master the slave select line SS will actively driven low by the appropriate firmware driver The MOSI and SCK lines are driven as appropriate for the SPI mode After the master transmission is complete these lines shall be returned to a high impedance state in order for the Playground to be then reconnected to another SPI environment as a slave Consequently any SPI slave target to which the Playground is interfaced must have a pull up resistor on its slave select line preventing fluttering of the voltage when the Playground stops driving the signal It is also advisable that every slave also have passive pull ups on the MOSI and SCK lines These pull up resistors can be relatively weak 100k should be adequate As a slave the MOSI SCK and SS lines are configured as an input and the MISO line is configured as an output RES Pin 7 On the Playground this pin is connected to
23. s 3 e2 mos yo uem mi mz m3 ma 4 PB3 wen UO m M2 M3 M4 5 PB4 foco uo ves J o 6 PB5 Loos yo ess ete QUO o Y 0 73 e BB oo Yol cl 9 GND wR 10 vcc wR X4 Table 11 Port C Connector Pinout I O Internal Connections Playground AVRcard eco AB MO E Pci Lag uo US AO 2 Xe 12 lee an uewen Ten 4 res Aii vo uy id GI 6 PC A13 VO UXAI3 X64 8 PC7 wus ug U3 CSviaJ4 RS 485EN 9 GND PWR 10 jVCC PR AVR Playground User Manual page 23 29 Rev 2 1 01 06 2005 www avrcard com Connectors Pinout Summary X22 Table 12 Port D Connector Pinout I O Internal Connections Playground AVRcard INTO SCL I O U9 SCL U14 SCL FRAM RTC INT1 SDA I O U9 SDA U14 SDA FRAM RTC 3 PD2 INT2 RXD1 I O RS 232 RS 485 INT3 TXD1 I O RS 232 EE 485 5 PD4 c yo M5 CTS U13 RTs co L 7 PDS TL MO Men j 38 3 EDT T2 MO M D R po gt gt 9 GND PWR 30 vcc i PR X6 Table 13 Port E Connector Pinout I O Internal Connections Playground AVRcard 1 PEO RXD I O M5 TXD U13 RXD X2 4 RS 232 M5 RXD U14 TXD X2 1 er a L 8 PE2 Ace E SE EE EE EE JjHNTS Occ AH pe ne a ooo ooo 8 PE7 IN7 oP 9 GND 563 PWR Lao vee E R 0 0 0 0 0 0 0 LL X7 Tabl
24. the CPU reset line which is a push pull output Consequently the reset line of all modules are activated at the same time on power up or manual reset INT Pin 8 This pin is routed to X18 from where it can be jumpered to one of the external interrupt inputs of the ATmega128 INT4 7 on X6 AVR Playground User Manual page 18 29 Rev 2 1 01 06 2005 www avrcard com Expansion Modules Mechanical Data Figure 15 Mechanical dimensions of expansion modules Application connector O O O O O 1675 y 1725 a 1850 m gt Dimensions mil Mounting holes 3 2mm diameter Mounting holes on application connector side are connected to ground of module Mounting holes on host interface side are isolated Top view components side AVR Playground User Manual page 19 29 Rev 2 1 01 06 2005 www avrcard com I2C History Theory of Operation Features Benefits and Serial Busses Serial Busses When connecting multiple devices to a microcontroller the address and data lines of each devices were conventionally connected individually This would take up precious pins on the microcontroller result in a lot of traces on the PCB and require more components to connect everything together This made these systems expensive to produce and susceptible to interference and noise To solve this problem Philips developed Inter IC bus or I2C in the 1980s 12C is a
25. tput of EasyRadio N C module connected to ADC7 XRAM CS of SRAM connected to A15 CS of SRAM pulled high The RXD and TXD signals can be interchanged on each of the RJ45 connectors as shown in the table Jumpers are standard 0 1 Note The SRAM is disabled by default To enable SRAM support put a jumper on J14 The SRAM occupies the memory space from 1000 7FFF Please note that on the AVRcard core module A15 PC7 is also used as an enable signal for the RS 485 driver AVR Playground User Manual page 11 29 Rev 2 1 01 06 2005 www avrcard com Board Configuration AVRcard Core Module To fit the AVRcard core module you must solder the following 0 1 headers face down to the AVRcard Table 2 AVRcard Connectors Connector Pincount Fitsto Description Z o Z o CPU ports CPU ports RS 232 RS 485 The Reset signal is taken from the ISP header X2 pin 5 The pin is pushed a few millimeters to the bottom of the board Figure 9 Reset pin AVR Playground User Manual page 12 29 Rev 2 1 01 06 2005 www avrcard com Board Configuration DC Power Supply Battery Operation External Power Linear Regulator External Power Switching Regulator The complete logic of the Playground board is driven by a single 5V power supply It can be powered from the following sources Battery with 2 5V External DC power using a linear voltage regulator External D
26. ule U6 PCF8574 I2C port expander U14 6 pushbuttons SW1 6 2 LEDs R7 R8 R5 R6 R10 15 R19 The LCD is connected to the SPI bus In addition to the MOSI and SCK lines it uses PB4 for the Register Select RS signal Please refer to 6 for details on the operation of the LCD The select CS5 must be jumpered to an available CPU port Display contrast is adjusted by software R4 sets the background LED current The pushbutton switches can be read via the I2C port expander they are active low Alternatively LEDs can be used in place of a switch as the PCF8574 is able to source 20mA on each output Refer to the PCF8574 datasheet in 4 The PCF8574 provides an interrupt line which is routed to INT6 X18 This line is pulled low on each level change on the input ports Table 5 Port signals used for LCD module AVR Playground User Manual page 14 29 Rev 2 1 01 06 2005 www avrcard com Onboard Options EasyRadio RF Transceiver Module Figure 11 EasyRadio option This option comprises ER TRS transceiver module SMA antenna connector Antenna Li C11 C12 R20 Detailed information on the transceiver module can be found in 7 Note To operate the EasyRadio module the serial port jumper RX1 select on the AVRcard must be removed RX2 select RX1 select TX2 select RS232 RS485 Note Either the EasyRadio or the Bluetooth module may be used at the same time as they share the serial port 1
Download Pdf Manuals
Related Search
Related Contents
GP-9 - GENTOS 4Gamers 4G-4887 headset AEG MC1753E-M microwave MANUEL D`INSTALLATION ET D`ENTRETIEN Séries F15 et F30 Converting VHS to DVD Hunter CF652BQ01 User's Manual SERVICE MANUAL VPOS 32 Handbuch 2.60.book Manual de Informação e Lazer Copyright © All rights reserved.
Failed to retrieve file