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"); }
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
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
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
Thaks you sir, Is this coding possible every day?
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
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
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
❤❤❤❤❤❤
Bro pls make signal jammer circuit with less components pls 🔥🔥✅
So cool man 👍
Thank u
Hai bro
Please send the new code 🥺
Code in discretion ...download
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");
}
'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?
same error
RTC Update code
Mail send ...