Just wanted to chime in and let you know that this is excellent. I had something set up with an amazon relay/timer that 'worked', but the shortcoming was that once tripped, it would just count down to zero and stop, even if the trigger was re-tripped, which was a problem. This worked perfectly, and when tripped, it turns on and counts down, but if re-tripped, it resets the timer, so if it keeps getting re-tripped, it keeps resetting and will only finish the countdown and stop when it's no longer being tripped, which is exactly what I needed.
Great tutorial. Learned a lot. I’m curious though, does the power for the lightbulb also power the Arduino? If it does, how does it back feed through the relay?
In this example the power to the light bulb was on when the timer was counting down and turned off after it finished. Can it also be done so that the power turns on when the timer finishes? I am looking to use a set up like this to actuate a pull solenoid for a few seconds at a delayed time of 1-60 days
Hi really fantastic prj but could U help me to find a correct LCD I2C ......could U write DISPLAY code for nano and where i can buy it .........THX A LOT Piero ITALY
where the code for the timer works, I do not have anything showing on the LCD. any thought where to look for my error? The LCD Pot seems to adjust contrast as well. since i am newer, i may be missing something obvious.
Can I do this with 12v current? I need this to shut off and on my refrigerator compressor every 15minutes and the current passing through to the relay is 12v
The first time I tried this worked perfectly, but the next day I tried with both my UNO and UNO R3 and the timer initializes to 254:254:254 instead of 00:00:00. I do not even know where to begin diagnosing this problem. Please help!
can you please tell how EEPROM han help in this, I am trying to make an Inching project where relay switch turns off after an unchangeable coded timer and it may not reset as the power to micro controller cuts off accidentally.
Do some maths. Like one way to brute force it is to create a variable called totalReached. So like, when you count to the max a variable can in milliseconds, you record that, and do : unsigned long totalReached = 0; totalReached = totalReached + 1; And when you want to check for 90 years, lets say max timer is 24h, If (time == *max value in milliseconds* && totalReached == (90years*365days/years) { cookMeASandwich; } Idk something like that
All vdo related this topic are same, please change if you can I want timer on side and off side both Suppose 10 second on (manual set) 30 minutes off (manual set) Again 10sec on 30 minutes off This process continues run until manual switch off.
i got the code and schematics, i think you forgot to wear your glasses or u can't hear properly.😅😅 As he already mentioned how to get the code, library and schematics of this project.
Great video! I was wondering, I have a spare OLED (128x32, SSD1306) screen, would it be possible to use it as well? I know the code will change but, can you do it? Thank you so much!
My 16x2 display don't have sda scl converter circuit connected that is connected in your lcd, plz make this circuit with this same 16x2 lcd without sda scl wires,
@@ViralScience عندي الشاشة 2*16 مع المحول ولكن لا لا ويظهر شيء اين المشكله . شكرا لتعاونك معنا مقدما @ViralScience I have the screen 2 * 16 with the adapter, but nothing appears, where is the problem? Thanks for your cooperation in advance
HelloViral Science can you help me with a software-related matter? I want to create a project. In my project, I will be using a Nextion TFT screen, Arduino Uno, Green LED, Blue LED, DC motor driver, and DC motor components. In addition, I will use one yellow button and one red button. The program's operation is as follows: I will input a value, such as 5000 milliseconds, into the "n0" object on the Nextion screen. I will also enter a value between 0 and 255 into the "n1" object, which will be related to the motor's speed. Based on these values, the motor will run between 0 and 255 revolutions for 5000 milliseconds and then stop. After entering these values, to start the program, the "b0" object on the Nextion screen and the Arduino, connected to the analog "pin1" yellow button, will serve the same function. Whenever the analog "pin1" button or "b0" object is pressed, the motor will start running again and stop when pressed again. In case of an emergency while the motor is running, there will be a red button connected to analog "pin2" to stop the motor. When the "pin2" button is pressed, the running program will stop immediately, and the green LED will turn off. To restart the program, we will need to press the "Dual State Button" button. All of this system will be controlled by the "dual state button" object on the Nextion screen. When the dual-state button is open, the system will be ready to run, and the position of the dual-state button will be indicated by the green LED connected to digital "pin 12". I want to create a project that operates in this way. What is the cost of such a project?
can someone please help me. I'm trying to make a feeder for my rabbits and need to feed them every 8 hours. I'm trying to come up with something that will go on for few seconds then stops then goes on again after 8 hours and so on. Please help me. Thank you so much!