Posts

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;    ...
Image
Digital clock using arduino i2c interface Arduino is a prototype language wich is open source, and it is based on language c , currently they have more than 1 million active users.by the way this tutorial will guide you to build and design a precision  digital clock using arduino i2c interface. for this tutorial you need following components:     arduino uno board/any other arduino board      lcd display (16x2) with i2c interface(i2c module)        real time clock(rtc) [ds1307/ds3231]       some jumper wires   diagram is shown below:       you can  download the code here: lcd1.ino         if you satisfied with this please comment below. since i am a beginner please comment if any error occurs. some of the characters displayed in the lcd are shorten due to some limitation in the lcd panel. [created with blogger 😀-2020] all rights reserved.