Cheap Controls
Cheap Controls
  • 204
  • 900 798
202 Python Nextion Connection
There is a blog post that accompanies this video. It sometimes contains the HMI. I ask for a small donation if you download the code, but nothing stops you from downloading it for free.
cheapcontrols.com/2023/06/29/an-introduction-to-a-python-connection-to-the-nextion-display/
This video shows how to use Visual Studio code to send Python commands to the Nextion display. I also discuss using hterm to troubleshoot serial data. Here is a link to hterm www.der-hammer.info/pages/terminal.html
If you think this tutorial is helpful, please support my channel by subscribing to my TH-cam channel or by using the Amazon/eBay/ClouDNS Affiliated links below. I will get a small commission from your purchase to grow my channel:
Nano Every - amzn.to/3PHc7CP
generic nano - amzn.to/44gj3e9
nano shield - amzn.to/3Js8T22
stepper motor - amzn.to/3Xi3Era
TB6600 driver - amzn.to/3NnuSZ5
4.3" display -- amzn.to/3IWBsEo
7.0" display amzn.to/3C99zVT
2.8" display amzn.to/43lfxPl
00:45 - Nextion Configuration
01:50 - Python Code
04:15 - Recieve data from the display
05:40 - Sending values to the display
08:10 - Troubleshooting with hterm
15:25 - Sending text to the display
19:40 - RECAP
มุมมอง: 1 608

วีดีโอ

