Questions tagged [nextion]

30 questions
0
votes
1 answer

Interfacing Nextion with Raspberry Pi 3b+

I am having trouble interfacing my Nextion display via Raspberry Pi. I have a Nextion project that contains one text field called t0. And I want to change the text displayed from Raspberry. Here is what I tried: import serial import time import…
Deniz5
  • 11
  • 3
0
votes
1 answer

understanding Python Nextion Display - Page Change

tl:dr Looking for a way to change the active page in python3 using the Nextion library, I have tried (x = 1, x = 'page1', x = 'page 1') and a many other iterations. client = Nextion('/dev/ttyS0', 9600, event_handler) await client.connect() …
0
votes
0 answers

Python: Pause some activities but allow other parts of the code to continue

I have a Python 3 script running on a Raspberry Pi (Buster) which writes some instrument data to my Nextion Display using the serial/UART interface. I have, for now, setup my code to sleep for 5 minutes after the current data are displayed. This…
RDK
  • 355
  • 2
  • 7
  • 24
0
votes
1 answer

Nextion not sending data to Arduino (recvRetCommandFinished err)

I've problem with Nextion NX4024T032_011. I can send data to it from Nextion to Arduino , but the problem is Tx led in arduino blinks. Where as data from arduino is not accepted by Nextion as far i observed On Serial port i can only see…
Aditnya
  • 1
  • 1
  • 2
0
votes
1 answer

Connecting RS232 to Serial and establishing a connection to Nextion display from a python script

I was trying to establish a serial communication between my python script and Nextion display. I want to create a custom firmware uploader, so I could use it instead of Nextion Editor. Unfortunately I can't establish a connection to the…
pawisoon
  • 1,427
  • 1
  • 15
  • 20
0
votes
1 answer

Arduino and Nextion won't communicate

I am developing a project using Arduino Uno with DTH Sensor AM2302 and Nextion 4024T032 for display. But after running the program I can't seem to find whats wrong with code. After following steps and process, I come to face an error like this, the…
0
votes
1 answer

Nextion display - waveform time scale

I've been working with Nextion display for a week.....I'm trying to build a small oscilloscope with the display and my Arduino UNO. I have used the waveform element to construct waveform of realtime voltage signal. What I wonder is if I can change…
Aravind S
  • 139
  • 1
0
votes
1 answer

Read from nextion touchdisplay via python in Win10 over USB/TTL converter

today I tried desperately to read values from a nextiondisplay in my python code. Writing to it works, but i simply can't manage to get python to read from it. My code looks like this: def ser_escape(): escape='\xff'.encode('iso-8859-1') …
0
votes
1 answer

Nextion Dual State Button Not Working

Below is the code I have downloaded from a YouTube example and shortened to use JUST the dual state button. CODE /* This sketch shows examples on how to send data from the Nextion display to Arduino and vice versa. I didn't find a reliable way to…
Anake.me
  • 467
  • 1
  • 6
  • 20
0
votes
1 answer

Arduino Mega and Nextion display Serial communication

I'm working on Arduino Project using Nextion Display. At first It worked perfectly Arduino used to read and write data to display shown component, but for some reason Nextion doesn't send data to arduino anymore, I checked the Voltage supply common…
Rezzouki Joe
  • 1
  • 1
  • 3
0
votes
3 answers

Arduino and Nextion display with decimal numbers

I have an Arduino MEGA with one of these Nextion displays. I created a nice display and my aim is to show analog inputs. However I have noticed that this display cannot show decimals (using the number "widget"). So I am using "text" widget to do…
Matti
  • 1
  • 1
  • 1
-1
votes
0 answers

Nextion display programming: scrolling text with more fonts (rich text)

I'm using a Nextion intelligent display. The control "Scrolling text" has only an attribute font. All multiline text can be font 1, or all font2 and more. I like to display a scrolling text made from more height of font, and BOLD, INCLI, and more In…
-1
votes
1 answer

Nextion no response

Hello I have been making a project with arduino and nextion but when I run it the nextion does not respond like it turns on and works like normal but it does not show any change to the screen the arduino controls it. The code of arduino: #include…
-1
votes
1 answer

Not usual bytes to string decoding. How to?

I'm working with some interesting devices and some of them uses micropython and on this part have problem with encodings. I need to make two devices communicating by UART-protocol. First device (may it be Nextion Display) sends to second device…
-1
votes
1 answer

ValueError: "port" must be None or a string, not

I don't understand the error and after 5h searching for a solution I finally gave up. I'm trying to open a serial connection, but apparently my port isn't a sting? The same port works fine in a different piece of code... NOT WORKING import…
1
2