No video

#120

  Рет қаралды 5,406

Cheap Controls

Cheap Controls

Күн бұрын

In this video, I go over the Arduino using the Millis() command as a Real-Time Clock. I also send the date and time to the Nextion Display.
If you enjoy the content considering donating a cup of coffee at ko-fi.com/chea...
You can sort and find videos better on at www.cheapcontrols.com
I have started a group on Facebook to make it easier to interact with user-requested videos. Consider looking it up. www.facebook.c...

Пікірлер: 30
@johneagle4384
@johneagle4384 2 жыл бұрын
Thank you!! Nice video.
@CheapControls
@CheapControls 2 жыл бұрын
Glad you liked it!
@sanduc7757
@sanduc7757 4 жыл бұрын
thank you for the videos
@CheapControls
@CheapControls 4 жыл бұрын
My pleasure! Thank you for watching and taking the time to comment.
@222sandiego
@222sandiego 4 жыл бұрын
Love the videos. Have helped a lot. I like the pasting instead of typing - reduces errors and keeps the flow. Would like to understand more the async timer. Also, can you post the code somewhere? Thanks again
@CheapControls
@CheapControls 4 жыл бұрын
Thanks for the reply and the comment on pasting over typing. I prefer to paste. It speeds up the videos also. I watch videos by Brad Traversy on programming and he types it out which is nice if you are following along. I wish more people would give me their opinions on this. I will probably start leaning toward cut an paste as I get my website better configured for people to download the code. I thought I had the code for this video up on www.cheapcontrols.com but I do not yet. I will try to get it on there soon. I will try to remember to comment here when it is up.
@cristhiannasarioespinozaac5593
@cristhiannasarioespinozaac5593 4 жыл бұрын
Amazing
@CheapControls
@CheapControls 4 жыл бұрын
Thanks for the compliment and for watching.
@222sandiego
@222sandiego 3 жыл бұрын
The timer works great. Question/Challenge: how would one modify the code to create a countdown timer? Thanks
@CheapControls
@CheapControls 3 жыл бұрын
That is an interesting idea. Are you thinking of this running on a Nextion display or just a static timer that restarts every time you restart the Arduino? I have not been very good at uploading the code to the cheap controls website. If there is something specific complete the form on the cheap controls site and I will email you any file you ask for.
@222sandiego
@222sandiego 3 жыл бұрын
The timer would run on the display. My specific application is taking user input (from the Nextion) to specify the duration of a pump run and then displaying the time as a countdown timer on the Nextion. When the countdown timer completes the pump would stop (or any other action required at the completion of a countdown timer). The internet is replete with examples but none are as straightforward as it seems like it should be. Your help would be appreciated.
@CheapControls
@CheapControls 3 жыл бұрын
What is the time frame you are talking about, minutes hours days? This could be an interesting video.
@222sandiego
@222sandiego 3 жыл бұрын
I’d like the flexibility of user input configuring all three. Ideally with a daily / weekly recurrence option - but I’m dreaming here. My immediate need is to use input from the user via the Nextion to configure a countdown timer for hours / min / sec (and not rollover at 00:00:00) and execute something at the start and end (in my case a relay to start a pump and stop it when the countdown ends). You’d be an internet hero if you could make this simple. I’ve searched literally for two days and found very little (that I could understand anyway...). Maybe its just inherently a deceptively hard problem?
@CheapControls
@CheapControls 3 жыл бұрын
Sounds good. Consider going over to the Cheap Controls web page and entering a comment with your Email address so we can discuss this in more detail. If you don't want to do that I understand and will try to get a video out on this project next week.
@ipadize
@ipadize 4 жыл бұрын
i have a different question. I may want to be able to change the font using the device itself. So i created some buttons with the appropriate font name and i can change fonts of buttons etc. But how can i change the font of a button on another page? It only sees the buttons on the same page.
@CheapControls
@CheapControls 4 жыл бұрын
I have not tried that but, you could try and set the objects you want to change to global or maybe You could set a global variable and test for that value on page load.
@ipadize
@ipadize 4 жыл бұрын
@@CheapControls thanks i will try that
@ipadize
@ipadize 4 жыл бұрын
@@CheapControls doesnt seem to work or i do it wrong. i have every button and page globally and the variable as well but it doesnt get found on other pages
@ipadize
@ipadize 4 жыл бұрын
​@@CheapControls but i cound try to send something to the esp32 and then it sets the font
@CheapControls
@CheapControls 4 жыл бұрын
Sorry, I have not had time to try this out but I will try to look at it tonight. I hope you would not need to store something away from the physical display on an external device but that is another option.
@claytonjandeliverio6348
@claytonjandeliverio6348 Жыл бұрын
does this code work on arduino uno?
@CheapControls
@CheapControls Жыл бұрын
It doesn't work very well but if perfect accuracy is not needed, it works ok.
@claytonjandeliverio6348
@claytonjandeliverio6348 Жыл бұрын
@@CheapControls if accuracy is need. do i have to install a specific library for its communication/Serial and what would it be?
@CheapControls
@CheapControls Жыл бұрын
No library. Millis is part of standard arduino code. Just use variables.
@CheapControls
@CheapControls Жыл бұрын
If you want accuracy you will need to add a Real time Clock chip
#121 Arduino Displaying an integer as Bits in the serial monitor
13:43
Cheap Controls
Рет қаралды 1,3 М.
🩷🩵VS👿
00:38
ISSEI / いっせい
Рет қаралды 22 МЛН
Doing This Instead Of Studying.. 😳
00:12
Jojo Sim
Рет қаралды 36 МЛН
Pool Bed Prank By My Grandpa 😂 #funny
00:47
SKITS
Рет қаралды 19 МЛН
The Clever Way to Count Tanks - Numberphile
16:45
Numberphile
Рет қаралды 1 МЛН
The Greenwich Meridian is in the wrong place
25:07
Stand-up Maths
Рет қаралды 810 М.
Why is anti-immigration sentiment on the rise in Canada?
13:00
The Guardian
Рет қаралды 1,9 МЛН
How to Connect and Control an Arduino From Python!
16:50
LeMaster Tech
Рет қаралды 38 М.
Building a Relay-Powered Pi Machine
17:35
The Science Elf
Рет қаралды 309 М.
I Made A Water Computer And It Actually Works
16:30
Steve Mould
Рет қаралды 7 МЛН
🩷🩵VS👿
00:38
ISSEI / いっせい
Рет қаралды 22 МЛН