1 / 41

Critical Design Review Team: Half n’ Half

Critical Design Review Team: Half n’ Half. Jasmine Jihyun Kim, Claire Lawson, Jason Myer, Gabriel Seitz, Kevin Sternberg, Julie Yamashita. CDR Outline. Project Overview ZigBee Subassembly RF Subassembly Prototype Budget Division of Labor Schedule. Project Overview.

olisa
Download Presentation

Critical Design Review Team: Half n’ Half

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Critical Design ReviewTeam: Half n’ Half Jasmine Jihyun Kim, Claire Lawson, Jason Myer, Gabriel Seitz, Kevin Sternberg, Julie Yamashita

  2. CDR Outline • Project Overview • ZigBee Subassembly • RF Subassembly • Prototype • Budget • Division of Labor • Schedule Half n' Half CDR

  3. Project Overview • Our goal is to create a wireless system that tracks in real-time the location and ranking of cyclists in a bike race and displays this to the spectators and each rider. Half n' Half CDR Photo Credit: http://randy4u.blogspot.com/2007_07_01_archive.html

  4. System Block Diagram Half n' Half CDR

  5. ZigBeeBeeStack • Beestack • Software that’s placed into all target boards • BeeStack architecture allows for: • Networking Components (Mesh Network) • Platform Components (Hardware) Half n' Half CDR

  6. BeeStack Protocol: IEEE 802.15.4 • Compliant with IEEE 802.15.4 standard • IEEE 802.15.4 standard defines : • Physical Layer (PHY) • Medium Access Control Layer (MAC) Half n' Half CDR

  7. BeeStack: ZigBee Alliance Protocol • ZigBee Alliance adds the NWK, APS, AF, ZDO, ZDP layers • Allows us to set the foundation for a mesh network • Allows us to utilize the mesh network with our custom application • Network creation • Network configuration • Data packet routing • Handles requests and responses • Sends acknowledgements Half n' Half CDR

  8. Mesh Network • Mesh topology provides AODV (Ad hoc) routing protocol • Self-forming (when conditions change) • Self-healing (when nodes are lost) • Multihop routing capability, thus can locate multiple mobile nodes • Via Freescale MC13224v (discussed later) Half n' Half CDR

  9. Mesh Network • Bike contact time is long • Mesh network is capable of handling these times Half n' Half CDR

  10. ZigBee Mobile Node • Will either beacon or receive data from Static Node the biker’s rank to display onto LCD • Rank position from Mobile Node to a Shift Register will use SPI • MC13224V has external SPI modules with 4 pins in SPI port (SPI_SCK, SPI_MOSI, SPI_MISO, SPI_SS) • Shift Register • Serial to parallel-out since LCD is a parallel-out device • 74HC595 Half n' Half CDR

  11. Half n' Half CDR

  12. ZigBee Router • Routes data between static nodes to coordinator • Will either relay data to the Coordinator • Will relay ranking back to the Mobile Node Half n' Half CDR

  13. Half n' Half CDR

  14. ZigBee Coordinator • Facilitates communication between mesh network and main server • Will determine and store cyclists’ location • How it works: • Starts the mesh network • Selects PAN ID for network • Can add and remove other nodes from network • Input: Receives raw RSSI data from mesh network via IEEE 802.15.4 transceiver • Outputs: Position data via UART Half n' Half CDR

  15. Half n' Half CDR

  16. System Block Diagram Half n' Half CDR

  17. Comm: MSP430 to Laptop Half n' Half CDR

  18. MSP430-F449 • Frequency – 8MHz • Flash – 60KB • SRAM – 2048B • GPIO – 48 • LCD Segments - 160 Half n' Half CDR

  19. MSP Schematics • Main board • P3.0 CSN • P3.1 MOSI • P3.2 MISO • P3.3 CLK • P1.6 CE Half n' Half CDR

  20. MSP Schematics • Inputs Half n' Half CDR

  21. MSP Schematics • Outputs Half n' Half CDR

  22. NRF24L01 • NRF24L01 • Low cost single-chip 2.4GHz RF transceiver IC • Worldwide license-free 2.4GHz ISM band operation • 1Mbps and 2Mbps on-air data-rate • Ultra low power consumption • On-air compatible with all Nordic nRF24L Series in 1 and 2Mbps mode • On-air compatible with Nordic nRF24E and nRF240 Series in 1Mbps mode Half n' Half CDR

  23. RF Communication MiRF-v2 IC Half n' Half CDR

  24. NRF24LR Schematics • MOD-NRF24LR • P1 CE • P2 CSN • P3 SCK • P4 MISO • P5 MOSI Half n' Half CDR

  25. UART Communication • Receives and Transmits data between MSP430 and Coordinator/Laptop • Receives position info from Coordinator • Receives bike info from Laptop Half n' Half CDR

  26. UART Software Flow Chart Initialize UART Ready Bit? Yes No Send Ready Bit Receive Data Transmit Data Half n' Half CDR

  27. SPI Communication • Receives and Transmits data between MSP430 and RF chip • Data can be received from several transmissions Half n' Half CDR

  28. SPI Software Flow Chart Initialize SPI Yes Ready Status? No Send Ready Status Receive and Store Data No Transmit Data Data Read? Received? No Yes Clear Register Yes Send Status and Clear Register Half n' Half CDR

  29. Proof of Concept Half n' Half CDR

  30. Hardware: Digi - XBee S2 • Series 2 are made for Mesh Networks • Objective: Use 3 XBee devices to read RSSI values • 1 Coordinator and 2 Router nodes Half n' Half CDR

  31. Prototype Results • RSSI Testing: Range -30dBm to -100dBm • RSSI (approx) = 1/R2 • Results: As a Router increased distance from the coordinator, the RSSI value dropped Half n' Half CDR http://www.sensorsmag.com/networking-communications/asset-tracking/asset-tracking-industrial-settings%E2%80%94a-review-wireless-technol-1500

  32. XBee Downfall • RSSI is not accurate enough to provide reliable position calculation • XBee S2 are meant for Sensor Mesh Networks, not tracking Half n' Half CDR

  33. Hardware: Freescale MC13224v • Can be used for ZigBee mesh networking • IEEE 802.15.4 standard compliant on-chip transceiver/modem • Low Power • Low Cost • High Reliability • No external RF components required • μController: 32-bit ARM7TDMI-S CPU @ 26 MHz • SPI/I2C/UART Half n' Half CDR

  34. Useful Pin Assignments Half n' Half CDR

  35. Hardware: Redwire Econotag • Freescale MC13234v • PCB Inverted-F Antenna • USB-A connector • Powered from USB or Battery • No Additional Hardware Half n' Half CDR

  36. Budget Half n' Half CDR

  37. Division of Labor Half n' Half CDR

  38. Schedule Half n' Half CDR

  39. Milestones • Milestone #3: • ZigBee: Mesh Network Setup and Triangulation • RF: Coordinator MSP to Spectator Display • Milestone #4: • ZigBee: Track multiple mobile nodes • RF: Placement calculations • DEMO! • Record bike race and have a video in room • Set up system out side, show audience on time intervals Half n' Half CDR

  40. Questions? Half n' Half CDR Photo Credit: http://fpafinancialplanningblog.files.wordpress.com/2011/11/question.jpg

  41. Sources • https://www.sparkfun.com/products/10415 • http://www.digi.com/support/productdetail?pid=3352 • https://www.sparkfun.com/products/8687 • http://ftp1.digi.com/support/documentation/90000976_G.pdfhttp://www.freescale.com/files/rf_if/doc/data_sheet/MC1322x.pdf • http://www.redwirellc.com/store/node/1 • http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MC13224V • http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=BEEKIT_WIRELESS_CONNECTIVITY_TOOLKIT • http://www.cs.unibo.it/bononi/SRW2011/SRW2011_6.pdf • http://cache.freescale.com/files/rf_if/doc/ref_manual/BSSRM.pdf • http://www.freescale.com/files/microcontrollers/doc/brochure/PositionLocationMonitoring.pdf • http://www.circuitsathome.com/mcu/interfacing-lcd-via-spi Half n' Half CDR

More Related