Intro: USE NEXTION TO WORK WITH RASPBERRY PI
Maybe you already known how to use Nextion to work with Arduino. But maybe you don’t know how to use it with Raspberry Pi. There are just five steps:
Step 1: Install Segnix
Follow the “Readme.md” instructions of github, install Segnix to Raspberry Pi.
Step 2: Disable Serial Login Raspberry Pi.Then input below commands to disable the serial: sudo raspi-config
————> 8 Advanced Options ————> A8 Serial ————>NO
Step 3: Software Preparation Just to make it simple, here we use the button example in our Nextion library.segnix CompButton CompButton.inoCopy the button .tft file to SD card, then update Nextion with the SD card.
Step 4: Hardware Preparation Connect Nextion display with Raspberry Pi with Dupont line as follows: GND ----- GND VCC ----- 5V TX ------- RX RX --------TX
Step 5: Run the program
If you want to have a clear idea about the effect, you can watch the video below: