Close

Working with a 555 timer

A project log for ESP8266 Plant Watering

Prevents plants death by controling water levels.

mcenderdragonMCenderdragon 09/30/2019 at 12:500 Comments

I am still alive, kinda. Exams had taken alot of my time away and I used the past weeks to relax and get ready for the next semester.

Anyway, since the EEPROM is working it is time to move to the next step: the external timing.

Thanks to this site I got a formula to calculate the timings for the on and off states. 105 + 1645 seconds is 29.17 minutes so almost half an hour. I have found a website named timezonedb, and it has a relay good API to get timestamps so I will use that to get the real time the timer needs to turn the chip on and off. The website returns a json obj so I am using ArduinoJson from bblanchon.

Edit:

I messured the time with the timestamps (results where 1569857598 and 1569855755). This means it tackes 1843 seconds (30 min 43 seconds) to do a cycle instead of 1750 seconds (29 min 10 seconds).

Discussions