I show a few examples of what you can do with a Nextion display and Arduino, and how to do it. For this 1st tutorial I will only send data from Arduino to the display.
Note: On the video I said “microseconds”, but it’s actually milliseconds.
Buy the Nextion 3.5″ Enhanced: https://amzn.to/2OgFYPL
Buy Arduino nano: https://amzn.to/2Q4sA5h
Note: As an Amazon Associate I earn from qualifying purchases.
Nextion+Arduino Tutorial #2 Sending Data To Arduino: https://www.youtube.com/watch?v=mdkUBB60HoI&t=26s
Nextion+Arduino Tutorial #3 RTC and EEPROM (Enhanced Version): https://www.youtube.com/watch?v=7Dkn3t_jjN8
Nextion+Arduino Tutorial #4 Custom Gauge And Play Video: https://www.youtube.com/watch?v=eDn7LFyoEm8
Nextion+Arduino Tutorial #5 Troubleshooting: https://www.youtube.com/watch?v=oJuL0hNk2eU
Nextion+Arduino Tutorial #6 A Project From Scratch: https://www.youtube.com/watch?v=OhYyBpjyR14
My example nextion project file #1: https://drive.google.com/open?id=1BaqqCz-5RhyKTg6afPIn_1xnrtfi5HMo
My example arduino sketch file #1: https://drive.google.com/open?id=1EVrP47PnF7-tA_BLpbxyZL9paLZsErFc
My jet engine gauges nextion project: https://drive.google.com/open?id=1iwe5t2qrFlt7vQB4yzzFLtUBke1JGUGK
My jet engine gauges arduino sketch: https://drive.google.com/open?id=1Slbw1Pl0Sj07stFvJy2LQZo_77LpoHq8
Quick Start Guide:
Nextion Instruction Set:
Why I am not using any library?
The official library is too complicated. Sending data without the library it’s actually easier and straight forward.
Why I am not showing how to send data from the nextion display to arduino?
For that, I would have to use the nextion library, and actually it’s easier to send data to the display without the library. The tutorial for sending data from the display to arduino is on my 2nd video of this series.
Why I didn’t connect the blue cable to the Arduino board?
For two reasons: 1st on this tutorial we are not transmitting anything from the Nextion display to the Arduino board so TX on the display can remain disconnected. 2nd the Arduino Nano (and Arduino Uno) only have one serial port that we also use to send the sketch. If you connect the TX blue cable of the display to Arduino RX it’s going to create a conflict and the uploading of the sketch it’s going to fail.
What model is your display?
It’s the 3.5″ enhanced version NX4832K035.