In this example, MATLAB® is used to wirelessly control an LED using two XBee® Series 2 modules. A mini photocell is used to wirelessly monitor the state of the LED. The example illustrates how you can control,acquire and analyze data from sensors that are connected wirelessly through XBee modules.
XBee is a registered trademark of Digi International, http://www.digi.com
MathWorks MATLAB Hardware Team (2022). Wireless control and monitoring of an LED using XBee (https://www.mathworks.com/matlabcentral/fileexchange/45550-wireless-control-and-monitoring-of-an-led-using-xbee), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!