The product is meant to be simple, to be adaptable. This iteration uses Adafruit Huzzah with ESP, but keep in mind that in the next iteration we intend to use a LoRa version. Here is how you can build this project yourself
Get the components we recommended or some alternatives for them (be advised that you might need to tweak the code for the second option)
Assemble the components in the following way for the code to work:
- Connect the mercury tilt switch or the moisture sensor to the ADC pin of the Feather Huzzah
- The warning LED is connected to the the digital pin 15 of the Feather
Load the Arduino code provided on the Feather Huzzah board after properly installing the libraries on your system as instructed by Adafruit https://learn.adafruit.com/adafruit-feather-huzzah-esp8266/using-nodemcu-lua?view=all
The device will try to send the information to a nearby device programmed to work also in a mesh network. In order to test it, you should build at least two of them. Shake one of them for earthquake simulation and the other will receive a warning. The LED of the receiver will start blinking. In order to use the device, take in account to eliminate the false positives.