Get peace of mind by protecting your house against danger and damages caused by water leak, gas leak or even fire by alerting the homeowner and taking action!
This product is an addition to your home alert system (fire & CO alarm), it is intended to be installed next to your gas water heater.
It integrates multiple sensors targeting the protection of your water heater and gas line. The following SeedStudio sensors are used for prototyping MQ2/MQ5 gas sensors, water sensor, flame sensor, buzzer and led.
The software is running in Intel Yocto Linux, using MRAA library for Intel Edison to interface with the sensors.
This project is based on the Intel Edison development kit, the SeedStudio grove base kit and sensors.
Step 1: Hardware Needed
For this project we used as a starting point the Intel IoT Starter Kit which includes the Intel Edison Starter kit and the SeedStudio Grove Starter Kit Plus. We then added the Flame, Gas and Water sensors that are not part of the Grove Starter Kit Plus and which an be found on the SeedStudio website (see below).
Here is the complete list of components used:
2) SeedStudio Base Shield which allows for easy and clearly understandable connection to the Grove sensors below.
3) a set of SeedStudio Grove sensors :
Step 2: Interconnections
The sensors are connected to the base shield I/O (e.g: A0 or D2 are labeled directly on the base shield).
Use the cables provided with the kit to connect them as indicated below:
Input A0 - Gas Sensor
Input A1 - Flame Sensor
Input D8 - Water Sensor
Output D2 - BUZZER
Output D4 - LED
You will need to connect your computer with a USB cable to the target in order to run and debug this project.
You will also possibly need to use the 9V battery adapter provided with the Grove Starter Kit to power the board if not using USB or the power transformer.
Step 3: Development Tools
Download and install the software for the Intel IoT Starter Kit here
We used the windows installer and chose to use the Eclipse IDE environment.
The Intel website provides instruction to install the latest firmware.
Step 4: Download the SafeHome Application
Step 5: Build and Run
- Use Eclipse to open the project in the SafeHome directory.
You shall then see your files with the Eclipse project explorer as showned on the attached screen capture
- If not done automatically you can click on project/build to build the binary.
Normally you shall not see any report of error.
- Create a target connection in Eclipse, for example you can right click in the 'Remote System details' window and select 'New Connection'.
Here in this example (see attached picture) the board use address 10.10.6.15 and the connection is named 'ediroot'.
Note: You may need to see the Intel website to setup wifi on the board using the Serial over USB connection.
- Use the run/debug menu and make sure you use the target connection you created.
If needed check in the project property that you are using the connection (see screen shot).
That is it, you shall be able to check that fire/water/gas can be detected by the different sensors, resulting in the LED and buzzer to activate.
Step 6: Improvements
- a piezzo sensor can be added to provide vibration/earthquake detection.
- data from water and gas sensors could be pushed to the cloud and alerts propagated from the cloud to the user via a mobile phone app.