Continuous monitoring of wireless network of temperature sensors using MATLAB® and XBee®

Collect data from a network of temperature sensors using MATLAB® and XBee®.
2.7K Downloads
Updated 1 Sep 2016

View License

In this example, MATLAB is used to continuously monitor the temperature throughout an apartment by interacting with a wireless network of temperature sensors built using XBee Series 2 modules. Each XBee edge-node reads analog voltages (that are linearly proportional to the temperature) from multiple temperature sensors. The readings are transmitted back to MATLAB via a coordinator XBee module. This example illustrates how to manipulate, acquire, and analyze data from a network of multiple sensors connected to multiple XBee edge-nodes. Data are acquired over periods ranging from hours to days to help design and build a smart thermostat system.
XBee is a registered trademark of Digi International, http://www.digi.com.
This example requires the XBee class from the MATLAB Central file exchange entry available here:
http://www.mathworks.com/matlabcentral/fileexchange/45550

Cite As

Benjamin Kraus (2024). Continuous monitoring of wireless network of temperature sensors using MATLAB® and XBee® (https://www.mathworks.com/matlabcentral/fileexchange/47757-continuous-monitoring-of-wireless-network-of-temperature-sensors-using-matlab-and-xbee), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.8.0.1

Updated license

1.8.0.0

Added code and example functions for the final MakerZone article.

1.7.0.0

Fixed broken links to the MakerZone articles.

1.6.0.0

Added code and example functions for the third MakerZone article.

1.5.0.0

Added code and example functions for the second MakerZone article.

1.2.0.0

I added "Copyright 2014 The MathWorks, Inc." to the MATLAB file in the submission. I also moved the images so that they would show up properly in the "Example" display on the File Exchange.