Hi, I have a project with an UNO board and ESP3822.
Project is working great and internet connection is stable.
I need to keep time with my project so that I can reset both the UNO and ESP every morning at 1am (when not in use). First the UNO will reset the ESP and thereafter itself.
I would prefer keeping the RTC updated with NTC, keeping everything automatic and surviving power outages etc.
Any help welcome!
aarg:
What is NTC?
May be is Network Time Protocol (NTP) ?
BillHo:
May be is Network Time Protocol (NTP) ?
Sure. Why would you need NTP time to know that it is approximately 1:00 AM? If you already have an RTC that varies by less than a minute a year?
Thanks for the replies!
Yes NTP is Network Time Protocol (NTP); networking protocol for clock synchronization.
You are right, RTC will be sufficient.
Now, the next question, what is the best way to reset my Arduino and ESP at the same time?
Say I want to reset both at the same time, say 1am every morning , and each have it's own power supply?
Perhaps to use a relay and have the mains run through Normally Closed and when I set relay HIGH at 1am, there will be a quick short in both power supplies and then immediately go on again as relay will return to Normally Closed after power has been cut..?
Or is there a better way? Is this okay for circuitry?
Not sure why you would want to switch the mains power instead of the low voltage. That introduces a lot of component selection and safety issues.
aarg:
Not sure why you would want to switch the mains power instead of the low voltage. That introduces a lot of component selection and safety issues.
Because I want to restart the Arduino and also the ESP at the same time and each of them have a separate power supply. So my thought was to use a spare relay to cut the mains going to both power supplies...
Perhaps connect the 9V supply (Arduino) negative and 3.3V power supply (dedicated for ESP) negative together on relay Normally Closed?
May I ask what an ESP3822 is?
When I Googled it, I only got 70 replies. The first was a link to this post, the others seemed irrelevant.
JohnLincoln:
May I ask what an ESP3822 is?
When I Googled it, I only got 70 replies. The first was a link to this post, the others seemed irrelevant.
ESP8266 offers a complete and self-contained Wi-Fi networking solution, allowing it to either host the application or to offload all Wi-Fi networking functions from another application processor.
http://www.esp8266.com/