Summary
Let's summarize what we did in this chapter. We built a wireless power switch based on Arduino; we controlled this switch using LabVIEW. We connected a relay module, a current sensor, and an XBee shield to an Arduino board to build the hardware part of our project. Then, we built a program from scratch to control the project via LabVIEW.
There are, of course, several ways to improve this project. You can, for example, add more relays and current sensors to the project in order to control two or more devices at the same time. From here, it is really easy to modify the interface to incorporate these news elements.
In the next chapter, we will continue to use XBee, but this time, for a different application: an application to monitor several motion sensors in order to create a simple alarm system.