Presentation is loading. Please wait.

Presentation is loading. Please wait.

ZigBee Calvin Choy David Kim Jason Chong Devin Galutira.

Similar presentations


Presentation on theme: "ZigBee Calvin Choy David Kim Jason Chong Devin Galutira."— Presentation transcript:

1 ZigBee Calvin Choy David Kim Jason Chong Devin Galutira

2 Project Focus Universal switching to make Archimedes projects wireless (i.e. toys) To update and improve the previous ZigBee design i.e. Adding a sleep function, LED indicators i.e. Adding a sleep function, LED indicators Create a manual for students and non-ZigBee people and documentations.

3 Gantt Chart

4 Previous XBee Block Diagram 4 Switches 4 Relay Outputs *Source Krystina’s Xbee Group

5 Overall Block Diagram of System Switch Picaxe Switch Relay Encoder sleep sleep data in XBee (Transmit) XBee (Receive) Picaxe sleep

6 *Source Krystina’s Xbee Group

7 Improvements On/Off switch Sleep function for ZigBee Sleep status indicator Power indicator Standardized casing Mounting holes Embedded 3mm mono jacks

8 Previous Zigbee Module Designs Transmit Module Receive Module *Source Krystina’s Xbee Group

9 Transmit Circuit

10 Serial Port Serial Null Modem Download Cable On board 3 pin connector Download BASIC code into Picaxe

11 Encoder & Microcontroller 8:3 Line Priority Encoder M74HC148, DIP Cmos, high speed, less voltage than transistor logic version 5 inputs from switches to control device 2 inputs control time behavior of switch T - Flip Flop T - Flip Flop D - Flip Flop D - Flip Flop 3 Encoded bits to Microcontroller

12 Encoder Truth Table Encoded Bits: LHH represents in6: Switch 4 is activated

13 Power Supply 9 Volt Battery All components will run off of 5 V except Xbee 3.3V Voltage regulators to ensure stable voltage Xbee: 3.3V, Picaxe 2.4 – 5.5 V

14 XBee Transmit Pin 1: 5 Vcc Pin 3: DIN: UART Data in, from Picaxe pin13, out7 Pin 5: RESET Pin 9: SLEEP_RQ (sleep control) From Picaxe pin12, out6 From Picaxe pin12, out6 Pin 10: Ground Pin 13: to Sleep Indicator Pin 14: VRef

15 Sleep Indicator New Feature on Zigbee module Sleep Status Pin, pin 13 on Xbee LED on indicates sleep mode

16 Receive Circuit

17 Microcontroller - Receive Pin 2: Serial out Pin 3: Serial in Pin 4: Reset Pin 5: Ground Pin 6: Out 0 > CMOS pin 3 Control A Pin 7: Out 1 > CMOS pin 5 Control B Pin 8: Out 2 > CMOS pin 6 Control C Pin 9: Out 3 > Relay pin 1

18 XBee Receive Pin 1: 5 Vcc Pin 2: DOUT – UART Data out To Picaxe pin17, in0 Pin 5: RESET Pin 9: SLEEP_RQ (sleep control) from Picaxe pin13, out7 Pin 10: Ground Pin 13: to Sleep Indicator Pin 14: VRef

19 Quad Bilateral Switch Pin 1-Pin 2: to Output Switch 1 Pin 3-Pin 4: to Output Switch 2 Pin 5: Control B from Picaxe pin7,out1 Pin 6: Control C from Picaxe pin8,out2 Pin 7: Vss – Ground Pin 8-Pin 9: to Output Switch 3 Pin 13: Control A from Picaxe pin 6, out0 pin 6, out0 Pin 14: VDD Switch I/O O/I I/O VDD Ctrl A Ctrl D Ctrl B Ctrl C Vss

20 Relays Used to operate motors Pin 10, control1: From Picaxe pin9,out3 Pin 1,control2: From Picaxe pin10,out4 Pin 7,8: to Output switch4 & Output switch5

21 Printed Boards Transmit Board Receive Board

22 Tx Controller Serial out Switch Address Switch type

23 Rx Controller Latch nToggle n Switch nSwitch 1 Latch 1Toggle 1 Data Sleep

24 XBee Test 2 way signaling “ Morse Code” test “ Morse Code” test Both Modules are transmitters and Recievers Testing program between PicAxe and XBee Switch Picaxe Switch XBee (Transmit) XBee (Receive) Picaxe LED Module AModule B

25 Program Test Test PicAxe selecting program 3 switches to select 5 LEDs 2 switches to determine type of switch DFF TFF

26 Encoder/Bilateral Test Test 5:3 encoding with PicAxe Test Bilateral with PicAxe LED Switch Encoder Picaxe Quad

27 Remaining Tasks Hardware Circuit Board Circuit Board Solder Components Enclosure Enclosure Drill Holes Five plugs for 3mm mono jack outputs Put module together Put module together

28 Remaining Tasks Software XBEE (ZigBee) Chip XBEE (ZigBee) Chip Sleep Mode Implementation Very Important Very Important Power Management Power Management PicAxe Chip PicAxe Chip Sleep Mode Coding Control On/Off of XBEE Chip Control On/Off of XBEE Chip

29 Remaining Tasks Software PicAxe Chip PicAxe Chip Programming in Basic Programming in BasicReceiver LED indicator LED indicator Activate relays/outputs Activate relays/outputsTransmitter LED indicator LED indicator transmit data and instructions transmit data and instructions

30 Remaining Tasks Testing Software Software Check programming Hardware Hardware Check connections Module Module Function properly Test with electronic toy

31 Remaining Tasks Educational Kit Proper documentation Proper documentationProgress Technical aspects Make instruction manual Make instruction manual Accessible for non-ZigBee users Paperwork Project Report Project Report

32 Potential Problems Circuit Board Error in PCB Circuit layout Error in PCB Circuit layout Wrong external connections Wrong external connections Wires, outputs, etc. Software Implementing sleep pin Implementing sleep pin Transmit/receive coding Transmit/receive coding Unforeseen Errors

33 -End- Thank You


Download ppt "ZigBee Calvin Choy David Kim Jason Chong Devin Galutira."

Similar presentations


Ads by Google