Arduino LED blink using millis with different ON and OFF time - Robojax

preview_player
Показать описание
Turn LED ON or OFF using millis() function without delay in Arduino. We can have different ON and OFF time.

The best thank you for me is to not to skip ads and Subscribe 🔔 to my channel, like 👍 the video It is greatly appreciated. 🔔 😊.
I will reply to all Subscriber's 🔔 questions. So make sure to Subscribe and enable the bell 🔔.😊

آشنایی با ملیس به فارسی

Jump to different chapters of this video
00:00 Start
00:30 Introduction
01:11 Wiring Explained
02:03 Code explained
06:33 Demonstration

Related videos:

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

Get other projects code and learn Arduino

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

To the point on the code and circuit, which is modifiable for other uses. This will work great by using the LED output to trigger on and off my relay circuit to turn on and off my hydroponics water pump at different on and off intervals. Thank you Robojax for helping to make the world a better place by sharing.

stickbug
Автор

thanks, you saved me again; didn't know how to get the LED set to high on boot :)

Gocast
Автор

I was searching for a looong time, thank you!

BroBZH
Автор

Thank you for your video. Really very helpful! I "translated" this code, once undersood how it works, to a micro:bit board.
Again, thanks for sharing your knowledge.

qcelma
Автор

Hi Robojax.
been watching all your videos in youtube. and its a big help for me as a beginner.
now im stating to study the millis fuction using led blink.

in this video just want to ask. if i want to make multiple led using this code. that it means i just need to copy the same code multiple times?

chuicoevenmerk
Автор

thank you very much Sir your tutorial was very helpful!

justicetom
Автор

Thanks for wornderful tutorial. This I want. Also pls let me know how to set led with blinking like Aeroplane light like two short blink and a long off .. like this.. pls awaiting an early reply.

letsplaytogether
Автор

this video concept ok sir. including one push button pressing this led glowing for on & off video uploading sir.

sarathigayu
Автор

thank you for the video it helped me a lot. can you make a video if I tell you for little project means basic circuit

qasershah
Автор

Can you make a video on how to use coin acceptor/slot that accepts diiferent denomination, add it and remember with arduino uno? Thanks.

anythingunderthesun
Автор

Great tutorial 🙏 just wondering if you’d give a private lesson (online) on an issue I’m having surrounding this? I’d be happy to pay for your time, thanks

AntonLock
Автор

Adding millis every completed loop, and not reset them, isn't going to overflow at a certain time ?

sfour
Автор

What do you use to set up your recording equipment to make the video please?

islandaloha
Автор

, thank you for sharing a video Mr. Robojax. I will try your code in my Arduino. Can I ask you if the Arduino can do by two loops in millis and can put some pinmode?

josephdesuasido
Автор

I am trying to fire a fuel injector and then fire a spark coil. I have found linear programming not suitable. I have attempted to modify your program, it loads but the timing seems not accurate/random have you done a video or a sketch to use two leds at the same time.

Graemecns
Автор

Could you form how to cause the LED to blink 6 times then stop. also to stop and go to a second led. Thank you

salc
Автор

Mr. what would i have to add if i wanted the led to turn in for one minute every ten minutes. Also add a button so that if the button is pressed during the ten minutes it will turn on for one minute. Thank you in advance.

truthseeker
Автор

how do I modify the code to run 2 LEDs „indipendently“ from each other with different on and off times?

emilbree
Автор

I was wondering how I could use Millis in my Arduino plant watering system, so it tells me when it was last watered? Any idea RoboJax?

r-_
Автор

Hey I want an led turn on and off I.e toggle for 2 minutes and then stop. but without delay function and and if I interrupt it should stop I.e reset. What code should I use can use suggest me

Tubeunus
welcome to shbcf.ru