201 Nextion and Arduino controlling a TB6600 stepper board
มุมมอง 1.8K11 หลายเดือนก่อน
There is a blog post that accompanies this video. It contains the HMI at www.cheapcontrols.com. I ask for a small donation if you download the code, but nothing stops you from downloading it for free. This is an update to a previous video. I add delimiters to the commands. I use microseconds to control the asynchronous delays to speed up the motor. I also added feedback from the Arduino to let ...
200 Nextion tutorial, dual passcodes, eeprom, program.s, vis COMMANDS GALORE!!!!
มุมมอง 1.6K11 หลายเดือนก่อน
There is a blog post that accompanies this video. It contains the HMI. I ask for a small donation if you download the code, but nothing stops you from downloading it for free. cheapcontrols.com/2023/06/09/passcodes-on-a-nextionvideo-200/ This video shows how to have two separate passwords. A general user has limited access, and an admin user with access to additional pages. I have a timeline be...
199 building a tester part 4, adding the Python and Feedback from JavaScript, PHP, AND MYSQL
มุมมอง 108ปีที่แล้ว
See more at www.cheapcontrols.com If you think this tutorial is helpful, please support my channel by subscribing to my TH-cam channel or using the Amazon/eBay/ClouDNS Affiliated links below. I will get a small commission from your purchase to grow my channel: From My own lab DC Power Supplu amzn.to/3IQermw Weller Soldering Station amzn.to/3OSUNKj ESP32 modules amzn.to/3MPo2uT GY-521 gyroscope ...
198 installing XAMPP
มุมมอง 216ปีที่แล้ว
If you think this tutorial is helpful, please support my channel by subscribing to my TH-cam channel or using the Amazon/eBay/ClouDNS Affiliated links below. I will get a small commission from your purchase to grow my channel: From My own lab DC Power Supplu amzn.to/3IQermw Weller Soldering Station amzn.to/3OSUNKj ESP32 modules amzn.to/3MPo2uT GY-521 gyroscope amzn.to/3WMLduA See more at www.ch...
197 building a tester part 3, adding the JavaScript, PHP, AND MYSQL
มุมมอง 140ปีที่แล้ว
See more at www.cheapcontrols.com In this video, I add JavaScript, PHP, and MySQL. I start with any changes to the HTML. Then, I add the JavaScript calls to PHP. I start the PHP but move into MySQL, then return to PHP. I finished showing some troubleshooting. I am just a guy making things for fun. I make plenty of errors, but the people commenting and supporting make it easy to correct and move...
196 building a tester PART 2 HTML, CSS a good video if you have insomnia
มุมมอง 167ปีที่แล้ว
See more at www.cheapcontrols.com In this video, I discuss the HTML and CSS portion of the tester build. You might want to wait to watch until after a couple more videos are made. It will become more interesting after you add your own devices to measure. Over the next few weeks, we will review how to add real-world measurements. We will store and display the data. I am just a guy making things ...
195 Introduction to building a tester with HTML, CSS, PHP, JavaScript, MySQL, Python and more!
มุมมอง 287ปีที่แล้ว
If you enjoy the content, consider donating a cup of coffee at ko-fi.com/cheapcontrols or using the Thank you button on this video. There is more information on the topic on the Cheap Controls website. cheapcontrols.com/2023/04/27/building-a-tester-intro195/ In this video, I introduce what the series will be. There is no instruction in this first video. I will go over each aspect in a series of...
194 Nextion tutorial GPIO Pins and a trial Relay Board using the cfgpio command
มุมมอง 2.4Kปีที่แล้ว
There is more information on the topic on the Cheap Controls website. I don't have a specific article on this yet, but I hope to soon. Here is a link to the relay board cheapcontrols.com/products/ In this video, I show the GPIO pin output configuration. I also go over a relay board that I am working on. I am looking to sell a few so I can make more of the same and more products. I could not get...
193 Nextion, Accelerometer, Hall Effect, Lux Blox, Arduino Nano and a DRV8833
มุมมอง 686ปีที่แล้ว
If you enjoy the content, consider donating a cup of coffee at ko-fi.com/cheapcontrols or using the Thank you button on this video. There is more information on the topic on the Cheap Controls website. This article was written by the ever-hunky Ed Malloy. cheapcontrols.com/2023/03/16/rpms-with-an-accelerometer-part-1/ In this video, I discuss collecting information from the GY-521 accelerometer...
192 Nextion Data Record Software a feeble attempt at python coding
มุมมอง 1.3Kปีที่แล้ว
If you enjoy the content, consider donating a cup of coffee at ko-fi.com/cheapcontrols or using the Thank you button on this video. There is a blog post that accompanies this video. It sometimes contains the HMI. I ask for a small donation if you download the code, but nothing stops you from downloading it for free. cheapcontrols.com/2023/03/08/nextion-data-record-softwarevideo-192/ In this vid...
191 Nextion Scrolling text
มุมมอง 1.9Kปีที่แล้ว
If you enjoy the content, consider donating a cup of coffee at ko-fi.com/cheapcontrols or using the Thank you button on this video. This is a link to the Nextion regular text box video. th-cam.com/video/ylDRIed54Rg/w-d-xo.html It covers all of the attributes that can be applied. In this video, I review the Nextion Text box. I go over every attribute. I have a timeline below if you are looking f...
190 Nextion accelerometer GY-521 MPU-6050 displayed on a waveform condensed
มุมมอง 438ปีที่แล้ว
If you enjoy the content, consider donating a cup of coffee at ko-fi.com/cheapcontrols In this video, I use a Nextion waveform to show the data from an accelerometer and gyroscope. There is a longer version where I go into more depth on the I2C connection to the accelerometer can is at this link th-cam.com/video/VMHHdBPcxv0/w-d-xo.html There is more information on the topic on the Cheap Control...
190 Nextion accelerometer GY-521 MPU-6050 displayed on a waveform full
มุมมอง 770ปีที่แล้ว
190 Nextion accelerometer GY-521 MPU-6050 displayed on a waveform full
189 Nextion Text Box Attributes
มุมมอง 3.3Kปีที่แล้ว
189 Nextion Text Box Attributes
188 Adafruit Metro-Mini w/TB6612 controlling a motor and a couple LEDs
มุมมอง 366ปีที่แล้ว
188 Adafruit Metro-Mini w/TB6612 controlling a motor and a couple LEDs
187 with Audio! Nextion Component Names versus IDs and how to loop through them with less code
มุมมอง 1.2Kปีที่แล้ว
187 with Audio! Nextion Component Names versus IDs and how to loop through them with less code
186 Nextion twfile command part 3 larger random file sizes and larger random packet sizes
มุมมอง 907ปีที่แล้ว
186 Nextion twfile command part 3 larger random file sizes and larger random packet sizes
185 Nextion twfile command part 2 error state and split file uploads
มุมมอง 864ปีที่แล้ว
185 Nextion twfile command part 2 error state and split file uploads
184 Nextion #twfile command part 1
มุมมอง 2.4Kปีที่แล้ว
184 Nextion #twfile command part 1
183 Nextion #filestream command
มุมมอง 3.8Kปีที่แล้ว
183 Nextion #filestream command
182 Nextion #XSTR command and a reference to the rest reset command
มุมมอง 1.6Kปีที่แล้ว
182 Nextion #XSTR command and a reference to the rest reset command
181 #esp32 dynamic network connection with a #nextion #combobox
มุมมอง 4.1Kปีที่แล้ว
181 #esp32 dynamic network connection with a #nextion #combobox
180 #ESP32 #WiFi config and browser control of the Onboard LED #esp32 #tutorials
มุมมอง 1.4Kปีที่แล้ว
180 #ESP32 #WiFi config and browser control of the Onboard LED #esp32 #tutorials
179 Nextion #recmod command - this is the lastest in my #nextion #arduino #esp32 #tutorials
มุมมอง 2.1Kปีที่แล้ว
179 Nextion #recmod command - this is the lastest in my #nextion #arduino #esp32 #tutorials
178 Nextion Danger -- direct connect to #ESP32 #nextion sending negative numbers
มุมมอง 3.7Kปีที่แล้ว
178 Nextion Danger direct connect to #ESP32 #nextion sending negative numbers
177 #ESP32 WIFI with the #Nextion Display with a multi-line text object #best
มุมมอง 6Kปีที่แล้ว
177 #ESP32 WIFI with the #Nextion Display with a multi-line text object #best
176 Nextion Display tutorial waveform with min max number
มุมมอง 4.1Kปีที่แล้ว
176 Nextion Display tutorial waveform with min max number
175 Nextion display controlling and Arduino controlling a relay
มุมมอง 3.3Kปีที่แล้ว
175 Nextion display controlling and Arduino controlling a relay
174 Using the #nextion display with the #arduino without a library
มุมมอง 12Kปีที่แล้ว
174 Using the #nextion display with the #arduino without a library

