Nextion display work with KC868-A4 - 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-A4 (https://www.kincony.com/forum/forumdisplay.php?fid=21) +--- Thread: Nextion display work with KC868-A4 (/showthread.php?tid=2310) |
Nextion display work with KC868-A4 - admin - 09-23-2022 i have removed RF433M receiver, RF433M sender and IR receiver. actually use want to use VCC,GND,RXD,TXD for Nextion display. define RXD:GPIO23 TXD:GPIO21 by ESP32 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-A4.ino.nodemcu-32s.zip (Size: 102.25 KB / Downloads: 269) here are source code: Code: String indata=""; RE: Nextion display work with KC868-A4 - YOO SEOK - 11-06-2024 (09-23-2022, 02:59 AM)관리자 Wrote: RF433M 수신기, RF433M 송신기 및 IR 수신기를 제거했습니다. 실제로 Nextion 디스플레이에 VCC, GND, RXD, TXD를 사용하고 싶습니다.안녕하세요. 저는 도움이 필요해서 글을 쓰고 있습니다. 저는 kc868과 NEXTION HMI 통신을 추적하고 있습니다. 하지만 의사소통이 원활하지 않습니다. 위의 텍스트와 같이 라이브러리를 업로드하고, 예제 코딩도 업로드했습니다. 또한 그림과 같이 전선을 연결하였습니다. 하지만 의사소통이 원활하지 않습니다. 그 밖에 뭘 해야 할지 알려줄 수 있나요? 당신의 도움이 필요해요. RE: Nextion display work with KC868-A4 - admin - 11-06-2024 check your Nextion display whether have connect with VCC,GND,RXD,TXD correctly. you can upload a photo. RE: Nextion display work with KC868-A4 - YOO SEOK - 11-07-2024 (11-06-2024, 11:40 PM)관리자 Wrote: Nextion 디스플레이가 VCC, GND, RXD, TXD에 올바르게 연결되었는지 확인하세요. 사진을 업로드할 수 있습니다. I connected RX,TX like your picture RE: Nextion display work with KC868-A4 - YOO SEOK - 11-07-2024 (11-06-2024, 11:40 PM)admin Wrote: check your Nextion display whether have connect with VCC,GND,RXD,TXD correctly. you can upload a photo.I use ESP32-WROOM-32E and NEXTION NX8048T050_011. I downloaded the formware nextion_KC868-A4.ino.nodemcu-32s. I used your example for KC868 coding. RE: Nextion display work with KC868-A4 - admin - 11-07-2024 (11-07-2024, 03:27 AM)YOO SEOK Wrote:(11-06-2024, 11:40 PM)관리자 Wrote: Nextion 디스플레이가 VCC, GND, RXD, TXD에 올바르게 연결되었는지 확인하세요. 사진을 업로드할 수 있습니다. You need remove the IR receiver, see my photo, i have remove it. |