140 likes | 210 Views
Embedded Systems Day-3. Sourabh Sankule. Outline. Wireless Communication EEPROM accessing to save permanent Data AVR Studio Debugging and programming Relay Circuit and controlling AC bulb. CC2500 – 2.4GHz Transceiver. Read Datasheet for details Application Circuit Internal Block Diagram.
E N D
Embedded SystemsDay-3 SourabhSankule
Outline • Wireless Communication • EEPROM accessing to save permanent Data • AVR Studio Debugging and programming • Relay Circuit and controlling AC bulb
CC2500 – 2.4GHz Transceiver • Read Datasheet for details • Application Circuit • Internal Block Diagram
CC2500 Module uC Driver Firmware CC-2500 MAX-232 RS232 Out UART SPI RxD TxD GND Driver Code for CC2500 burned in this microcontroller. Code is not provided.
Interfacing CC2500 Module Atmega128 JP4 JP3 MAX 3223 RS232 Out CC-2500 Module UART-0 RxD TxD GND
By Passing uC to connect to USB Atmega128 JP4 JP3 MAX 3223 RS232 Out CC-2500 Module UART-0 RxD TxD GND Atmega128 JP6 JP5 FTDI FT232 USB Out USB UART-1
Configuring Module • Using Robosoft Software • Channel ID : Frequency • Device ID
Byte Mode • Send Data directly as byte. • 80msec delay between 2 Data byte. • Demo • Show Rx-Tx Short Test via Docklight • Show Data Send Test via Docklight • Show uC Send Test, Temp value, ABCD… etc
Packet Mode Send Packet Receive Packet To be tested on uC by students in Lab. Give demo on dock-light
EEPROM Accessing For saving permanent variables.
Relay Control 5V Relay. Why Transistor ? Why this Diode ?
AVR Studio • Using as IDE for AVRGCC • Real Time Debugging using JTAG ICE