ความคิดเห็น

  • @pam8352
    @pam8352 3 วันที่ผ่านมา

    there is a cable that can be used to connect the raspberry pi usb or serial to the rs232 using rj45 connector?

    • @stellabckw2033
      @stellabckw2033 วันที่ผ่านมา

      what?

    • @pam8352
      @pam8352 วันที่ผ่านมา

      @@stellabckw2033 some inverters use serial rs232 protocol using an rj45 plug with 4 wires wired with a different pinout instead the normal com port. they don't know the meaning of the word "standard"

  • @michaelumeokoli
    @michaelumeokoli 4 วันที่ผ่านมา

    Hello Mark, I need help. I want to print multiple commands from Nextion to my ESP8266 but it does not work as I want. This is what I want printed. print "#ACTIVE MONDAY;" activeDay.txt="MONDAY" print "#PAG SCHEDULE_1;" each command is space-separated #Command Value; I have a function that parses it in my code, and everything works until I try to print multiple commands like above. Then I get this in my code: "Command: ACTIVE - Value: MONDAY;#PAG SCHEDULE_1" instead of "Command: ACTIVE - Value: MONDAY" AND "Command: PAG - Value: SCHEDULE_1" This is my code void Display::listen(){ if(Serial.available()){ String dfd = ""; delay(30); while (Serial.available()){ dfd+= char(Serial.read()); } if (dfd.startsWith("#") && dfd.endsWith(";")) { dfd = dfd.substring(1, dfd.length() - 1); // Remove the # and ; // Extract two space-separated strings COMMAND AND VALUE // 1) GET COMMAND String command = dfd.substring(0, dfd.indexOf(" ")); // 2) GET VALUE String value = dfd.substring(dfd.indexOf(" ") + 1); Serial.print("Command: " + command + " Value: " + value+"----"); Serial.print(NEXTION_END_STRING); // 2) Execute command handleCommand(get_command(command), value); } } }

  • @metinfaikarslan2043
    @metinfaikarslan2043 11 วันที่ผ่านมา

    Can you send all codes written as comment?

  • @tunguyen-vh7pg
    @tunguyen-vh7pg 12 วันที่ผ่านมา

    I tried many times but couldn't

    • @tunguyen-vh7pg
      @tunguyen-vh7pg 12 วันที่ผ่านมา

      Can you send me code and file HMI?

  • @marcinm9318
    @marcinm9318 20 วันที่ผ่านมา

    hey, is it possible to send, for example, a simple Windows application written in C# in Visual Studio, datagrid view tables, e.g. 5 rows and 5 columns, to nextion? What is the best way to do it, as a whole file or in rows?

  • @bishopkun659
    @bishopkun659 25 วันที่ผ่านมา

    Hey, i try the code and got an issue, its says motorDelay was not declared on this scope. I use esp32 for the board. Please help

    • @CheapControls
      @CheapControls 25 วันที่ผ่านมา

      I sent you the code a few minutes ago. Sorry for the delay

    • @bishopkun659
      @bishopkun659 25 วันที่ผ่านมา

      @@CheapControls awesome, thank you so much

  • @dougbirlingmair5468
    @dougbirlingmair5468 หลายเดือนก่อน

    That is the absolute 1st time anyone explained what a radian is so succinctly. I only understood radians by comparing to degrees before this. Thank you and kudos to you!

    • @CheapControls
      @CheapControls หลายเดือนก่อน

      Glad it was helpful! This is video is a bit older. The main reason I make these videos is for my own use. I forget stuff so fast that I need these as refresher videos. I am glad they helped someone else.

  • @hakankilic4228
    @hakankilic4228 หลายเดือนก่อน

    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?

    • @CheapControls
      @CheapControls หลายเดือนก่อน

      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.

  • @ezion67
    @ezion67 หลายเดือนก่อน

    Hook up the page change to the release event of the object and there is no problem.

    • @CheapControls
      @CheapControls หลายเดือนก่อน

      That is a great observation.

  • @user-xb9vu9pg3h
    @user-xb9vu9pg3h หลายเดือนก่อน

    This was INCREDIBLY helpful! I was able to get a 12v DC motor working with my L298N motor driver/Arduino because of this video! It’s so cool. THANK YOU 😊

    • @CheapControls
      @CheapControls หลายเดือนก่อน

      Glad it helped!

  • @chjj8869
    @chjj8869 หลายเดือนก่อน

    This device does not support this component.

    • @CheapControls
      @CheapControls หลายเดือนก่อน

      That is too bad. I thought it did.

  • @programmertalal3218
    @programmertalal3218 หลายเดือนก่อน

    i have timer with this screen but i want to make password if nobody touch screen within one minute

    • @CheapControls
      @CheapControls หลายเดือนก่อน

      There are a few ways to do this. One would be to have the timer change to another page if it times out. That page could require a passcode to return.

    • @programmertalal3218
      @programmertalal3218 หลายเดือนก่อน

      @@CheapControls I hope to see this lesson from you By the way, the lesson I'm looking for is... The screen is lit, but when touched, the login page appears with a password for 30 seconds

  • @john2478
    @john2478 หลายเดือนก่อน

    I am making progress in understanding how to program the ESP32 and the Nextion. It is slow but I am making progress in a determined way. Now I cannot find any videos of sending a signal from the Arduino to different pages on the Nextion. If I comment out page 1 on IDE then there is no problem in getting the boxes populated from the Arduino to page 2 on the Nextion. Also when moving from page 1 to page 2, data from the Arduino is deleted on page 1. Have you experienced this or is it jut a feature of the Nextion? I currently have 6 numbers boxes that are populated from EEprom in the Nextion but can be updated and saved back to EEprom. I do like to see the same data coming back from the Arduino sitting in a column of number boxes alongside. To complete the project I am working on I need to have a second page of both number boxes and text boxes. At the moment I am stumped. Can you help? John

    • @CheapControls
      @CheapControls หลายเดือนก่อน

      You have to set the box to global. Try this video th-cam.com/video/jXpgeZ7cmRo/w-d-xo.html

    • @john2478
      @john2478 หลายเดือนก่อน

      @@CheapControls Thanks for the reply.. I had found that I had not noted them as Global myself. I am rapidly learning now and the latest stumbling block was to get some simple division to work. I discovered there is no such thing with Arduino and Nextion! I spent ages figuring out for myself how float values v int v long v string worked and by using numbers rather than cell references I eventually got it to work by trial and error, subsituting cell references for actual numbers and gradually it all worked. Thanks again for the various tutorials. John

  • @gurilab
    @gurilab 2 หลายเดือนก่อน

    Acho sacanagem a versão enhanced não ter combobox e recursos de listagem arquivos. É tudo interface gráfica. acredito que isto esteja limitado não por causa do processador GPU mas pelo software para nos obrigar a comprar a versão inteligency. Não se consegue plotar nada de diferente ou fazer melhorais na interface somente o que o software de componente proporciona. Se eu tivesse sabido disto antes não teria comprado o NEXTION e sim investido em outro melhor que possa usar recursos da LVGL. Vivendo e aprendendo. Ao menos serve para fazer coisas rápidas.

    • @CheapControls
      @CheapControls หลายเดือนก่อน

      I agree that the Nextion is not the best for everything.

  • @rjpeterson1
    @rjpeterson1 2 หลายเดือนก่อน

    Excellent video!

    • @CheapControls
      @CheapControls หลายเดือนก่อน

      Thank you very much!

  • @montybagade8598
    @montybagade8598 2 หลายเดือนก่อน

    Code

    • @CheapControls
      @CheapControls 2 หลายเดือนก่อน

      If you want access to the code, please submit a request on at www.cheapcontrols.com. Include the video number #194 in the request and we will email the code to you.

    • @montybagade8598
      @montybagade8598 2 หลายเดือนก่อน

      1)Why nextion display reseting value after power cut, what is the solution for this? 2)why esp32 can not read nextion values of the display during changing the page?

    • @CheapControls
      @CheapControls 2 หลายเดือนก่อน

      You can try storing values in the eeprom and then restore them on a page load. 2) I am not sure why the esp32 can not read the nextion values during a change of pages.

  • @scottv-j4740
    @scottv-j4740 2 หลายเดือนก่อน

    Thanks very much for the video, I am running the nextion in debug connected to my ESP32, I am getting a parse error on the simulator return... The MCU return is in the form: HEX(77 65 70 6F 20 32 34 2C 33 31 38 FF FF FF) STR(wepo 24,318ÿÿÿ) does the data from the MCU look correct?

    • @scottv-j4740
      @scottv-j4740 2 หลายเดือนก่อน

      All good! For some reason wasn't working in the debug window but when I plugged in the display it worked fine! Do you know if there is any way to plot a whole array of data at once rather then sending one data point at a time?

    • @CheapControls
      @CheapControls 2 หลายเดือนก่อน

      I am glad you got it.

  • @Fishbowlfx8
    @Fishbowlfx8 2 หลายเดือนก่อน

    "Dont fall asleep" that was funny. Once again clean and concise. Thanks

    • @CheapControls
      @CheapControls 2 หลายเดือนก่อน

      Glad you enjoyed

  • @Fishbowlfx8
    @Fishbowlfx8 2 หลายเดือนก่อน

    Because of this tutorial. I'm becoming more smarter. Thank you for the clear and concise explanation.

    • @CheapControls
      @CheapControls 2 หลายเดือนก่อน

      Great to hear!

  • @john2478
    @john2478 3 หลายเดือนก่อน

    Your excellent videos are what made me confident that I should be able to set up a Nextion tft with Esp32 demos d1 board. I have had no problem in placing buttons and getting them to interact as required. However I seem to be a bit stumped in getting anything to go from the Esp32 to the Nextion or vice versa. I have set up the code with 2 serial ports and so far have no errors compiling. I definitely do not have a hardware problem as I have duplicates of everything. I can compile the respective codes and download to both the Nextion and the Esp32. In going through your code in this #137 video, I have a problem with.... prints "val".0. which throws up an error code... Invalid number of arguments. If I enter prints n0.val.0 I I get 2 errors....Invalid number of arguments. I have tried going to your site and downloading and copy of your code to try but the link is not working. In you tutorial 59 you said that you couldn't get prints working. Have I missed something somwhere? Finally I have a wretched error message says invalid variables page. Actually I dont have one as I deleted it! so have no way of getting error free code. Can you help please. John

    • @john2478
      @john2478 3 หลายเดือนก่อน

      I have managed to sort this out. The.. prints."val".0 only works if you put the number of characters that the val is. i.e. ...prints"val".3 The prints n0.val,0 that gave me errors works but with .....prints n0.val,0 ...I managed to get rid of the other error message about variables by using an erilier version f the file and updating it. Incidentally in hex when checking the data going out to the ESP I saw that if you use values of less than 10 you can see the figures rather than the hex figures so it is easy to se if it is working correctly. I also had a good look at the Nextion instruction set to check for the correct way of writing the code. John

    • @CheapControls
      @CheapControls 2 หลายเดือนก่อน

      I am glad to hear you figured it out and I will take your other comments into consideration. I have not been able to work on the displays recently but I hope to get back into them soon.

  • @OmidAtaollahi
    @OmidAtaollahi 3 หลายเดือนก่อน

    you saved a heck of time

    • @CheapControls
      @CheapControls 2 หลายเดือนก่อน

      Glad we could help.

  • @eramsolutions2540
    @eramsolutions2540 3 หลายเดือนก่อน

    sir how you make pop up keypads on your screen please sir help me

    • @CheapControls
      @CheapControls 2 หลายเดือนก่อน

      That is a very involved question. You will have to submit a request at www.cheapcontrols.com for help.

  • @ates16871
    @ates16871 3 หลายเดือนก่อน

    Hello, I have a problem by changing pages. I have one button and two pages(page1 and page2) First the screen stays on page1. When button is pressed, it will switch to the page2. button not pressed. the page2 can't back page1. I tried a lot of time and couldn't do it. like this↓ val = digitalRead(BUTTON_PIN); if(val == LOW){ Serial.print("page 1"); } else if(val == HIGH){ Serial.print("page 2");

    • @CheapControls
      @CheapControls 2 หลายเดือนก่อน

      I am not sure. You can request help at www.cheapcontrols.com. We will reply and then you can submit your code for evaluation.

  • @benclarke9710
    @benclarke9710 3 หลายเดือนก่อน

    Thank you for the video, great explanation 🙏🙏🙏

    • @CheapControls
      @CheapControls 2 หลายเดือนก่อน

      Glad it was helpful!

  • @grispaez3745
    @grispaez3745 3 หลายเดือนก่อน

    Son muy buenos sus tutoriales!! Muy bien explicados. Me podría ayudar con una duda por favor, tengo un botón en mi pantalla Nextion, requiero que al presionarlo se ejecute una interrupción en mi arduino DUE, que instrucción puedo usar??. En botones conectados fisicamente se usa la instruccion "attachInterrupt". En este caso cual instruccion debo usar?

    • @CheapControls
      @CheapControls 2 หลายเดือนก่อน

      Sorry for the late reply. This would depend on the model of Nextion you are using. You can request mor help at www.cheapcontrols.com.

  • @cicicicil7159
    @cicicicil7159 3 หลายเดือนก่อน

    thank you, but i am strugle to sending text(string) can u explain it to me?

    • @CheapControls
      @CheapControls 2 หลายเดือนก่อน

      You have to go to www.cheapcontrols.com and request help.

  • @PatRickTronik
    @PatRickTronik 3 หลายเดือนก่อน

    Hello, link for the code is not working anymore, can you update it ?

    • @CheapControls
      @CheapControls 2 หลายเดือนก่อน

      You have to go to www.cheapcontrols.com and request the code.

  • @michaelumeokoli
    @michaelumeokoli 3 หลายเดือนก่อน

    Hello, thanks for the video, I'm able to make progress on my project. How would I approach selecting a particular SSID to enter a password for??

    • @CheapControls
      @CheapControls 2 หลายเดือนก่อน

      Sorry for the delayed response. SSIDs are individual to the location.

    • @michaelumeokoli
      @michaelumeokoli 2 หลายเดือนก่อน

      @@CheapControls Yes I know but what I mean is how our phone WiFi functionality works.

    • @CheapControls
      @CheapControls 2 หลายเดือนก่อน

      I am not 100% sure what you are asking. Let me know if this video helps. th-cam.com/video/GeRNCvHebA4/w-d-xo.html

  • @michelmartins7379
    @michelmartins7379 3 หลายเดือนก่อน

    Thank you for all the videos you guys have made.

    • @CheapControls
      @CheapControls 2 หลายเดือนก่อน

      Our pleasure!

  • @rikardfrid2679
    @rikardfrid2679 3 หลายเดือนก่อน

    Maybee I'm stupid but howto connect the Nextion against the Arduino sry I'm a newbie 57years old

    • @CheapControls
      @CheapControls 3 หลายเดือนก่อน

      It depends on the Arduino. I use the Nano in most of my tutorials, but it would be the same for the Uno. I use a library called software serial and define two pins( usually 2 and 3) as a software serial port. I use those pins to connect to the transmit and receive on the the Nextion. Using an additional serial port allows you to keep the arduino connected to the IDE and use the serial monitor for trouble shooting.

    • @CheapControls
      @CheapControls 3 หลายเดือนก่อน

      You are only a couple of years older then me. Never to old to learn something new.

  • @mariuszkolosa6833
    @mariuszkolosa6833 3 หลายเดือนก่อน

    Bardzo Ci dziękuje. Od dwóch tygodni próbowałem połączyć Arduino Mega z Nextion. We wszystkich tutorialach był błąd w składni, dopiero u Ciebie jest poprawnie. Działa wszystko. Jeszcze raz bardzo Dziękuje.

    • @CheapControls
      @CheapControls 3 หลายเดือนก่อน

      Your Welcome, I am glad I was able to help.

  • @Elias-ict
    @Elias-ict 3 หลายเดือนก่อน

    Very Well ❤🤍💚

  • @sahanipriyanka9113
    @sahanipriyanka9113 3 หลายเดือนก่อน

    why we are using 2 serial

    • @CheapControls
      @CheapControls 3 หลายเดือนก่อน

      One for the connection to the display and one for the programming port.

  • @Elias-ict
    @Elias-ict 3 หลายเดือนก่อน

    Very Well ❤🤍💚

    • @CheapControls
      @CheapControls 3 หลายเดือนก่อน

      Thanks for watching and taking the time to comment

  • @aleXelaMec
    @aleXelaMec 3 หลายเดือนก่อน

    Trying to find a way to upload new screen firmware from the mcu, not a pc. Any suggestions? Thanks

    • @CheapControls
      @CheapControls 3 หลายเดือนก่อน

      I do not know how to do that. If you figure it out let me know. It would be very interesting

  • @user-xd5ku4xk2v
    @user-xd5ku4xk2v 4 หลายเดือนก่อน

    Hello, I would like to ask some questions. I use the 2.4-inch expansion IO to output two channels of PWM to my expansion hardware, which causes the slider function of the touch screen to freeze. I have never found the reason. Have you encountered it? Can you give me some pointers? Thanks

    • @CheapControls
      @CheapControls 4 หลายเดือนก่อน

      The only way I could help with, is to see your code. You would need to go to www.cheapcontrols.com and submit a help request. Then we would interact over emaill.

    • @user-xd5ku4xk2v
      @user-xd5ku4xk2v 3 หลายเดือนก่อน

      Can you please leave your email address? Thanks@@CheapControls

  • @samuelbadlik8812
    @samuelbadlik8812 4 หลายเดือนก่อน

    when I put my code in arduino, the motor is running and app is not responding

    • @CheapControls
      @CheapControls 4 หลายเดือนก่อน

      That is too bad. I am sorry you are having issues.

    • @samuelbadlik8812
      @samuelbadlik8812 3 หลายเดือนก่อน

      @@CheapControlsI just did something wrong, video is great, everything is working as it should be ☺️

  • @matthewpammenter5362
    @matthewpammenter5362 4 หลายเดือนก่อน

    Was trying to make use of the Adafruit library for the PCA9685. I found your video quite useful to compare what you did vs. what the library was doing using a logic analyser, and thence to find where the library wasn't working right. I'd add as a note for anyone else who is coming along to this video, that you have to set the PCA to 'sleep' mode before you can change the PWM frequency from the default 200Hz to the 50Hz required by servos (Register 0xFEh, value 0x83h), and that the 'invert' bit in mode 1 is useful when driving servos . Thanks for taking the time to upload!

    • @CheapControls
      @CheapControls 4 หลายเดือนก่อน

      Thank you for taking the time to inform others on what you found.

  • @diegoalemiguel6271
    @diegoalemiguel6271 4 หลายเดือนก่อน

    uhmm..i fim taking measures from a sensor, every time i change page i should replot the whoel graph? so...i should store in my MCU memory all the datas then resend for each page change, am i right? thanks a lot

    • @CheapControls
      @CheapControls 4 หลายเดือนก่อน

      It has been awhile since I made this video but I believe the waveform is not stored on page change. Did you try to set it as a global? I think I once used the internal eeprom to store values.

    • @diegoalemiguel6271
      @diegoalemiguel6271 4 หลายเดือนก่อน

      thanks for your reply, i will try and update you@@CheapControls

    • @diegoalemiguel6271
      @diegoalemiguel6271 4 หลายเดือนก่อน

      i think eeprom is not a good choice in terms of endurance, if refresh is often requeried@@CheapControls

  • @Shooter_Mc_Evan
    @Shooter_Mc_Evan 4 หลายเดือนก่อน

    Awesome video, this is exactly what I've been looking for. Is the source code for Arduino still available anywhere?

    • @CheapControls
      @CheapControls 4 หลายเดือนก่อน

      Thanks for the compliment. You can request the files by going to the "need help" section at www.cheapcontrols.com

  • @alediego8486
    @alediego8486 4 หลายเดือนก่อน

    you are a HERO. nextion manufacture's help is so basic, you nail it RESPECT

    • @CheapControls
      @CheapControls 4 หลายเดือนก่อน

      Thank you for the compliment. I have not made a video in awhile but I do hope to start again.

  • @michaelreinhardt9435
    @michaelreinhardt9435 4 หลายเดือนก่อน

    Thanks for the great tutorials. However, I have difficulties querying the buttons and displaying the temperature of a sensor at the same time, for example. The buttons then no longer work. Is there a solution ?

    • @CheapControls
      @CheapControls 4 หลายเดือนก่อน

      I am not sure how to help in a comment. If you go to www.cheapcontrols.com, there is a help page. Go there and submit a comment with your email and I will do the best I can.

  • @arrow201
    @arrow201 4 หลายเดือนก่อน

    Been awhile since any posts, miss them. Hope you're ok.

    • @CheapControls
      @CheapControls 4 หลายเดือนก่อน

      It has been a busy year. I am fine and hope to get back to making videos but I need to get some projects done. You know the saying happy wife, happy life. Thank you for your concern.

    • @miesharleman4393
      @miesharleman4393 3 หลายเดือนก่อน

      Same here

  • @terrybaileysr.3714
    @terrybaileysr.3714 4 หลายเดือนก่อน

    Confused. The person giving the lesson seems real knowledgeable and helpful. Why are we getting an editor jumping in complaining about needing to do editing? This seems unprofessional. Perhaps I missed something. This is the first video I have watched by these folks.

    • @CheapControls
      @CheapControls 4 หลายเดือนก่อน

      We are a very unprofessional organization. But, we help people with our videos and try to have a little fun along the way. Thanks for watching and taking the time to comment.

  • @aleXelaMec
    @aleXelaMec 4 หลายเดือนก่อน

    this is not working on basic screen?

    • @CheapControls
      @CheapControls 4 หลายเดือนก่อน

      That is correct. The basic models do not have eeprom. The discovery models also do not have eeprom.

    • @aleXelaMec
      @aleXelaMec 4 หลายเดือนก่อน

      @@CheapControls its strange, since there is a memory chip on the board. Winbond. (( Sad.

    • @aleXelaMec
      @aleXelaMec 4 หลายเดือนก่อน

      And again, thanks for your videos. Best i found on nextion

    • @CheapControls
      @CheapControls 4 หลายเดือนก่อน

      Yes it is. This seems like a pretty cheap option but I know they change some of the hardware between models. You have to be careful with them. I know there are hardware differences between the enhanced and intelligent.

  • @aleXelaMec
    @aleXelaMec 4 หลายเดือนก่อน

    hey, thanks for videos!!! great! for some reason i dont have transparency option for text. for both versions LTS and 1.65.1 any ideas why? only crop image nx3224t024

    • @CheapControls
      @CheapControls 4 หลายเดือนก่อน

      I am not sure. I believe yours is a basic model. I wonder if there are differences between basic and enhanced. I will try to look at it tomorrow and reply again.

    • @aleXelaMec
      @aleXelaMec 4 หลายเดือนก่อน

      @@CheapControls hey, i faced another weird problem. trying crop image on text im getting text (after upload) pixelized. did you faced something like this? (debug is ok)

  • @user-fc4ff4ow7q
    @user-fc4ff4ow7q 4 หลายเดือนก่อน

    Not only "post-initialize" is run, also "pre-initialize" for the page is run! so as if the page has been activated

    • @CheapControls
      @CheapControls 4 หลายเดือนก่อน

      That is a good tip.

  • @miteshkadam4421
    @miteshkadam4421 5 หลายเดือนก่อน

    In serial monitor after j0.val=data??? Can you please explain why 3 question mark is there after data

    • @CheapControls
      @CheapControls 5 หลายเดือนก่อน

      commands are terminated by three 0xFF hex values. The serial monitor does not know how to handle extended ascii, so it interprets each 0xFF it as a "?"

  • @aleXelaMec
    @aleXelaMec 5 หลายเดือนก่อน

    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++

    • @CheapControls
      @CheapControls 5 หลายเดือนก่อน

      I do not think there are any animations or gifs. only certain video files. You can use transparent images on certain models.

  • @user-wn1xh3vv2u
    @user-wn1xh3vv2u 5 หลายเดือนก่อน

    hello! I am a Korean high school student. You explained it really well and I understood it well. I will learn diligently by watching your other videos. thank you!

    • @CheapControls
      @CheapControls 5 หลายเดือนก่อน

      Glad it was helpful!