USE NEXTION TO WORK WITH RASPBERRY PI

Introduction: 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:

Effect Demonstration

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Be the First to Share

    Recommendations

    • Trash to Treasure Contest

      Trash to Treasure Contest
    • Raspberry Pi Contest 2020

      Raspberry Pi Contest 2020
    • Wearables Contest

      Wearables Contest

    3 Discussions

    0
    drewthfc
    drewthfc

    Question 7 months ago on Introduction

    Hi. When turning on the screen and begin to update, it tells me the version isn't high enough. Do you know where I can find a newer update as I can't seem to find one.

    0
    kartikksingghhh
    kartikksingghhh

    Question 10 months ago

    Why to disable serial? how would communication be done between them then?

    0
    aristidis
    aristidis

    Question 1 year ago on Introduction

    Ihave install segnix and took this message

    Please help

    pi@raspberry:~/Segnix $ segnix led led.ino

    compile by .ino

    cat: led.ino: No such file or directory

    /usr/lib/iteadboot.o: In function `main':

    iteadboot.cpp:(.text+0x14): undefined reference to `setup()'

    iteadboot.cpp:(.text+0x18): undefined reference to `loop()'

    collect2: error: ld returned 1 exit status

    mv: cannot stat 'led': No such file or directory

    pi@raspberry:~/Segnix $ sudo ./led

    sudo: ./led: command not found

    pi@raspberry:~/Segnix $