Personal Blog – Dushyant

Archive for December, 2013

Standalone Temperature and Humidity Control v2

by on Dec.08, 2013, under Electronics

If you’ve reached here directly – please see:

https://dushyant.ahuja.ws/?p=740

I’ve modified the code to add the following:

  1. Used the OneButton library so that the setpoint can be increased by clicking button and decreased by long clicking the button
  2. Used the Timer library so that I don’t rely on delay – which was inaccurate
  3. Change the logic for temperature such that the heater gets switched on if the temperature goes below the setpoint. Makes more sense as you don’t need the heater to be on at the setpoint. Also, reduces chances of the heater malfunctioning by switching on and off all the time
  4. Used a similar logic for humidity – on when humidity is less than 50 and off when it is more than 60

(continue reading…)

2 Comments more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Blogroll

A few highly recommended websites...