Shop OBEX P1 Docs P2 Docs Learn Events
Help with nextion display — Parallax Forums

Help with nextion display

msiriwardenamsiriwardena Posts: 301
edited 2022-01-23 19:46 in Propeller 2

I have been trying to port jonnymac,s wk_3 - Time and pixel nextion display progrm and
need help to get it working.
I am sure I am doing something wrong - Help
Hard ware:
1.Jonnymac board withP2
2.RTC – DS3231
3.Nextion display – model –NX8048P070-011
4.Pixels string(50)

Hardware Connections :
1, RTC connected to SCL to pin0 and SDA to pin 1 in the jonnymac board and power to 3.3v
2.Nextion display to (blue via 4.7 K resistor) to Pin 9 and yellow to Pin 8.
3.Pixels white wire to Pin 15, power to 5V power connections next to capacitor.
Loaded the
After calibrating the display to model NX8048P070-011 intelligent and display to horizontal 270.
I loaded thr program pixel _control _v3 HMI (double click)to the nextion display.The blank clock face displayed.
Then proceeded to enter time as directed in the hint .The Time and day but the semicolon was displayed
And the clock was not active.
Proceed to run the program - 02_nextion_pixel-controller.and che clock was not active and the proceeded to re-enter the time But the clock remain inactive.

I do not know what I am doing wrong .
II need help from nextion users.
Thank you,
siri

Comments

  • JonnyMacJonnyMac Posts: 8,918
    edited 2022-01-24 00:57

    1) You have to download the HMI file to the Nextion before running the Spin code that talks to it.

    • You can do this over a serial link
    • You can compile the HMI file, put it onto a uSD, and then put it into the Nextion and power it on (this is what I do)

    2) All of my HMI projects were developed around the 480x320 display. Your display is 800x480 so you're going to have to update the images used, and X/Y locations of some code.

    • You could make your life a little easier by ordering at 480x320 display and use my files as they are. Save the bigger display for later.

    3) Verify that your hardware works with code that doesn't rely on the Nextion operating.

  • Attached are pics of the setup
    Sri
    Ps_-unable to attach the files.

  • What type of files are you trying to attach?

  • @JonnyMac

    Thank you very much for helping me.
    I took your advice and just ordered 480x320 "nextion" display.
    You have been a great help for many years(12) - with P1
    when I was building(prototype) neonatal ventilator. It works as intended .
    Medical appliances are highly regulated - needs a lot of animal trials to pass FDA regs.
    Now I am retired and playing with the propeller 2.

    Thank you again.

    siri

  • unable to attach the files.

    Best to ZIP your files before uploading to the forum.

Sign In or Register to comment.