Home Automation: Control a Bulb ON/OFF time using Arduino Relay Timer V 1.0

preview_player
Показать описание
this video explains a relay timer based on Arduino. This a great home automation project.

*** Purchase Arduino Start Kit ***

Go directly to different chapters of this video:
00:00 Introduction and hardware explanation
04:24 Relay Current rating explained
06:02 Wiring Explained
08:27 Code explained
15:23 Demonstration

Purchase relay module

Related Videos:

Tutorial by Ahmad Shamshiri form Canada
****************************
****************************

Power Supply I use:

Get other projects code and learn Arduino

**** AFFILIATE PROGRAM ****
#robojax #robojax_timer
Рекомендации по теме
Комментарии
Автор

Thanks
I'm a beginner in Arduino
Your video help me a lot for my project
I didn't find any video like this
Thanks a lot good luck

mflua
Автор

Ooh... So nicely done with everything. I really appreciate your time in code functions, explaining every lines. Thank you so much. Really understood very well.

alphonsesynrem
Автор

This is very clear!!! I loved it, Thank you!!
I am trying to add a loop into the code to make it auto-repeat, with a counter, but it's not working with me 😅

zackalnassar
Автор

Thank you. I tried the code in the simulation program. It worked, but I faced a problem, and it does not perform the reset. What is the problem, then? Thank you.

RedwanMozar
Автор

Hello
You code was usefull for me to controle a water pump, using a overflow switch to start a the timer function, and then running for about 15 seconds.
Thanks for helping me make my project work.
The next thing I will try to make, is a connection to a RPi, logging the time stamps, so i can see when and how many times the pump is turned on, to figure out if ther is a differens between the time of the year and how mutch water comes out of the ground.
Ideas are welcome.

leojrgensen
Автор

Hi, thank you for the great video. If the timer was set to say 20seconds, What would happen if the start button is pressed when the countdown time has started. Would it start again from 20seconds or would it add 20 more seconds to the time that was left?

cosseyadam
Автор

You explained well. I have a project, liquid dispensing machine. I have to use a contactless water level sensor. So the logic is when the liquid level is above 100ml, the ultrasonic sensor will sense the container and after 2 seconds the pump will actuate for a controlled time (variable time b/n 0sec to 20sec).
And if the level drops below 100ml, the ultrasonic sensor should not sense and an led should glow.
I request for your help with this project.
Look forward to hearing from you.

JohnSmith-bhgj
Автор

I am having an issue where the potentiometer value is not changing the time interval. When I provide power to the Arduino the time interval seems to be randomly set to either the max time or min time. Adjusting the potentiometer does not change the time. If you or anyone else here had this problem, I would appreciate your advice on fixing it.

DanielMiller-fyip
Автор

Very use full but i came across a simple 555timer based relay circuit !! Which does the same . But there is no serial monitor ( obviously) but who cannot get their hands on timer relay ! Then this is the way to go ... good tutorial ..

Please make a tutorial on rpm counter using Hall effect sensor . And relay cut off after rpm limit . And a button to turn on the relay on or off when required.

Thank you in advance. Eagerly waiting for the video...

madhukeshnp
Автор

Important and useful video. Thanks a lot.

Prompt
Автор

All video are good, plz make video for relay on /off as per set time daily using arduino and RTC.

vipulpatel
Автор

How would I modify your code to make the timer auto-repeat? Thank you for a very clear presentation.

TallPaul
Автор

Thank you for making this video!
Could it also be programmed to display the time setting on 7 segment display?
I would like to build one to control an induction heater and would like to use this setup to set and control the device.
Thanks again!
Jeff

Jcal
Автор

Thank You so much for this video
you are awesome !!!

skycraft
Автор

Hi Robojax,
great project.
I am struggling with debounce from the start button, it will be possible for you to add code that eliminates this problem.

MrStranix
Автор

Can you help me with a instruction video or code on a timer with 2 timed functions with a single activation button and millis instead of delay?
I tried this for a while yet i can't find the magic touch to make it work as i want to..
I wanted to make a timer for a old Diesel where i press a pushbutton and it starts the glowplugs for 35 seconds and after that a second relay comes on to power the starter, after 3 seconds both timers turn off and the whole process won't start again untill the button is pushed again, purpose of using is on a boat where i have to wait for waterlocks and bridges sometimes for hours so with the engine off saves fuel and when the light turns green i need to start for those 40-ish seconds AND let go of the lines, thats why i thought of a Auto start, this already exists on the more industrial boats.
If this worked for me i also wanted to use this on my Tecma RV toilet on board where i could flush and mercerate with the single press of a button and a timed process instead of dualing with 2 buttons constantly :)

Please, could you help me with this? I already made use of your video above for a walk light from the light switch to my bed which i love very much

DennisPochenk
Автор

Awesome project, I'm going to make this.
can you tell me how to add milli second like 1 second, 1.5 second, 2 second, 2.5 second and so on.

ujjawal
Автор

HI thanx for this very usefull, while the remaining time when i press the button it goes to preset value again, i want to continue the remaining time even i press the start button pleas help thank you
Again

nuwanamarasingha
Автор

If you hold the button.then relay will be off or on?

explorerblack
Автор

hi how can i make it set for every 10mins duration? i just need to press start button once and duration of 10mins will loop

BrandingCityManila