178 Nextion Danger -- direct connect to

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

КОМЕНТАРІ • 31

  • @daryl7237
    @daryl7237 2 роки тому +2

    This is the Great video

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

    LOL
    Hmmmm I wonder to whom you may have been referring about the 6V thing. LOL 😅😂🤣 He sounds like an experienced smart guy right there. LOL
    😅😂🤣
    Just for clarity on that whole dang thing....
    I'll keep it short as I can.
    How that 6V-7V thing got started is when I bought 3 of the7" displays. Two Enhanced, 1 Basic.
    Before this, I always ran the smaller displays on 5.1V without problems, but on their own 5.1V source, never from the Arduino.
    So one of the 7" Enhanced displays refused to work at all on 5.1V. It had that known issue of flashing.
    Being that the iTead website used to always say, 5V, I didn't want to push too much into it.
    Long story short, I was dealing with RobotShop (amazing place) and they were willing to send a replacement, but they wanted to liaise with iTead support.
    I told them that I knew where that was going to go as iTead loves to pass the buck and not really support their product (usually).
    Sure enough, iTead ATTEMPTED to blame the power supplied to the display. RobotShop's tech, who I was dealing with, knew that I was using a Lab power supply and providing a solid 5V.
    iTead REFUSED to do a replacement. But Robotshop, knowing me, offered to take the hit and have their upper management deal with iTead.
    I made a deal with them that how about letting me try to troubleshoot this first to see if I could fix it and if not, then do the replacement. They agreed.
    As it turns out, in troubleshooting, I found the problem almost immediately.
    It was a SOT 223, 6118A voltage regulator ship! 5V, 1A! NOW THAT MAKES SENSE!
    I replaced that and again, at 5.1V it would still flash until I upped the amperage to 500mA!!
    At 5.1V, the regular chip will have a voltage drop and that was part of the problem.
    I ran at 6V, 500mA and all was well.
    I just now did some measurements that I think may help others to understand why it's not good to power these displays from the boards.
    3.2" Enhanced Full Brightness
    @5.1V it draws *140mA* (I believe Arduino are supposed to be MAX 45mA)
    @6V same
    @7V 150mA! It actually draws a bit more
    The 7" Enhanced Full Brightness
    @5.1V it draws 490mA
    @6V it draws 450mA
    @7V it draws 420mA
    The 7" Basic
    @5.1V it draws 430mA
    @6V it draws 380mA
    @7V it draws 360mA
    It's only due to my experience with what happen did I want to clarify WHY I mention 6V. I probably should have clarified, 5.1V is fine for smaller screens.
    *NOTE: as brightness is lowered, amperage also lowers, big time.*
    On that 3.2" Enhanced, it draws about 140mA at full bright, but I think it was something like 10mA or 20mA when dim at 5)
    phew! LOL

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

    can i use GPIO pin 26,27 to connect my Nextion LCD ? because now i use Co2 sensor detec it use RX,2TX2

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

      You can try. I use softwareserial.h when I want to use pins not dedicated to serial ports. Let me know if it works. I am still new to the ESP32 and would like to know.

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

    Is there an easy method to send the negative values in hex to the Arduino and read it by the union method? btw many thanks for your videos!!!

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

      Have you seen my video on the Union. I think that should work. I am not sure I have ever made an example of sending a negative from the Nextion.

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

      @@CheapControls Many thanks for the quick response and sorry ofr my late. Actually it is completely working like intended.

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

    signed 2s-compliment numbers have been around since the dawn of computing.

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

      Thanks for taking the time to watch and comment. I am not 100% sure the point but I do love getting feedback.

  • @nix-pu2niv
    @nix-pu2niv Рік тому +1

    good night, how are you? HOW DO I DO AN ELSEIF on nextion, I tried it but it doesn't seem to exist.
    Where can I find documentation on the encoding used in nextion.

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

      I am not sure. The Nextion team is always trying to update there ide. Maybe the elseif will be in a future version. I am not sure where to the encoding used in the Nextion.

  • @burhanuddinbhiwaniwala618
    @burhanuddinbhiwaniwala618 2 роки тому +2

    your video are just Great...
    if you remember i made a request saying that Nextion as launch a Wall touch switch Named NSPanel.. it has a 3.5inch nextion nd Esp32 in it... but unfortunately the built-in fuctions are very limited... could you plz make a video on it showing us how to program it and make it work as we wish....

    • @BlondieHappyGuy
      @BlondieHappyGuy 2 роки тому +2

      I've not heard of this product before!
      I did some research on it just now and it looks very interesting.
      The price seems pretty good too. The case is nicely designed.
      If what I saw has the capacitive Nextion display AND an ESP32 board inside, then it's a great deal.

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

      @@BlondieHappyGuy Yes i already have bought one and it as a capacitive touch display from Nextion and uses eps32 for Wifi and Bluetooth connectivity... and there are some Genius who have even installed ESPHOME which works with HOME ASSISTANCE but all my devices works with mqtt and i don't wont to reprogram all my devices so i am sreaching for solution to program NSPANEL Thorugh ARDUINO IDE...

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

      I have a sonof switch. I was able to get the internal LED to flash. I hope to move onto some more stuff but it is still new to me and will take a little time. I hope you find somethings in the videos interesting until I get caught up to the type you are using.

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

      @blondie sl I don't think it has the capability of the Nextion display. I am going to look into it a bit more but I am not optimistic. I am enjoying the ESP32 for the WIFI characteristics but there is a learning curve. I hope to do a video next week on loading a Nextion dropdown or combo box with the SSIDs and then choosing one from the list to connect too.

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

      Are you sure it is a nextion? Do you have the model? I am concerned that it does not use one of the models listed in the Nextion IDE but an off brand one that can't be programmed with the IDE.

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

    Why do u make videos only without the libraries? your videos are great but I am building a heavy code structure and doing everything without libraries are really complicated, But thanks for all your videos!

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

      There are other videos that use the library and there is the itead sunday blog. I like to offer an alternative. I am starting to do videos on the ESP32 and the nextion. I think I might have to use more libraries aa I get more into this. Sorry my videos are not more helpful for you.

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

    i have used nextion.read command from nextion.h library but when i am using esp8266 my code works well and i am getting proper values from nextion display to arduino ide serial monitor but when i am using the same code for esp32 at that time i am getting value like 255255 224 in serial monitor please help me to debug this problem

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

      Sorry, but I don't use the nextion.h library. I wish you luck and I am sure you will resolve the issue.

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

      @@CheapControls actually when I am using ESP32 i only got 255 as output in serial monitor .and 255 is undesired output

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

      Do you use the nextion.h library?

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

      @@CheapControls yes

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

      I have no knowledge of the nextion.h library. Sorry.