Friday, December 13, 2013

More ideas for improvement

Change reporting criteria to capture temperature inflections, like when temp. starts declining after successive rises.

Monday, December 2, 2013

Some ideas for improvement

Now that we have a very satisfactory unit in terms of basic functionality, power, cost an reliability, it's time to add some functionality to make more home information available via SMS. This is the first of a number of posts aimed at keeping track of desirable improvements.

  • Add SD-card recording capability if Arduino memory will allow. Stack the SD shield I have now in NH.

  • Change to variable reporting period. More frequent if very cold, or hot outside. 

  • Add ability to change reporting period via SMS, from only some phone numbers.

  • Add ability to turn on or off bits, maybe connected to alternate thermostats so temps can be set remotely.


  • Add a/c electrical power monitoring and UPS backup. Since we are away a lot we need to know when power goes out so we can avoid food rotting in unpowered refrigerators. SInce the unit uses fairly low power a simple low-energy UPS could be used to keep it running while we measure a/c power using a small wall-wart and optical isolator and single digital input on Arduino.

  • Monitor furnace burner  and well pump operational cycles using a/c wiring taps of some sort. Acquire on off times over longer periods and report some sort of statistics, like total running time each day, average, min and max running times, and average time between cycles. Store info in EEPROM (1 kbyte max) to ride through possible power outages.

  • Keep temperature min/max/average for day.

Results of 1 week test run: best system yet!

We just got back from a trip over Thanksgiving during which I left the new monitor running. The latest version measures two temperatures using 10K NTC thermistors, reports them periodically via twitter, and responds to SMS messages it is sent by returning the two temperatures. SMS can be sent via email or cell phone, and will respond in either case via email or SMS depending on where the SMS came from.

Happily the unit performed flawlessly. I got twitter reports as expected and responses to SMS from my iPhone and emails. I had the unit set to tweet every 2 hours, or when the temperature changed more than 5 degrees F.

The unit is much less expensive, simpler, lower power and more reliable than either of my earlier Linux based approaches. The hardware cost is $39 for the SIM900 modem shield and $28.80 for the Arduino, plus $11.99 for the power adapter and $7.99 for the case. I built the 10K NTC temperature sensors my self at negligible cost.

Here's a screenshot of the order from http://store.linksprite.com/:



The SIM card is my old AT&T Gophone account SIM, for which I buy packages of 1000 SMS for $9.99/month. At 30 SMS/day hat is more than enough for experimenting. If I built another for the condo I could probably use the cheaper Arduino pro.

Bottom line is the unit cost total of about $89 for the (unpackaged) hardware and $9.99/month cell service. That's a lot lower monthly cost than a unit that requires an internet connection, at least for moderate data usage packages.

Interestingly, my cell phone SIM from Black Wireless, an AT&T distributor of pay as you go service, worked from the cruise ship, which provided cell service at sea for the same $0.05 per SMS and voice minute (although I did not try to make voice calls.)

Here's a twitter page: