Harmony Clean Flat Responsive WordPress Blog Theme

Zigbee networking among arduinoes

오전 2:24 Unknown 0 Comments Category :

Hi everyone. In this time, I will show you how arduinoes with zigbee transfer data each others. In the last time, I shew you how to set up zigbee to connect each other. In order to transfer Zigbee each other, make sure that the PAN ID and destination address high and low are set properly. 


Before upload code to arduino, make sureyour Zigbee is connected each other or not. you can check it in X-CTU consoles working mode tap. If you checked it, It's ready for transfering data each Zigbees. Let's go to arduino sketch. 
you need 2 codes that one of them is for sender and the other is for receiver. 

This is the sender code:

This sender send ramdom number to receiver every 1 second. 

and this is the receiver code:

This code receive a data in every 1 second.

If you followed to this step, you can see the received data in the receiver's serial monitor like this


This is communication between 2 Zigbee. In next time, I will show you communication between arduino and raspberry pi. Thank you.

RELATED POSTS

0 개의 댓글