Tutorial connect HMI Nextion with ESP32 - Text & Button action for beginner
ฝัง
- เผยแพร่เมื่อ 8 ก.ค. 2023
- In this video i will share how to make text and button at HMI nextion and connect to esp32, text will show data text from esp32 and button will send data to esp32 to make Led On Off
Wiring diagram
ESP32 HMI
Vin - 5V
Gnd - Gnd
TX2 - RX
RX2 - TX
Thanks very much very easy to understand
what are the libraries we should include in arduino to interface nextion and esp32
The RX and TX pins from teh screen on which pin do you have conected them on esp32.
TX2 and RX2 esp32 16, 17
Hi
Thanks for the video. What did you change in the libraries? The program doesn't want to compile :(
i didnt change libraries sir, download directly from that website and can compile, what error do u have?
@@TechWanChannel SoftwareSerial.h: No such file or directory
Just comment the line in the library code saying #include , and it should work.
Nice, just what I was looking for.
But I can't get it working.
Your code on screen is not realy readable.
Can I to use this display without library? Only connection with serial?
Yes u can
My arduino says
fatal error: esp_system.h: No such file or directory
#include "esp_system.h"
^~~~~~~~~~~~~~
compilation terminated.
Ojo bhs inggris talah jhon
nek ngapak pripun mas