Start a new topic

Nextion Display Problem!

Hello, I receive today my Nextion LCD and connected to arduino but open and close consecutively... Can you help me please?

More information about this is certainly required to understand your problem.

Which model Nextion, what Arduino, which IDE, what library, how connected?

Send me a email to send video problem. Arduino due, nx4827k043, I connect only the Nextion display to 5v and GND ..

You can use the Attach a File function in the post to attach video.

And you are pulling the 5V from its own power supply and using common ground?

According to the data sheet, a 1A 5V power supply is recommended.


It is not recommended to attempt trying to pull this from the MCU

Exceeds attachments size(Not Added) Please send me a email !

Can you post to YouTube?

No

Please then make a shorter film.

I am trying to assist


Where is your power coming from to power the Nextion.

It appears to be too low of a power supply.


Using a charger 5V 1A and connect only the Nextion with the test plug adapter that is in the box.

As shown in your datasheet for your 4.3 Enhanced Nextion - without the Due


https://www.itead.cc/wiki/NX4827K043

With this solution lcd working. But why not with arduino 5V ? Video in web show lcd working with arduino...

It is not sufficient to just plug in.  Actually a hazard to do in this manner.

One must refer to their documentation


https://www.arduino.cc/en/Main/arduinoBoardDue

http://www.atmel.com/Images/Atmel-11057-32-bit-Cortex-M3-Microcontroller-SAM3X-SAM3A_Datasheet.pdf


You appeared to be powering your Due by USB you do not have sufficient current to supply all the needs from the limited current of USB port.


Also the Due is a 3.3V and not 5V, there will be many issues if you do not heed.  The Due can not take 5V on any of its pins, you will need to ensure you are either using 3.3V logic or level shift as required.


Much reading going forward.


Perhaps, look for an SD card that is an HC type Class 10 microSD.
The newer high speed enhanced microSDs for cameras and newer consumer electronics are not suitable for embedded electronics.

Also, a good Prolific USB to TTL adapter will allow you to upload your project to the Nextion via Serial.

Keep in mind, even the professional SD-Card industry couldn't establish a real consistent SD standard over the years. Exactly the fuzzi SD specifications opens the door for many proprietary ways on manufacturer side. And SD card contains not only Flash Memory, but also its own independent controler. SImply speaking, you can access every SD card via SPI interface ... but as soon as you like to access and use a bit more, you must pay licence fees.

As a result, SD-manufacturers, which pay for their SD OEM licence normally neither publish what they do nor tell any internas about ...

The initial SD cards compliant with revision 1.1 of the SD spec were limited to 2 GB, which is why SDHC (SD 2.0) was introduced to enable capacities of up to 32 GB. In addition to capacity, the SD 2.0 specification also provides performance classification to guarantee certain minimum throughput. There are four classes in the spec: Class 2, Class 4, Class 6, and Class 10. The number tells you the minimum transfer speeds in MB/s that can be sustained by the memory card.

The SD 3.0 (also known as SDXC) specification provides a ceiling of up to 2 TB. Although there are only a few SD memory cards with up 64 GB of capacity available, the SDXC standard also includes the modified UHS-I specification (Ultra HighSpeed I), supporting up to 104 MB/s. This is the successor to the High-Speed Bus I/F (Class 10) and Normal Bus I/F (Class 2, 4, 6), and it is the basis for products that can deliver more serious bandwidth.

In addition to conventional SD cards, you'll also find miniSD and microSD cards on the market. Those are well-suited to mobile devices like smartphones. They max out at 32 GB and they are electrically compatible with conventional SD cards, meaning that simple adapters allow you to access them.

-SD
-SDHC
-SDXC
-miniSD
-microSD
-miniSDHC
-microSDHC
-microSDXC
-smartSD
-smartSDHC
-SDIO
-miniSDIO
- ...

many standards outside, many proprietary additions, and even different functions under the same name makes live of endusers not really more easy. Sorry, but that's not a real and only Nextion issue.

Kingston 10x SDHC works normally reliable ... but that's something you must finally try out by yourself.

Have a look to attached overview. It shows a benchmark between different SD-card models from variouse suppliers. Already the speed difference from 79MB/s to 17MB/s is a difference of nearly 80%. And in worst case even such a "little" difference can already result in timing errors while access from a given hardware.


         image



Sorry, but there is really not a lot which I can suggest, besides try a reliable manufacturer and not the most modern and most speedy and most large SD card ...

 

Can you suggest me a good SoftwareSerial library for arduino ?
Look this error
image.jpeg
(429 KB)
Login or Signup to post a comment