Chapter 6. A Wireless Alarm System with LabVIEW
In this chapter, we will use Arduino and LabVIEW to create a simple alarm system that will monitor several motion sensors via XBee. We will connect the motion sensors to an Arduino board, along with an XBee Arduino shield.
Then, we will write a basic LabVIEW program to monitor these motion sensors from LabVIEW. We will start with one sensor only and then extend this to several sensors. Finally, you will see how to use a motion sensor via XBee so that you can place the project wherever you want in your home.
Hardware and software requirements
Let's first see what we need for this project. Apart from the usual Arduino Uno board, you will need XBee modules, both for Arduino and your computer. Here is the ...
Get Programming Arduino with LabVIEW now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.