Elect 707 Micro-Computer Applications 2011 Building a Zigbee controlled car that can communicate with 2 other cars by sending them its order. ◦ The car contains a Zigbee module, as well as a PIC programmed to order and take orders. ◦ The car should got a limit switch that stop the car when reach an obstacle ◦ The next car should start as soon as the 1st car send her a go condition as shown in the chart shown. PIC HBridge/ Relays Zigbee Limit Switche s Car Hardwa re Learn how to Program the PIC Learn how to use Eagle. Breif Zigbee introduction (Sunday, 18) Design your Pcb board using Eagle (Phase 1) Build your Pcb in the lab (Phase 2) Install and wield your components. Program the PIC Test and deliver (Phase 3) Convert your car to be controlled via a remote control zigbee board. ◦ Build a Pcb for a Remote control that can control the car using Zigbee. ◦ Program the PIC in the remote to control the car. ◦ Test your program. XBee “Standard” Series comparison 802.15.4 Indoor/Urban Range Outdoor RF line-of-sight Range Transmit Power Output RF Data Rate Receiver Sensitivity Supply Voltage up to 30 m up to 100 m 1 mW (0 dBm) 250,000 bps -92 dBm (1% PER) 2.8 – 3.4 V Transmit Current (typical) 45 mA (@ 3.3 V) Idle / Receive Current (typical) 50 mA (@ 3.3 V) Power-down Current Frequency Dimensions Operating Temperature Antenna Options Supported Network Topologies Number of Channels Filtration Options Zigbee FCC Part 15.247 Industry Canada (IC) Europe (CE) < 10 μA ISM 2.4 GHz 0.960” x 1.087” -40 to 85º C Chip, Integrated Whip, U.fl P2P, P2M, and PP 16 Direct Sequence Channels PAN ID, Channel & Source/Destination NA OUR-XBEE 4214A-XBEE ETSI Thin API or AT interface application layer to 802.15.4 or EmberZNet stack Powerful feature set includes: ◦ Remote configuration ◦ Low power end devices ◦ IO line set/read capabilities 8+1 GPIO (1 PWM) 4 A/D inputs ◦ Network diagnostics 4 Antenna Options: Whip, Chip, U.FL, RPSMA No RF HW development risk Fully approved !!! Digi API / AT ZigBee AF ZigBee APS ZigBee Network 802.15.4 MAC 802.15.4 PHY ZigBee ZDO • Indoor/Urban Range: 133 ft (40 m) expandable using Repeaters. • Operating Temperature & Humidity of the module: -18° C to +50° C, 0-95% ◦ humidity non-condensing • Encryption: 128-bit AES • Supply Voltage of sensor: 2.1 - 3.6VDC • Operating Voltage of Module: 3.3 volts • Transmit Power: 2 mW (+3 dBm) boost mode • Frequency Band: 2.4 GHz