Questions tagged [nextion]

30 questions
2
votes
0 answers

Data transfer from nextion hmi display to arduino mega 2560 problem?

I have an arduino and a nextion basic display connected to each other. they both send and receive data from each other. when i push a button on the display, the nextion display sends a data to arduino. and this works perfectly. the code that is…
2
votes
2 answers

Upload file to Nextion-Display from ESP32

Is there a way to upload directly files from ESP32 to Nextion Display? I want to download pictures or TFT file with ESP 32 WIFI and upload it to Display. It would be really great if I can do it with a TFT file!
Milad
  • 377
  • 1
  • 3
  • 15
1
vote
0 answers

Nextion Editior of Graph

I've been working with Nextion display for Two week. I'm trying to build a Graph, how can I use x-axis, y-axis with the nextion Editor. Anybody pls tell me if how to create axis in the graph. Thanks in Advance
1
vote
1 answer

Having Issue Terminating Command for Nextion Display Communicating ATmega328P

Why am I having extra character printed in serial port? See the attached screenshot, please. Extra character in my Nextion command see circled area There is 0x1A received and I am not sending carriage return. I developed a code to implement…
avong
  • 21
  • 4
1
vote
2 answers

How to disable other buttons while one of the buttons is pressed and reset by pressing another button

My code has 5 buttons. I want that if button 2 is pressed button 3, 4 and 5 are disabled so even if they are pressed they do not work. And I want to use button 1 as a reset button. My code is #include #include #include…
1
vote
2 answers

How to send data on nextion with python

I would like some help. I'm trying to send a variable to T0. I've tried but I cannot send a variable value. Please help. CODE import serial import time import struct from requests import get ip = get('https://api.ipify.org').text ser =…
1
vote
2 answers

Doxygen.h no such file or directory

I am interfacing arduino nano with nextion HMI. I am getting error doxygen.h not found, but this library is included in lib folder.
1
vote
0 answers

Send ASCII Data to UART3 on Android Things with 3 Byes of 0xFF at the end

I am trying to interface a Nextion HMI Serial Screen to Android Things, specifically the PICO-PI-IMX6UL I am using the sample-uartloopback template as a starting place. What I need to do is send the following payload over serial (UART3) in a certain…
Dreambeats
  • 144
  • 6
1
vote
2 answers

Data sending with raspberry pi where nextion 2.4 display

Hi i trying to send data to nextion 2.4 display from raspberry pi , i try to do change such as t0.txt="abc" but i dont know how i do with python i try to this code block but is not work import serial import time import struct ser =…
1
vote
0 answers

Nextion IDE Frame layer priority

I recently purchased the Nextion 2.4" touchscreen. I have run some test code that allows me to switch images on the current page. The image will overlap the buttons when the image is called. Is there a way to have the button be on the lop layer at…
Markov Chained
  • 55
  • 1
  • 10
0
votes
0 answers

Python Nextion communication delay

I have an RPi3 with a Nextion HMI 2.8" display connected through the FT232 converter and I am testing the possibility of reading from it. I would like to call a certain function after pressing a button on the screen. I managed to do it, but there…
Michal Grzelak
  • 191
  • 5
  • 15
0
votes
0 answers

How to turn bytes into an integer or string? I think UTF-8

I just got a nextion display connected to my Raspberry pi 4. Every time a button on the display is pressed, it's supposed to send a 1/0, but instead it sends this: b'\x00\x00\x00\x00', or this: b'\x01\x00\x00\x00'. This is the chunk of code that I…
Mito
  • 101
  • 2
0
votes
1 answer

STM32 F334R8 UART Category doesnt shown

Im working on a project with Nextion HMI and STM32 F334R8. When I try to send string to Nextion with STM, UART doest shown in the category section in CubeIDE(This board has 3 USARTs but no UARTs). Is there a mistake Im making or my STM doest…
0
votes
0 answers

Execute command for Nextion with M118 gcode

I am trying to control Nextion device with Skr Pro v1.2 But I couldn't find a way. I enabled #define NEXTION_TFT nextion module and connected to TFT port. I used many versions of M118 codes but it didn't work. Fo ex: M118 P2 page page2 or M118 A1 P2…
0
votes
1 answer

Why does data packing 4 integers into a 32 bit integer have different results in Nextion and Teensy(Arduino compatible)

I'm controlling a Teensy 3.5 with a Nextion touchscreen. On the Nextion the following code packs 4 8 bit integers into a 32 bit integer: sys0=vaShift_24.val<<8|vaShift_16.val<<8|vaShift_8.val<<8|vaShift_0.val Using the same shift amount (8) has a…
elf
  • 1
  • 5
1
2