Genius tutorial!! do you know a solution to jump over when the gauge get to the end? so it start again!! and we can do a watch form example. Thanks a lot!
@pablosaizortuno47404 жыл бұрын
It is ok!, solved with and if event. If the value get to the final value, get again the firts value and the loop will be closed in this way!
@CheapControls4 жыл бұрын
I am glad you figured it out and thanks for watching
@hakankilic42287 ай бұрын
Hi , My project has 4 page . I want to use chronometer, but timer is working just one page, other pages are undependent, do you have any idea about this siituation?
@CheapControls7 ай бұрын
You could try setting up global variables on the pages that are not displayed and copy the timer function to each page. then you could update the other pages so when you go back they are showing what you expect. I am not sure this is what you are looking for but it is something to try.
@chris_kor73 жыл бұрын
Thanks a lot for the video. I can't make the timer keep going after 360 seconds. Any tip for making it go over 360?
@CheapControls3 жыл бұрын
You can try a timer that increments a variable then use a second timer that checks the variable
@yazani193 жыл бұрын
Hello, Thanks a lot for the tutorial, i need some Help please. i need my Timer take me to another Page after 2 Sec for example. Thanks in advance
@CheapControls3 жыл бұрын
Set the tim value to 2000 Then add the line "page 1" or change the 1 to whatever page you want it to go to.
@aleXelaMec11 ай бұрын
thanks for videos! great job. is there any option to make animations? for ex fade in? or only video files? (gifs too)? Can i move item from place to place? getting compile error trying to move with p1.x++
@CheapControls11 ай бұрын
I do not think there are any animations or gifs. only certain video files. You can use transparent images on certain models.
@juanandreslopezcubides5626 Жыл бұрын
Hello friend. What can I do so that when I open a keyboard or change the menu, the timers stop?
@CheapControls Жыл бұрын
On click you can disable the timers and when the keyboard closes a page refresh happens. you can enable the timers on page load.
@alunosouza89314 жыл бұрын
hi can help me? how insert value of page 0 for page1 ,I did think this way, but no work : page1.x0.val=page0.x0.val thankyou!
@CheapControls4 жыл бұрын
do you have the x0 objects set as global or local? They need to be global
@alunosouza89314 жыл бұрын
@@CheapControls thankyou for reply, I set as global now, but " page1.x0.val=page0.x0.val ", no work. I did see that changing the pages, the values are deleted, what you think?, is need stored the value in EEPROM and after get it in the other page? again thankyou!
@CheapControls4 жыл бұрын
@@alunosouza8931 The code works fine on my computer. If you want more assistance you will need to join the cheap controls private Facebook. It is easier than in KZbin comments.
@alunosouza89314 жыл бұрын
@@CheapControls Hi, you're right, my object was wrong, one of them was local, so my code didn't work. now I'm here with another problem, I want to use the Xflot object, type a float value and, with a click, pass the value to the arduino, but I don't understand how it is, a float variable in the arduino doesn't accept, it gives an error. *sorry, I don´t have facebook. very thankyou your attention!
@CheapControls4 жыл бұрын
@@alunosouza8931 The Nextion calls the value a float but it is not a float it is just an integer being displayed like a float. You need to send the value and the vvs1 attributes back to the Arduino so you can do a math function to calculate the float value in the Arduino. It is too difficult to put in a KZbin comment. I have a series of videos on transmitting float values from the Arduino to the Nextion. The third one comes out on Wednesday. I will add one on how to send the value from the Nextion to the Arduino but I have to create it so it will be a few days.
@kunalpandhram75013 жыл бұрын
hello sir, can u please make one video for Light On/Off through Timer Counter (HH/MM/SS format)
@CheapControls3 жыл бұрын
Do you mean turn a led on the display or an external led or an external house light? Sorry for the questions but I want to make sure I understand what you are asking. Thank you very much for watching.
@kunalpandhram75013 жыл бұрын
@@CheapControls thanks for your reply. I want to turn on/off external light using relay module and for that i am using Arduino Uno board. So, how can i turn on/off light using timer. ( ex- if i want to set timer for 1 hour, so how can i make GUI for it? ) 2. Timer counter should be Hours-Minutes-second format. could you pls share me ?
@CheapControls3 жыл бұрын
Give me a little time and I will get back to you.
@CheapControls3 жыл бұрын
This would be easier to help through Email. Go over to www.cheapcontrols and submit a comment I will reply and be able to send you files.
@kunalpandhram75013 жыл бұрын
@@CheapControls hi I visited your site and raise the query but in your site submit button is not working.
@sanindhyamalik29994 жыл бұрын
Hey how can i change pages using timer. Thanks
@CheapControls4 жыл бұрын
I need a little more. When you press a button do you want the page to change after a set time or do you want it to change after it has been selected then pause and change or do you want a startup page? Thank you for watching.
@sanindhyamalik29994 жыл бұрын
@@CheapControls nvm I figured it out. Could you by anychance help me set rtc in my nextion display. It shows correct time on debugger but when I upload it , it shows the wrong time on the display. Thanks
@CheapControls4 жыл бұрын
@@sanindhyamalik2999 I am working on a video that shows how to set the time and also compares the RTC in the Nextion versus the Arduino Versus an external RTC chip. I hope to have it out next week. Maybe that will help
@yazani193 жыл бұрын
@@sanindhyamalik2999 Hello, if you figured a Startup page , please let me know how to do it ? Thanks
@user-momenahasan Жыл бұрын
Thank you 💐
@CheapControls11 ай бұрын
You're welcome 😊
@antoinepinard27243 жыл бұрын
Hi. I have seen two people asking similar question already but I didn’t found the answer. I would like to have a page that change automatically after 10sec. Example: I open my Nextion. Page 0 appears for 10sec then change to page 1 Thanks in advance
@CheapControls3 жыл бұрын
on page 0 add a timer set to 10 sec. Then have the timer execute a single command "page 1" and Thanks for watching.
@antoinepinard27243 жыл бұрын
Thank you so much
@dedub2223 жыл бұрын
Just out of curiosity, why didn't you use a number block instead of a text block and have to do a conversion? Is there an advantage to that?
@CheapControls3 жыл бұрын
No advantage just preference. I have other videos where I send as values instead of text.
@dedub2223 жыл бұрын
@@CheapControls OK, thanks!
@doncollins67953 жыл бұрын
to use numbers, just set n0.val=z0.val and the timer will affect numbers
@cihansalcioglu4222 Жыл бұрын
Hello Cheap Controls, 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?
@CheapControls Жыл бұрын
I got this request in an email form also. I will respond to your Email. Give me another day to work it out. Thanks for watching.
@cihansalcioglu4222 Жыл бұрын
You're welcome, thank you for your interest and information.@@CheapControls