This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
projects:home_environmental_sensor_array [2014/09/06 00:16] kennethsbecker [Follow-up tasks] |
projects:home_environmental_sensor_array [2014/11/22 22:44] (current) kennethsbecker [Components] |
||
---|---|---|---|
Line 4: | Line 4: | ||
__Summary Status__ | __Summary Status__ | ||
- | Making progress | + | After experiencing a minor flood in the basement when the water softener turned |
Click [[http:// | Click [[http:// | ||
- | ===== Phase 1 ===== | + | ===== Final Solution |
- | ==== Description ==== | + | |
- | Create a device that will sense when water is spilling in to the basement. | + | |
- | + | ||
==== Features ==== | ==== Features ==== | ||
+ | * Auto-startup on power up. | ||
+ | * Auto-recovery on program failure | ||
+ | * Status light that shows when pi is running. | ||
* Check for water in the basement. | * Check for water in the basement. | ||
- | | + | |
- | * Send email to mail address | + | * Send email to mail address. If internet is down, wait until it is up to send message. |
- | * Auto-startup | + | * Update local status page and internet database |
+ | * Send all clear email when water clears | ||
+ | * Read temperature and humidity in basement | ||
+ | * Store hourly readings to SQL tables | ||
+ | * Check internet connectivity | ||
* All components mounted in enclosure that is mounted on wall and connected to 120v power | * All components mounted in enclosure that is mounted on wall and connected to 120v power | ||
==== External Features ==== | ==== External Features ==== | ||
* Email address that forwards mail to several email addresses as well as texting | * Email address that forwards mail to several email addresses as well as texting | ||
+ | * Web site that displays reading results in tabular and graphical form | ||
==== Schematic ==== | ==== Schematic ==== | ||
* [[http:// | * [[http:// | ||
+ | |||
+ | ==== Code ==== | ||
+ | * [[https:// | ||
+ | ==== Bill of Material ==== | ||
+ | |||
==== Components ==== | ==== Components ==== | ||
* [[http:// | * [[http:// | ||
* 120v to 5v USB power converter and USB cable for Raspberry Pi | * 120v to 5v USB power converter and USB cable for Raspberry Pi | ||
- | * Duplex power outlet | + | * Duplex power outlet |
* Power plug for input with power cord for PC | * Power plug for input with power cord for PC | ||
* Power switch | * Power switch | ||
Line 46: | Line 56: | ||
* Solder | * Solder | ||
- | ==== Python Code ==== | + | ==== Description |
- | | + | Create a device that will sense when water is spilling in to the basement. |
+ | |||
==== Tasks ==== | ==== Tasks ==== | ||
- < | - < | ||
Line 75: | Line 85: | ||
- < | - < | ||
- < | - < | ||
- | - Make HESA python program start as a service rather than in the rc.local script -- Not started | ||
- < | - < | ||
- < | - < | ||
- | - Test development web server | + | - Store readings to local table, then update internet table, if available -- Not started |
+ | - < | ||
+ | - Make daily routine to consolidate daily temp and humidity data to a summary table -- Not started | ||
- | ===== Phase 2 ===== | + | ==== Future Ideas ==== |
- | ==== Description ==== | ||
- | |||
- | Make the device more user-friendly and interactive. | ||
- | |||
- | ==== Features ==== | ||
- | |||
- | * Record resistance readings multiple times a day in a web-based database | ||
- | * Record system statuses in a web-based database | ||
- | * Check internet connectivity | ||
* Display status on LCD screen | * Display status on LCD screen | ||
- | * Turn on light if internet connection is lost | ||
- | * Turn on siren if flood condition recognized | ||
- | * Repeat messaging every 24 hours | ||
- | |||
- | ==== External Features ==== | ||
- | |||
- | * Web site that displays reading results in tabular and graphical form | ||
- | |||
- | ==== Components ==== | ||
- | |||
- | * Beaglebone Black | ||
- | * Green LED for normal operating conditions | ||
- | * Yellow LED for internet lost | ||
- | * Red LED for hazardous condition | ||
- | * 16x2 display | ||
- | * Siren | ||
- | * Manual power switch for siren | ||
* Reset button | * Reset button | ||
- | + | | |
- | ==== External Links ==== | + | |
- | | + | |
- | + | ||
- | ==== Tasks ==== | + | |
- | - < | + | |
- | - < | + | |
- | - < | + | |
- | - < | + | |
- | - < | + | |
- | - < | + | |
- | - < | + | |
- | - Get HESA python program working on BBB -- Not started | + | |
- | - Make HESA start automatically when BBB boots up -- Not started | + | |
- | - < | + | |
- | - < | + | |
- | - < | + | |
- | - < | + | |
- | - Get LCD display working with BBB -- Not started | + | |
- | - Add LCD code to HESA python program -- Not started | + | |
- | - Install LCD screen in HESA enclosure front panel -- Not started | + | |
- | - Design circuit that includes reset button -- Not started | + | |
- | - Obtain components for reset button circuit -- Not started | + | |
- | - Install reset button circuit in HESA enclosure -- Not started | + | |
- | + | ||
- | ===== Phase 3 ===== | + | |
- | + | ||
- | ==== Description ==== | + | |
- | + | ||
- | Add a battery backup feature so the system can send alerts and shutdown gracefully in case of a catastrophe. | + | |
- | + | ||
- | ==== Features ==== | + | |
- | + | ||
- | * Battery backup | + | |
- | * Detect power outage and send email alert | + | |
* Add a button to shutdown the Pi, then shutoff power | * Add a button to shutdown the Pi, then shutoff power | ||
* Add a button to reboot the Pi | * Add a button to reboot the Pi | ||
- | * Low temperature detector | ||
- | * Monitor carbon monoxide levels | ||
- | * Monitor radon levels | ||
- | |||
- | ==== Components ==== | ||
- | |||
- | * Battery power supply | ||
- | * Device that detects primary power outage | ||
- | * Temperature sensor | ||
- | * Carbon monoxide sensor | ||
- | * Radon sensor | ||
Members: [[members: | Members: [[members: |