Shop OBEX P1 Docs P2 Docs Learn Events
Nextion display for P1 — Parallax Forums

Nextion display for P1

I've ordered a Nextion HMI to play with, couldn't find anything in the OBEX for P1.
Appreciate all help and advice, @JonnyMac?
Cheers, Tony

Comments

  • RaymanRayman Posts: 16,234

    This seems like a very good option for P1. Since it's just serial, seems would be easy to adapt P2 code for P1...

  • JonnyMacJonnyMac Posts: 9,788
    edited 2026-04-06 20:20

    .. seems would be easy to adapt P2 code for P1.

    It was, but I haven't maintained it for a couple years. Since I'm going to be needing it for an upcoming work project, anyway, I refreshed the my demo which displays Nextion details and shows text messages from the display (which is how I use it). You should see something like this:

    With the P1 we are limited to 115200 baud -- make sure you set that on the Program.s tab of the Nextion editor.

    For my projects I have a Nextion variable called himVer. There is code in the demo that is commented out that shows you what I do with this variable. It allows my Px app to know it has the correct version of the Nextion HMI code.

    This is a fresh update of the P1 code, so if you run into any problems please let me know.

    I did quick checks and the attached code worked for me using Propeller Tool, Spin Tools, and FlexProp (compiled and byte code). But as the MIT license states, it's provided as-is with no guarantees.

Sign In or Register to comment.