logo elektroda
logo elektroda
X
logo elektroda

Video tutorial displays NEXTION

ekrzychoooo 41181 274
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • ADVERTISEMENT
  • #272 21535156
    sylwekz
    Level 10  
    Hi. Is it possible to connect this HMI to a Delta PLC (via rs232) for communication (as with a standard HMI)?
  • ADVERTISEMENT
  • #273 21535601
    Slawek K.
    Level 35  
    This display has its own protocol for communication, if this PLC supports it (which I doubt) then yes.
  • ADVERTISEMENT
  • #274 21542198
    spektra
    Level 18  
    Welcome.

    Back on Elektroda after a very long break. I have started to follow the topic of this display. I have already committed several projects on it. I am currently working on a project for an aquarium controller - led beam 8 channels controlled by 12 bit PWM, time of day, reading pH, dH, water temperatures, power supply, beam, power monitoring of individual channels, 8 channel fertiliser dispenser, UV lamp control, external filter monitoring and control.

    However, I have a small conundrum, namely - how to read from the arduino (Mega 2560 MINI) the number of the currently loaded page on the NEXTION display ?

    Thank you and best regards
  • #275 21542229
    spektra
    Level 18  
    I have just figured out how to do this.

Topic summary

The discussion centers on creating and using video tutorials for NEXTION displays, focusing on practical implementation with Arduino and ESP8266/ESP-12 microcontrollers. Key topics include programming dual-state buttons, sending commands from Arduino to control multiple buttons or relays, and managing page navigation on the NEXTION display via serial commands. Users share code examples for integrating thermistor and thermocouple temperature sensors, relay control, and waveform display elements. Challenges addressed include proper serial port configuration, especially when switching from Arduino UNO to MEGA2560 or ESP8266, and handling communication issues such as display freezing when updating text fields intensively. The importance of correct object declarations, event handling (e.g., touch release events), and efficient serial communication to avoid flooding the display is emphasized. Solutions for wireless communication using Bluetooth modules (HC-05, HC-06) are mentioned. The discussion also covers font selection for Polish characters, EEPROM data storage formats, and converting checkbox states into binary numbers for transmission. Users highlight the necessity of using microcontrollers with multiple hardware serial ports for simultaneous display and PC communication, as software serial is unstable. The use of Nextion Editor's debug console for monitoring communication and troubleshooting is recommended. Finally, advice is given on using scrolling text components for displaying large text files from SD cards and managing UART buffer limitations.
Summary generated by the language model.
ADVERTISEMENT