Countdown Creation: Arduino Timer with OLED Display using millis() function

  Рет қаралды 19,336

Mario's Ideas

Mario's Ideas

Күн бұрын

Пікірлер: 48
@jimknopf705
@jimknopf705 3 күн бұрын
nice project to get started with an Arduino 👍
@Marisha-home
@Marisha-home 10 ай бұрын
This is sooo good explained!! ❤❤❤ Thank you so much!! Please do more videos!!🙏
@carrizzle9586
@carrizzle9586 2 ай бұрын
Are you using a timer library or something because I have never seen an if statement that looked like the one in your code.
@marios_ideas
@marios_ideas 2 ай бұрын
Let me know the exact time stamp in the video
@jromhek2070
@jromhek2070 2 жыл бұрын
Thanks man .. I need this project with some modifications like different screen and batteries . Keep up the good work .
@marios_ideas
@marios_ideas 2 жыл бұрын
THX.Give video a like if you enjoyed it:)
@backyardcnc
@backyardcnc 9 ай бұрын
It needs a temperature sensor so that it automatically starts the timer once the water hits boiling temp! Then the eggs would be perfect!
@cursosvvr
@cursosvvr 3 жыл бұрын
Hi!! I would like to know if it is possible to use OLED i2C SSD1306 128X64 (which only has 4 pins). You used SPI (with 7 pins). Is it possible to use oled i2C in this project?
@marios_ideas
@marios_ideas 3 жыл бұрын
Yes it is. You would need to adjust the code so it activates I2c display. You can check one video I have for analog style clock on Oled display. This one uses I2c and you can check the code
@cursosvvr
@cursosvvr 3 жыл бұрын
@@marios_ideas Great Mario..Thank You!!!
@raymtnz
@raymtnz 6 ай бұрын
Hi, if I only have OLED Display SSD1306 128x32 to display the timer, what should I change in the code and where do I plug the SCL and SDA? Thank you.
@marios_ideas
@marios_ideas 6 ай бұрын
This video shows creation on 128x32 display
@Michi61069
@Michi61069 Жыл бұрын
Hi, this project is exactly, what I was searching for. Perfect for my needs. Unfortunately, the links do not work. Can you please tell me, how I can get the code?
@marios_ideas
@marios_ideas Жыл бұрын
Check now
@edgarpenaloza3125
@edgarpenaloza3125 2 жыл бұрын
Felicitaciones muy buen proyecto
@LDRCdriver
@LDRCdriver 2 жыл бұрын
Hi. I want to thank you for making your work on this available for us to use. I'm trying to implement this on my project but when I long press the start button it shows the bell instead of starting the countdown timer. I'm sure they're connected correctly since I can increment the minutes without any problem...it seems that it doesn't recognise this" if(State==1)"
@marios_ideas
@marios_ideas 2 жыл бұрын
This is because Arduino interprets that the button was pressed twice. I had this problem and in the code introduced a condition in the interrupt function millis() - Timestamp_Button_Pressed>200. Which basically ignores the event of pressing the button if it happened within less then 200ms of the previous button press. If you change this to a 1000 then it should fix or improve this
@LDRCdriver
@LDRCdriver 2 жыл бұрын
@@marios_ideas Thanks for the reply. You explained that implementation very well on the video and I've watched it several times...I was looking at that values but only tried to reduce them to 100 and increase to 300 but had no effect. Will change to 1000 and see if this improves. Again thanks a lot for the help. 🙏
@LDRCdriver
@LDRCdriver 2 жыл бұрын
@@marios_ideas Changes had no effect, it really prevents multiple pressings of the button but when I press it goes back to 0...
@rsshocks9346
@rsshocks9346 3 жыл бұрын
Hi do you know if its possible to use this on a 128x64 pixel screen. If possible is there an easy solution to change in the code thanks!!
@marios_ideas
@marios_ideas 3 жыл бұрын
Watch my video carefully. All information is there. There are two lines that define display dimentions. You just need to change hight. Then it will work but all the stuff will be displayyed in the top half of the screen. If you want to move it to the middle then you need to find a place to add the vertical offset of 32 . Then all the conent will be aligned vertically
@hafizuddindin7932
@hafizuddindin7932 2 жыл бұрын
hey , how about making a timer for hours and minute ? can u help me , Thanks
@marios_ideas
@marios_ideas 2 жыл бұрын
Well, I am not going to write the code for you. I get too many requests like this. Try to fully understand the code here. The concept is exactly the same, the time interval is just greater. You would need to get the smaller fon as hours minutes and seconds would not fit with the current font size..
@elektroaqua7630
@elektroaqua7630 4 жыл бұрын
Very good intro!, keep doing it!
@marios_ideas
@marios_ideas 4 жыл бұрын
Thanks:)
@soriatel
@soriatel 3 жыл бұрын
Good Job, congratulation
@marios_ideas
@marios_ideas 3 жыл бұрын
Thank you!
@mesquitamk1681
@mesquitamk1681 3 жыл бұрын
VERY GOOD LEGAL YOUR DESIGN. HOW TO PLACE A RELAY TO TURN OFF THE TRAILER? I DO NOT KNOW HOW. SO I KNOW COPY AND NECKLACE
@RTCTimer
@RTCTimer Жыл бұрын
hello can i have the code as the arduino project hub link is not working
@marios_ideas
@marios_ideas Жыл бұрын
I have added the link. Can you confirm that it works for you
@RTCTimer
@RTCTimer Жыл бұрын
@@marios_ideas i still cannot access the code through the arduino project hub website. Perhaps you can use gitbhub for the code?
@marios_ideas
@marios_ideas Жыл бұрын
@@RTCTimer The site migrated to the new version and this completly shafted my links. I reported this problem to them a week ago. I will be forced to migrate all that content somewhere else:(
@RTCTimer
@RTCTimer Жыл бұрын
@@marios_ideas ah i understand, what is this project title in arduino project hub? maybe i can search them manually
@ashokoza2175
@ashokoza2175 Жыл бұрын
Hey brother, can you share the CODE ? (Given link has no such project or CODE !)
@marios_ideas
@marios_ideas Жыл бұрын
I will fix it soon. It is the fault of the website i store the code on. They modernised it and it invalidated some of the links
@BlondieSL
@BlondieSL Жыл бұрын
@@marios_ideas 5 months later... fixed? If so, new links????
@marios_ideas
@marios_ideas Жыл бұрын
@@BlondieSL Check now
@BlondieSL
@BlondieSL Жыл бұрын
@@marios_ideas Thanks. It's there! Appreciate it. I like the little animated bell.
@gauravbhattarai75
@gauravbhattarai75 4 жыл бұрын
I guess those are pull down resistors.
@marios_ideas
@marios_ideas 4 жыл бұрын
Thanks for spotting it. You are right. Missed it
@soriatel
@soriatel 3 жыл бұрын
how to add a relay?
@marios_ideas
@marios_ideas 3 жыл бұрын
You have a circuit that you want to power. Add the relay to it and the signal cable should go to one of the digital pins of Arduino on which you created this timer and few lines of the code that if the time is up it sends the high signal to the relay.
@marios_ideas
@marios_ideas 3 жыл бұрын
I have a separate video on relays. kzbin.info/www/bejne/jpqylKuvrrmrr5Y
@PekaVuite
@PekaVuite 3 жыл бұрын
I sub ur telegram was so awesome :D
@marios_ideas
@marios_ideas 3 жыл бұрын
Thanks. Just posted a new video. Maybe you will find it interesting.
@volodymyrkostenko3847
@volodymyrkostenko3847 Жыл бұрын
String TimeLeft(unsigned long MsLeft){ String Result; int M; int S; M = (long)MsLeft/60000; if(M
@marios_ideas
@marios_ideas Жыл бұрын
A word of explanation?:)
@volodymyrkostenko3847
@volodymyrkostenko3847 Жыл бұрын
@@marios_ideas git repo with code is good practice. Long time ago
How to create Arduino analog style clock
10:14
Mario's Ideas
Рет қаралды 6 М.
How to use millis() function to multitask in arduino code.
10:34
Mario's Ideas
Рет қаралды 61 М.
Wait for the last one 🤣🤣 #shorts #minecraft
00:28
Cosmo Guy
Рет қаралды 11 МЛН
Сюрприз для Златы на день рождения
00:10
Victoria Portfolio
Рет қаралды 2,4 МЛН
Life hack 😂 Watermelon magic box! #shorts by Leisi Crazy
00:17
Leisi Crazy
Рет қаралды 80 МЛН
I run untested, viewer-submitted code on my 500-LED christmas tree.
45:17
Runway Just Changed AI Video Forever! Seriously.
9:39
Theoretically Media
Рет қаралды 53 М.
OLED Displays with Arduino - I2C & SPI OLEDs
41:41
DroneBot Workshop
Рет қаралды 1,1 МЛН
Timer Interrupt ISR + Examples | Arduino101 | Set Registers & Modes
16:13
How a Bunker Buster Bomb Works?
9:11
AiTelly
Рет қаралды 42 М.
Arduino OLED Gauge
37:14
upir
Рет қаралды 65 М.
Mechanical circuits: electronics without electricity
19:22
Steve Mould
Рет қаралды 7 МЛН
ARDUINO CLOCK OLED DISPLAY AND ANIMATION - Arduino project
44:11
Bas on Tech
Рет қаралды 21 М.
Wait for the last one 🤣🤣 #shorts #minecraft
00:28
Cosmo Guy
Рет қаралды 11 МЛН