Automatic Garden Light | Arduino Nano Relay Trigger at specific time | DS3231 RTC Module
Vložit
- čas přidán 5. 09. 2024
- This allows us to be active at any time of the day and then deactivate at the required time.This happens automatically every day.
E.g.
1. Automatic garden bulbs
2. Automatic garden water spray
3. Automatic water tanks
This channel to share exciting videos of Arduino projects,Electronics and electrical easy diy projects to share with you I hope this projects will be helpful for you to create something new .
Do not Forget to like comment and subscribe my channel.
SUBSCRIBE LINK:-
/ @slideas1
Arduino Code :-
www.mediafire....
Circuit Diagram :-
www.mediafire....
RTC DS3231 Library :-
www.mediafire....
#RTC_DS3231 #Automatic_Garden_Light #Trigger_at_specific_time
i found a solution for current off issue, no need for eeprom, just replace the hour and min like this
example: i want to set up my microwave oven from 23:10 to 23:40.
if(t.hour == 23 && t.min 10){
digitalWrite(Relay,HIGH);
digitalWrite(Led,HIGH);
Serial.println("LIGHT ON");
}
else {
digitalWrite(Relay,LOW);
digitalWrite(Led,LOW);
Serial.println("LIGHT OFF");
}
Great 👍
off hour set
God bless you, Sir
❤❤❤❤❤❤
Sir, what should I do if I want to set in on for a couple of hours every day? Thank you in advance for the fabulous tutorial
use for and while instead of using const int for miin and hours
if(t.hour == 23 && t.min 10){
digitalWrite(Relay,HIGH);
digitalWrite(Led,HIGH);
Serial.println("LIGHT ON");
}
else {
digitalWrite(Relay,LOW);
digitalWrite(Led,LOW);
Serial.println("LIGHT OFF");
}
worked for me, even if i unplug the device
Sir suppose mera light on hai and current chalagaya after 5 min se current aagaya to kiya light on hoga ya nahi .? Pl revert me this project is awesome....if its work as same
So cool man 👍
Thank u
If u add eeprom then its will work good other wise when current off system not come to same position
I have update code for this problem
Code plll
@@sonuala5671 send mail
@@slideas1 no code there pl send updates code sir plll
Pl send sir updated code
Bro pls make signal jammer circuit with less components pls 🔥🔥✅
Hai bro
'DS3231::DS3231(const uint8_t&, const uint8_t&) sir plese fix this error problem
do you have the answer for now?
@@randisetiana8174 yes sir
@@ashimgain i got same error...may i know how did you fix it please?
Email id not sent probleam
delete the const int variables, instead use > < command
if(t.hour == 23 && t.min 10){
digitalWrite(Relay,HIGH);
digitalWrite(Led,HIGH);
Serial.println("LIGHT ON");
}
else {
digitalWrite(Relay,LOW);
digitalWrite(Led,LOW);
Serial.println("LIGHT OFF");
}
Please send the new code 🥺
Code in discretion ...download
RTC Update code
Mail send ...