In this experiment, we explored the Xbee communication protocols. The Xbee is a wireless radio device which can be used to communicate to each other with or without microcontrollers.
You can download the entire mindMap as a PDF from the image above.
The above is the basic ecosystem of how the Xbee works based on Kate Harmans Slides and Digi.Com website.
The Main Concepts:
- The basic idea is the same as a Walkie Talkie, where one device can send and receive signals, they are transceivers.
- The device runs on 3.5V and can damage the device if you use a higher Voltage.
- The Xbee is configured and not programmed, you cannot add new commands to it only configure the properties set in the Data Sheet.
- The Pin spacing is different for a breadboard so you have to use a breakout adapter.
- It also operates in two modes transparent Vs Command Mode, transparent is the data mode to send and receive and command mode is activated with +++ where you configure the device.
The Experiment 01
For this experiment, we had to receive signal from one Xbee in the form of a PULSE, H would turn the power to the Pin On and L would turn the Pin to Low/OFF.
My idea was to use the signal to drive a fan which would be a tube and levitate a ball. I got the pieces together, but the fan was not strong enough to drive the ball into the air.
What can I do to change this up?
I can get this to work if I use a Mosfet and use a higher powered fan and use a lighter ball. I did not have time to go back to get the parts and change my design.
I went back to the drawing board and went with the simplest solution of programming a buzzer to receive the signal and creates a simple pulse.