AVR2016: RZRAVEN Hardware User's Guide Features • Development kit for the AT86RF230 radio transceiver and AVR® microcontroller. • CE, ETSI and FCC approved. • LCD module (AVRRAVEN): - AT86RF230 radio transceiver with high gain PCB antenna. - Dual AVR microcontrollers. - Dynamic Speaker and microphone. - Atmel Serial Dataflash®. - User IO section: • USART • GPIO • Relay Driver - Powered by battery or external supply: • 5V to 12V external supply.
General The RZRAVEN kit is built from one RZUSBSTICK module and two AVRRAVEN modules. See Figure 2-1 to Figure 2-4 for further details. The complete schematics and Gerber files are available from the compressed archive accompanying this application note. Figure 2-1 Assembly drawing AVRRAVEN - front view. Figure 2-2 Assembly drawing AVRRAVEN - back view.
AVR2016 Figure 2-3 Assembly drawing RZUSBSTICK - front view.
3.1 AVR Microcontrollers Two AVR microcontrollers are found on the AVRRAVEN module. An ATmega1284P is connected to the AT86RF230 radio transceiver, and an ATmega3290P is driving the LCD. Both these devices are selected from the AVR picoPower family, something that ensures minimal power consumption and operation down to 1.8 Volts. Universal Synchronous and Asynchronous serial Receiver and Transmitter (USART) is used as an inter processor communication bus. 3.2 Atmel Radio Transceiver The AT86RF230 is a 2.
AVR2016 3.5 Speaker An 8 Ω speaker is provided. The ATmega3290P controls all audio. The signal source is the TIMER1’s PWM output and the signal is shaped via a low-pass filter and amplified by a Class-D amplifier. Pulling PORTE7 low activates the active filter and providing a PWM signal on PORTB5 activates the amplifier. 3.6 Microphone The AVRRAVEN’s microphone is connected to the ATmega3290P ADC channel 0. The signal is amplified and low-pass filtered. Pulling PORTE7 low activates the microphone circuit.
3.11 Power Supply The AVRRAVEN can be powered either from batteries or an external 5 to 12 Volts DC source. The power source is selected by the position of the jumper located immediately to the right of the LCD (See the figure below for a reference). Polarity protection is provided when using an external power source. The AVRRAVEN has been designed to run from two 1.5V LR44 battery cells. An onboard voltage regulator makes it possible to run power the AVRRAVEN from a 5 to 12 Volts DC source.
AVR2016 3.12 Interfaces The AVRRAVEN module has multiple interfaces that can be used for serial communication, interaction with external sensors and control units such as relays and of course programming and debugging. Figure 3-3 AVRRAVEN User Interfaces Table 3-1. Interfaces available on J401 Pin number Function Comment 1 Ext. power supply, 5-12V input External power input 2 Ext.
3.12.1 Programming Interface Both the ATmega3290P and ATmega1284P can be programmed using either the JTAG or ISP interface. JTAG programming can be facilitated by connecting a JTAG ICE mkII to the 50-mil pin header J301 (ATmega3290P) and J204 (ATmega1284P). A total of 5 50-mil pin headers and one 50-mil to 100-mil converter are supplied with the RZRAVEN kit. ISP programming can be performed by connecting an ISP enabled AVR programming tool to the pin header J302 (ATmega3290P) and J205 (ATmega1284P).
AVR2016 Table 3-3. ATmega1284P User IO ATmega1284P Port Pin PCB Connection Comment PC0 J201-1 TWI SCL. Connected to serial EEPROM PC1 J201-2 TWI SDA. Connected to serial EEPROM PC2 J201-3 JTAG TCK. PC3 J201-4 JTAG TMS. PC4 J201-5 JTAG TDO. PC5 J201-6 JTAG TDI. N.C. J201-7 Populate R204 to connect to PC6. RTC Xtal XC202 must then be removed. N.C. J201-8 Populate R205 to connect to PC6. RTC Xtal XC202 must then be removed. PD0 J202-1 RXD0 Inter processor communication.
4 The AVR RZUSBSTICK Module Figure 4-1 RZUSBSTICK overview USB interface MCU: AT90USB1287, USB and RF Stacks 2-way sync Serial comm Radio chip AT86RF230 MCU oscillator 16MHz Xtal 8MHz Xtal The AVR RZUSBSTICK hardware is based a USB microcontroller and a radio transceiver chip. The AT90USB1287 microcontroller handles the USB interface, the AT86RF230 radio transceiver and the RF protocol stacks. For hardware details please refer to Appendix D for the complete AVR RZUSBSTICK schematics. 4.
AVR2016 4.4 Interfaces Figure 4-2 RZUSBSTICK Interfaces - front. Figure 4-3 RZUSBSTICK Interfaces - back 4.4.1 External Memory Interface When necessary the AT90USB1287’s 8k Bytes of internal SRAM can be extended through the AVR external memory interface. The suggested external SRAM is 32k Bytes and is available from address 0x8000 to 0xFFFF giving a total of 40k Bytes when assembled. Suggested latch and RAM: • 74AHC573PW. • BS62UV256TCP-10. 4.4.
4.4.3 Programming Interface A JTAG interface is provided for the AT90USB1287 microcontroller. The interface is available through a 50-mil spaced 10-pin dual row header. The RZRAVEN does not come with the header mounted. So it is up to the user populating it. Wires could also be soldered in instead of the dual row headers. A total of 5 50-mil pin headers and one 50-mil to 100-mil converter are supplied with the RZRAVEN kit. 4.4.4 LEDs 4 LEDs is assembled on the board: Table 4-1.
AVR2016 5 Appendix A: AVRRAVEN Schematics 13 8117D-AVR-04/08
AVR2016 8117D-AVR-04/08
AVR2016 15 8117D-AVR-04/08
AVR2016 8117D-AVR-04/08
AVR2016 17 8117D-AVR-04/08
6 Appendix B: AVRRAVEN Bill of materials Table 6-1. AVRRAVEN BOM Qty Designator 18 Description Manufacturer Part # 5 C205, C206, C207, C220, C221 Ceramic capacitor, SMD 0402, NP0, 50V, +/0.25pF 1.2p 2 C201, C204 Ceramic capacitor, SMD 0402, NP0, 50V, +/-5% 12p 3 C413, C414, C415 Ceramic capacitor, SMD 0402, NP0, 50V, +/-10% 100p 1 C404 Ceramic capacitor, SMD 0402, X7R, 25V, +/-10% 4.
AVR2016 Qty Designator Description Manufacturer 1 R410 Thick film resistor, SMD 0402, 1/16W, 1% 3.
Qty Designator Description Manufacturer 1 U403 TS2007 3W class D audio ST amp. TS2007IQT 2 XC202, XC301 32.768kHz SMD crystal, 85SMX style Rakon Ltd LF XTAL016207 1 SP401 PC board speaker, SMD mount Veco Vansonic 20CS08KQ-150ND 1 XC201 16MHz uXtal GSX-323, Golledge 2.0 x 2.5 mm SMD 10ppm GSX-323/111BF 16.0MHz 1 U401 Citizen 4.2x4.
AVR2016 Table 7-1.
8 Appendix D: RZUSBSTICK Schematics 22 AVR2016 8117D-AVR-04/08
AVR2016 9 Appendix E: RZUSBSTICK Bill of materials Table 9-1. RZUSBSTICK BOM Qt Designator Description Manufacturer 1 C18 Ceramic capacitor, SMD 0402, NP0, 50V, +/-.25pF 1.
10 Appendix F: Federal Communications Commission (FCC) Statement 10.1 FCC Statements 10.1.1 Equipment usage This equipment is for use by developers for evaluation purposes only and must not be incorporated into any other device or system. 10.1.2 Compliance Statement (Part 15.19) These devices comply with Part 15 of the FCC Rules. Operation is subject to the following two conditions: 1. These devices may not cause harmful interference, and 2.
AVR2016 11 Table of Contents Features ............................................................................................... 1 1 Introduction ...................................................................................... 1 2 General ............................................................................................. 2 3 The AVRRAVEN Module .................................................................. 3 3.1 AVR Microcontrollers...................................................
10.1 FCC Statements.............................................................................................. 24 10.1.1 Equipment usage .................................................................................................. 24 10.1.2 Compliance Statement (Part 15.19) ...................................................................... 24 10.1.3 Warning (Part 15.21) ............................................................................................. 24 10.1.
Disclaimer Headquarters International Atmel Corporation 2325 Orchard Parkway San Jose, CA 95131 USA Tel: 1(408) 441-0311 Fax: 1(408) 487-2600 Atmel Asia Room 1219 Chinachem Golden Plaza 77 Mody Road Tsimshatsui East Kowloon Hong Kong Tel: (852) 2721-9778 Fax: (852) 2722-1369 Atmel Europe Le Krebs 8, Rue Jean-Pierre Timbaud BP 309 78054 Saint-Quentin-enYvelines Cedex France Tel: (33) 1-30-60-70-00 Fax: (33) 1-30-60-71-11 Atmel Japan 9F, Tonetsu Shinkawa Bldg.