-
Notifications
You must be signed in to change notification settings - Fork 98
Nextion Display
Unfair sellers sells a chenese version of the nextion, these are branded TJCxxxxx, they are not supported by the nextion editor and would be useless with SimHub, make sure to buy a real nextion (model starting with NXxxxx)
7" nextion is not advised due to average performance
4.3 or 2.8 nextion have bundled templates other sizes will work but will require custom template design.
Parts needed :
- Nextion display (4.3 or 2.8),
- Wires
- Usb TTL
Connect USB TTL following these wirings
GND => GND
5V => 5V
RX => TX
TX => RX
Warning ! Trap inside ! Take care, TX goes to RX
Always make sure Simhub is closed before uploading.
MICRO => Nextion
GND => GND
VCC => 5V
RX1 => TX
TX0 => RX
Upload the sketch found in C:\Program Files (x86)\SimHub\_Addons\NextionMicroBridge
It offers the structure to add gamepad support, please note that it's just a sample with a single button and you must add your own logic.
In order to compile the sketch please use the arduino IDE in C:\Program Files (x86)\SimHub\_Addons\Arduino\ArduinoIDE\arduino-1.6.13 it contains all the required libraries
Upload to nextion will not work using the Itead nextion editor but Simhub offers an alternative uploader.
- Build your template using the editor using the "compile" button :
- Open build folder :
- double click on your template file :
- Choose your arduino serial port and click on upload, you're ready !