Posts

Showing posts from July, 2020

control a led using rtc with arduino

Image
finally found a way to control led  using rtc with arduino!!     This is a example sketch.you can create anything using this example .       what you need :      1.arduino board      2.rtc (real time clock)      3.led (i am using built in led) *since i am using this rtc module for my projects i noticed a problem,i set a specific time to turn off and on the led,using(==) [see arduino reference] condition,but in case of power failure, it fails to turn on/off the led.because the time we set has already passed.in this case i figure a new way.please see the full tutorial.     connections are shown below;    ...