Fan_Control_v4 by techietav

Cloned from Sketch Fan_Control_v3 by techietav

This sketch is missing a short description
Sketch to control two ventilation fans connected to a heat recovery unit that is ducted to all of the bedrooms and bathrooms. Fresh air is warmed by the stale air extracted from the bathrooms and then fed into the bedrooms. 4 DHT11 sensors, one in each duct. Stale air humidity and temp is used to calc dewpoint and that is used to control the fan speeds. Intake disabled if below freezing to avoid the heat recovery unit freezing up. Data logged to serial which is connected to a bluetooth module and fed via Node-red to thingspeak.com To Do List ========== - Implement count rather than pause to ignore x readings when slowing down so that I have continuous readings Change Log ========== - Reset added for freeze flag - Output freeze flag and fan status in log - Changed log to JSON format - Added fan status , frost vars to log - Changed JSON format to match IBM IoT format - constrained dew from 10-21 to ensure fan speeds only increase in that range

Embed This Sketch

Use the following HTML code to embed the sketch code above in your blog or website.

<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/sketch:82343" frameborder="0"></iframe>

Embed The Serial Monitor

You can also embed the Serial Monitor section! Just use this HTML code.

<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/serialmonitor" frameborder="0"></iframe>