Переглядів 41,934
Lets explore End-to-End ZigBee based Wireless Sensor Network using XBee S2C Module. In this Zigbee project, we'll be using Arduino with Router Zigbee and Raspberry Pi with Cordinator Zigbee. We are using XBee S2C Zigbee Module. We'll read temperature using LM35 Temperature Sensor with Arduino. And transmit temperature data to Raspberry Pi over ZigBee Protocol. Later on, we'll write python code on Raspberry Pi and send data to AWS IOT Core using MQTT Protocol. This is an complete end-to-end use case to demonstrate use of zigbee protocol in IOT Project
Step-by-Step Zigbee based Wireless Sensor Network:
1. Write Arduino Code
2. Replace Cordinator XBee's MAC ID & Calculate Checksum
3. Connect Arduino with ZigBee Module (4-Tx, 5-Rx, 3.3V-3.3V, GND-GND)
4. Connect Cordinator ZigBee XBee with USB Port of Raspberry Pi4
5. Use awspublish.py file and replace aws credentials
6. If needed run commands, sudo pip install paho-mqtt, sudo pip install xbee
7. Finally run awspublish.py and check on AWS Test Client
8. You will start getting temperature data in AWS Cloud
Umesh Lokhande
Mail: umesh@binaryupdates.com
Web: www.binaryupdates.com
Courses: courses.binaryupdates.com