Nextion display work with KC868-A6 - Printable Version +- Smart Home Automation Forum (https://www.kincony.com/forum) +-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=20) +--- Forum: KC868-A6 (https://www.kincony.com/forum/forumdisplay.php?fid=22) +--- Thread: Nextion display work with KC868-A6 (/showthread.php?tid=2321) |
Nextion display work with KC868-A6 - admin - 09-27-2022 i have used on board extend serial port. actually use want to use VCC,GND,RXD,TXD for Nextion display. define RXD:GPIO13 TXD:GPIO12 by ESP32 weld Vcc 5V from LM1117 output pin. here are some photos: This just a simplest demo, use Nextion display two buttons, press button-one will send 'a' by serial port, press button-two will send 'b' by serial port. when KC868-A4 received 'a' will turn ON relay1, when received 'b' will turn OFF relay1. firstly create two buttons UI by Nextion Editor PC software: here is firmware BIN file, you can download to KC868-A4 ESP32 directly to use: nextion_KC868-A6.ino.nodemcu-32s.zip (Size: 108.86 KB / Downloads: 260) here are source code: Code: #include "PCF8574.h" RE: Nextion display work with KC868-A6 - marcosjunior2701 - 03-25-2023 Hello, put a 3V3 converter so that the RX and TX ports (io12 io13) communicate correctly with nextion to the 5V converter, which could damage the board you produced with so much affection. Note that the communication failed because I need to remove the wire connected to the RX and then plug it in for my project to work. how do i solve this? Thanks! RE: Nextion display work with KC868-A6 - admin - 03-25-2023 why damage? your Nextion display connect to KC868-A6's pin directly is ok, just do as photo. Nextion display serial port support 3.3v level. RE: Nextion display work with KC868-A6 - marcosjunior2701 - 03-25-2023 To turn on the nextion monitor, it was necessary to feed it with 5V. These pins of the kincony A6 board would ideally receive 3.3V Why was there no concern with the voltage applied to make an RX TX communication from the monitor to pins A12 and A13 of the kincony A6 board? The communication of both is being 5V. Correct me if I reached the wrong conclusion. RE: Nextion display work with KC868-A6 - admin - 03-25-2023 we alreeady have post the photo, it's work fine. your question is no problem. RE: Nextion display work with KC868-A6 - marcosjunior2701 - 03-31-2023 Hi, sorry to bother you again. I'm using the Nextion library #include <Nextion.h> but it's giving an error when communicating. What are the necessary modifications that I need to make in the serial? Thanks RE: Nextion display work with KC868-A6 - admin - 04-01-2023 what error information? you need to define your serial port RXD, TXD pin firstly. RE: Nextion display work with KC868-A6 - marcosjunior2701 - 04-03-2023 And it's happening! What procedure needs to be done? Which port do I switch to? RE: Nextion display work with KC868-A6 - admin - 04-03-2023 i don't understand your problem. RE: Nextion display work with KC868-A6 - marcosjunior2701 - 04-03-2023 The error is in the serial communication failure. I need to swap the RX and TX pins. How would you solve it? it helps me! |