174 Using the

Поділитися
Вставка
  • Опубліковано 24 лис 2024

КОМЕНТАРІ • 39

  • @roberto660
    @roberto660 2 роки тому +3

    Thank you so much for your incredible videos!!
    You helped me to understand Nextion and Arduino in general so much better

  • @franknazari5380
    @franknazari5380 2 роки тому

    Thank you a lot for your videos on Arduino and Nextion touchscreens. Helped me tremendously getting both connected without a library and transmitting data both directions.

    • @CheapControls
      @CheapControls  2 роки тому

      Your Welcome, I am in the process of updating the www.cheapcontrols.com website. The main page has a write up on the same topic. If you have time take a look and let me know if you have any feedback. Thanks for watching

  • @rnedevelopmentsSA
    @rnedevelopmentsSA 2 роки тому +1

    Thanks for all your great videos and that you always try to come back to us if we have questions.
    I managed to come right with most of my code just by watching your videos. I have one small question.
    Explanation: I'm running a stepper motor between two set points(set points controlled with the amount of steps.) I've got a number box on the nextion screen that you add a number and once you select start it reads that number value then only move the stepper motor between the set two points for the quantity cycles that was added in the box. (I'm using the nextion.h library). example: One cycle is equal to 100 steps cw and 100 steps back in ccw then repeats for the amount of cycles you enter into the number box.
    The code I'm using to move the stepper is the digital write and delay microseconds methode. And the quantity code is
    unit32_t count=0;
    Quantity.getValue(&count);
    For(int i=0; i

    • @CheapControls
      @CheapControls  2 роки тому +1

      I am not sure I can help. I would not use the library. Quantity.getValue(&count) is not familiar. I would do the actual work in the Arduino. The Nextion would only submit instructions to the Arduino or provide data the Arduino would get. I do have videos on gather data using the get command. I would send the number of cycles to the Arduino upon page initialization and use the e stop button to send the command and have it set a bool on the Arduino to check at the end of each cycle. then if true stop operation and get ready for the next cycle and set the bool to false. I hope that makes sense. That could make an interesting video but I have a few already in the line for the next few weeks. If one does not work out maybe I can sneak it in. Thank you for the kind words and if you want more detail you can submit a comment at www.cheapcontrols.com and I will respond through Email.

  • @grossengineeringllc3592
    @grossengineeringllc3592 2 роки тому +1

    love your videos, I've been using your videos for developing my products...

    • @CheapControls
      @CheapControls  2 роки тому

      That is awesome. Thanks for taking time to comment.

  • @rjpeterson1
    @rjpeterson1 8 місяців тому

    Excellent video!

  • @AlbertDongler
    @AlbertDongler Рік тому +1

    I subscribed to your videos ages ago. They've given me tremendous help - thank you! - given the general lack of any meaningful help from Nextion. One thing I'd love is that Nextion address their truly horrible white space intolerant, ";" hating version of "C" along with providing some means to embed functions. i.e if they just made their "C version" actually, well, C? As is. It's a horrible bastardised mess. You do get used to it - but afterward feel like you need a long hot shower with plenty of soap.

    • @CheapControls
      @CheapControls  Рік тому +1

      I agree the coding is odd. If I am doing a real project I do most of the work in an external MCU. Then I just use the display as a GUI. I have not made a video in awhile. I hope to start up again this winter.

  • @DianaMartinez-su6jh
    @DianaMartinez-su6jh Рік тому

    As clear and well explained as always, thanks a lot! I have one question: why do you put everything you're sending from the arduino to the nextion inside the AsyncDelay?

    • @CheapControls
      @CheapControls  Рік тому

      I don't always. But usually you don't want to flood the Nextion with commands. The Arduino can loop through the main loop very fast and I don't usually need to write data to the Nextion as fast as the Arduino can loop. But I do want to check for input from the Nextion as often as possible and If I have buttons or sensors connected to the Arduino, I want to check them as often as possible. I hope that explains it. If not please ask again. Also, Thank you for your continued support.

  • @chuckv8838
    @chuckv8838 2 роки тому +1

    😊just discovered your vids, maybe you address in one I’ve not seen yet, but curious why you prefer not using Nextion library.

    • @CheapControls
      @CheapControls  2 роки тому +1

      I have worked with serial communications for 30+ years so my tendency is to look at the raw data way of doing things. I don't have anything against the library, I just find that my mind works better without it.

  • @TECHNO_TURK
    @TECHNO_TURK 3 місяці тому

    my nextion display got bricked during a fw update , can i buy new nextion and dump the .bin flash to the bricked one ?

  • @mahefaranja9031
    @mahefaranja9031 2 роки тому +1

    Best tutorial on nextion display,
    Can you please make a tutorial with nextion and ultrasonic sensor? Thank you

    • @CheapControls
      @CheapControls  2 роки тому +1

      I think I have one on that. Check this one out and let me know if it answers your questions. ua-cam.com/video/fpuzvJA2_JQ/v-deo.html Thank you for the kind words and taking the time to comment

  • @simonburke6681
    @simonburke6681 2 роки тому

    Love all your videos, I use nextion with ESPHome and Homeassistant which with the advent of the Sonoff NS Panel the nextion has exploded in popularity in those communities.
    I'm using a Nextion Intelligent at present and wondering if you know how to or if it's even possible to upload .png files over serial to the SD card. One of the biggest drawback to these displays is the inability to render a picture from ESPHome http folder - my use case would be to display a snapshot saves in a local folder on my Homeassistant url when the doorbell rings.
    Thanks in advance if you have any clues or ideas

    • @CheapControls
      @CheapControls  2 роки тому +1

      Thank you for the kind words. I have not used the ESPHome or Homeassistant. I will look into the intelligent display and updating the files through the serial. I do have plans in the next month or so to make a video on connecting the Nextion to the raspberry pi and the ESP. I tried accessing the SD card on the enhanced version but I did not have much luck. I recently got an intelligent model but have yet to play with it. I like the fact that you can use the different models in the IDE. It helps when planning out videos.

    • @simonburke6681
      @simonburke6681 2 роки тому +1

      @@CheapControls thanks for responding 👍
      There is mention that it might be possible with the intelligent but I'm yet to find an example. Look forward to learning along with you as you explore the intelligent features, I'm not very good with this stuff but manage to learn from examples and modify to my needs; your videos have helped me tremendously in using the nextion editor

    • @CheapControls
      @CheapControls  2 роки тому

      @@simonburke6681 When you say you want to upload a png to the sd card, do you mean during runtime or during development? I started looking into this yesterday and I want to make sure I am looking into the correct thing. I still need to figure out what ESPHome is. I am going to check that out today.

    • @simonburke6681
      @simonburke6681 2 роки тому

      @@CheapControls 4th time trying to reply I was trying to provide some links/ resources for esphome and believe youtube might be deleting for some reason.
      I would like to upload during runtime if possible. The esphome nextion component which uses nextion.h library will upload tft over the air from home assistant which is the only way I can get a new picture to the display and not ideal for what I would like to achieve.
      I'm actually not sure this would work at all anyway, I haven't played with the SD much yet but get the feeling I may have to use the nextion editors picture box to convert the picture to render from the SD card and then even if I could render the .png it will probably be too slow.
      I am still interested if it's possible to upload files to the SD from an ESP however.

    • @CheapControls
      @CheapControls  2 роки тому +1

      I looked into ESPHome, and it is interesting. I think this will take time. I am not sure how much of a hurry you are in. This comment thread will soon be too far down on my list and I might lose it. If you want to continue the discussion you will need to go to www.cheapcontrols.com and submit a comment with your email address. I will reply and we can move this over to an email exchange. It will be easier with files and links.

  • @beforebefore
    @beforebefore 2 роки тому +1

    I appreciate your videos, but I'm not real keen on your Nextion Editor screen layout used in the videos... I use the normal layout, so it's confusing to try to follow what you are doing, when I expect a normal layout.... that, and the overly magnified cropping used doesn't show enough of the editor.
    Just some thoughts about possible ways to make it easier for us to follow along with you 🙂

    • @CheapControls
      @CheapControls  2 роки тому

      I am not sure what you mean by normal layout. I am neve sure how far I need to zoom in so people can see the text. I get complaints about if it is a comma or period in the text. I try to put the text in text windows when I think it is not clear.

  • @beforebefore
    @beforebefore 2 роки тому +1

    One more thing... Would it be possible for you to increase your audio level? I have to run my volume to absolute maximum to hear you, but when an ad plays in the middle of the video, it blasts my ears from the high volume... it's a huge difference between normal UA-cam videos and yours.
    Again, I really appreciate the content, but just trying to help you improve.

    • @CheapControls
      @CheapControls  2 роки тому

      I am not sure how to do that. I will look into it on my next video. I will also look at the UA-cam editor and see if I can adjust the audio levels. Thanks for the feedback.

  • @jittaweemetesirorat7577
    @jittaweemetesirorat7577 Рік тому

    I can only press button arduino off.
    cannot
    on
    😭😭😭

    • @CheapControls
      @CheapControls  Рік тому +1

      I do not understand. You have many questions. You should try to contact me through email. You can submit a comment at www.cheepcontrols.com. I will reply and then you will have my best Email address.

    • @jittaweemetesirorat7577
      @jittaweemetesirorat7577 Рік тому

      @@CheapControls thank you

    • @jittaweemetesirorat7577
      @jittaweemetesirorat7577 Рік тому

      @@CheapControls I'm done thank you very much
      ua-cam.com/video/02nid4tZVFQ/v-deo.html&ab_channel=JittaweeMetesirorat

    • @CheapControls
      @CheapControls  Рік тому

      I watched and liked your video. Very impressive. Good work

  • @jittaweemetesirorat7577
    @jittaweemetesirorat7577 Рік тому

    I want like this. Can I have HMI File please?
    I can't write it myself
    I have no knowledge
    Add a Physical button to Arduino and send the command to Nextion
    ขอบคุณมากครับ
    Vidio 24:50

    • @CheapControls
      @CheapControls  Рік тому +1

      There is a link to the files on the description