I am in the process of connecting a Nextion 7'' screen to a D21G. If any of you has some insights or code to share, it would be a pleasure to work together on the subject. We are working on an AHU for Operating Rooms in a cardiac surgery hospital, and the Nextion screen would be used as local information as to room temp (value and setpoint setting) and room overpressure (value only).
The RS485 port is used by the Modbus process network, so I plan to use the TTL serial on the expansion port. The screen would not be too close from the controller (say 20 m of cabling from it).
Any information welcome.
Hi Didier, what a coincidence, i just finished writing a blog post about this: https://industruino.com/blog/our-news-1/post/nextion-hmi-with-industruino-42
I have modified the enhanced library to work over RS485. I assume it could work even with Modbus creating some traffic on the RS485, i have not tested that.
Looking forward to your feedback!
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!