-
Measuring dwalin Feather runtime (thermostat on LiPo)
12/13/2018 at 12:49 • 0 commentsFor most modules, when the house doesn't have power, I'm not worried about the modules being offline. For the thermostat, however, I need it to run even without power, as it's controlling heat for the house. I have a generator that covers a few circuits, including the furnace, but the thermostat is located in the junction of bedrooms and office, not near the furnace, so it won't be covered by the generator. Since the longest power outage I've had in this house was 3 days, I'm targeting 72 hrs of run time for the thermostat without wall power. To achieve this, I'll need an internal power storage unit of some kind as well as a mechanism to use minimal power from that storage. So the thermostat consists of a Raspberry Pi Zero W for communication, which will be powered from the wall and not off internal power, as well as a Adafruit Feather which is what directly controls a relay to switch the furnace. The Feather will be running on either supercap or a rechargeable battery of some kind.
Last night I set up the Feather connected to the Zero with a serial line between them so the Zero can log what the Feather is outputting. The Feather has a sketch on it that allows up/down adjustment of set temp via two physical buttons, running an MCP9808 to measure temp and a eInk display to show current temp, set point, battery voltage and 'furnace commanded on' or 'furnace off' as well as reporting status out the serial port to the Zero.
For the first test, I'm running this off a 1.2Ah LiPo cell with the eInk to see how long it's able to run in that configuration. The only thing that's not currently part of the circuit is the relay (hence it isn't actually commanding the furnace)
-
Progress to date
12/12/2018 at 12:08 • 0 commentsFirst node (bofur: garage temp, humidity, pressure, tVOC from BME680 mounted to Pi Zero W) installed and running, feeding data to Prometheus w/ Grafana front end running on AWS node.
Nodes inside the house will use WiFi
Nodes outside and in back shed will use LoRa
Next node (dwalin) on the bench. This will be the thermostat controlling the furnace. A combination of Pi Zero W with BME680 and Adafruit Feather M0 Express w/ relay, 2 buttons, MCP9808. Zero connected to Feather via serial. Undecided if I'm going to use OLED or eInk. Zero will be powered by USB brick. Feather will be powered by supercap. Zero will be the network interface and gather temps from around the house to generate an average to feed Feather. On power loss, Zero is off, Feather runs from supercap, maintaining temp at what was last set - with up/down buttons for human override. I need to test supercap run time and display tech to determine what's workable compromise to run 72 hrs without power.
Planned nodes:
ori, nori - bedroom and office with BME680 (same as bofur, USB brick powered - bedroom to be mounted inside bedside clock)
gloin - back shed with BME680 and LoRa (may use Pi Zero [not W]
balin - attic with multiple DS18B20 to monitor ambient, domestic hot water, domestic cold water, heating circuit return
bombur - yard solar powered Feather w/ supercap and BME680, no display or input, just gather and report - solar harvest and supercap to work year round exposed in New England weather.