Remote Sensor Monitoring by Radio with Arduino: Detecting Intruders, Fires, Flammable and Toxic Gases, and other Hazards at a Distance
David Leithauser | 2016 | ISBN: 153464055X, ASIN: B01H7Z6ZYA | 118 pages | EPUB, PDF(conv) | 0.5 MB, 1.2 MB
David Leithauser | 2016 | ISBN: 153464055X, ASIN: B01H7Z6ZYA | 118 pages | EPUB, PDF(conv) | 0.5 MB, 1.2 MB
This book is about connecting sensors and radio transceivers to an Arduino so that you can monitor the sensor readings from a distance. You can put the Arduino sensor package miles away from the receiving station, in your front or back yard, or even in your home like your basement or attic.
Although the techniques described in this book will work with any type of sensor input, the book will focus on sensors that detect potentially dangerous or disruptive conditions. These will include intruders, fires, temperature extremes (both hot and cold), flammable gases, toxic gases like pollution, power failures, floods (including minor “floods” like a pipe bursting), and other situations.
For the radio communications, we will use the nRF24L01 transceiver. This inexpensive chip (usually around $1.00 on EBay) interfaces easily with the Arduino and can both transmit and receive data. It has an advertised range of 100 meters (about 328 feet) for the basic unit, although in actual practice it may be closer to 30 meters (about 98 feet). However, with an optional antenna the range is reported to be 1,000 meters (1 km, about .6 miles). In the first five chapters, I explain the hardware and software aspects of this handy transceiver, enabling you to set up the communications. I even explain how to set up repeater transmitters that can relay the signal from locations beyond the 1 km range. Thus, this books provides ideas for how to use the nRF24L01 transceiver for many purposes.
In the chapters after these five chapters on the basics of the nRF24L01, I discuss attaching and operating various sensors, explaining how to set them up and integrate them into the transmission software. The chapters will be divided by hazards you can monitor, not specific sensors, so one chapter may include several different types of sensors that can be used to detect the same hazard.
Sketches in this book can be downloaded