User Tools

Site Tools


projects:home_environmental_sensor_array

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
projects:home_environmental_sensor_array [2014/10/18 23:33]
kennethsbecker
projects:home_environmental_sensor_array [2014/11/22 22:44] (current)
kennethsbecker [Components]
Line 12: Line 12:
   * Auto-startup on power up.   * Auto-startup on power up.
   * Auto-recovery on program failure   * Auto-recovery on program failure
 +  * Status light that shows when pi is running.
   * Check for water in the basement.  If found:   * Check for water in the basement.  If found:
     * Turn on power to submersible pump     * Turn on power to submersible pump
Line 19: Line 20:
   * Read temperature and humidity in basement   * Read temperature and humidity in basement
   * Store hourly readings to SQL tables on internet   * Store hourly readings to SQL tables on internet
-  * Web-based status page with graphs+  * 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 ====
Line 36: Line 38:
   * [[http://www.amazon.com/gp/product/B009SQQF9C/ref=as_li_ss_tl?ie=UTF8&camp=1789&creative=390957&creativeASIN=B009SQQF9C&linkCode=as2&tag=rynokenterprises-20 | Raspberry Pi]]   * [[http://www.amazon.com/gp/product/B009SQQF9C/ref=as_li_ss_tl?ie=UTF8&camp=1789&creative=390957&creativeASIN=B009SQQF9C&linkCode=as2&tag=rynokenterprises-20 | Raspberry Pi]]
   * 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 (2)
   * Power plug for input with power cord for PC   * Power plug for input with power cord for PC
   * Power switch   * Power switch
Line 54: Line 56:
   * Solder   * Solder
  
-===== Phase 1 ===== 
 ==== Description ==== ==== Description ====
 Create a device that will sense when water is spilling in to the basement.  The device will shut off power to the water softener and notify people that there is a problem. Create a device that will sense when water is spilling in to the basement.  The device will shut off power to the water softener and notify people that there is a problem.
Line 84: Line 85:
   - <del>Print a [[http://www.thingiverse.com/thing:62978|raspberry pi base]] on the 3D printer</del> -- Done   - <del>Print a [[http://www.thingiverse.com/thing:62978|raspberry pi base]] on the 3D printer</del> -- Done
   - <del>Replace ethernet faceplate with one with one or two openings rather than four</del> -- Done   - <del>Replace ethernet faceplate with one with one or two openings rather than four</del> -- Done
-  - Make HESA python program start as a service rather than in the rc.local script -- Not started 
   - <del>Install MySQL administration tool</del> -- Done   - <del>Install MySQL administration tool</del> -- Done
   - <del>Populate MySQL tables</del> -- Done   - <del>Populate MySQL tables</del> -- Done
-  - Test development web server -- Not started+  - Store readings to local table, then update internet table, if available -- Not started 
 +  - <del>Make monthly graphs</del> 
 +  - 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.  Replace the Pi with a Beaglebone Black to make it able to connect to more things.  It should record daily data and statuses in a web-based database.  It should check the internet connection regularly.  If there are any non-standard conditions, alert the humans with email (if possible), lights, and sound until the problem conditions are gone. 
-  
-==== 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
- +  * Add a battery backup feature so the system can send alerts and shutdown gracefully in case of a catastrophe.  
-==== External Links ==== +
-  [[http://elinux.org/Beagleboard:BeagleBone_Black_Accessories | BeagleBone Black Accessories]] +
- +
-==== Tasks ==== +
-  - <del>Obtain Beaglebone Black</del> -- Done +
-  - <del>Obtain 4gb or larger mini-SD card</del> -- Done +
-  - <del>Update O/S on BBB</del> -- Done +
-  - <del>Figure out how to power up BBB without USB cable</del> -- Done.  It needs a power supply that can provide 5v, 1A (or more), 2.1mm, CENTER POSITIVE. +
-  - <del>Obtain power supply for BBB</del> -- Done.  An old Linksys PPP device had an appropriate PSU. +
-  - <del>Install Debian image on eMMC</del> -- Done +
-  - <del>Make support / case for BBB</del> -- Done +
-  - Get HESA python program working on BBB -- Not started +
-  - Make HESA start automatically when BBB boots up -- Not started +
-  - <del>Create MySQL tables to store status updates</del> -- Done +
-  - <del>Make HESA program update status in MySQL table</del> -- Done +
-  - <del>Make web page on rynok.org to display HESA status</del> -- [[http://www.rynok.org/hesa/hesaStatus.php | Done]] +
-  - <del>Find working 16x2 LCD display</del> -- Done +
-  - 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.  Detect other environmental problems, record regular readings and send alerts. +
-  +
-==== 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:ken_becker|Ken Becker]] Members: [[members:ken_becker|Ken Becker]]
projects/home_environmental_sensor_array.1413675204.txt.gz · Last modified: 2014/10/18 23:33 by kennethsbecker