Question
-
Topic
-
Optimizing Real-Time Message Display on Raspberry Pi-Based IoT Notice Board
Hi everyone,
I’m new to this forum and currently developing a web-controlled IoT notice board using a Raspberry Pi. The system is designed to display messages sent from a web interface onto an LCD screen. While the basic functionality is operational, I’m encountering challenges with **real-time message updates**.
Current Setup:
– Hardware: Raspberry Pi 4 connected to a 16×2 LCD screen.
– Software: Python script utilizing Flask to handle web requests and update the display.Issue:
Messages sent from the web interface experience a delay before appearing on the LCD. This lag varies but is noticeable enough to affect the user experience.Attempts to Resolve:
– Code Optimization: Streamlined the Python script to reduce processing time.
– Network Monitoring: Ensured a stable Wi-Fi connection with minimal latency.
– Asynchronous Processing: Implemented threading to handle incoming messages separately from the display update process.Despite these efforts, the delay persists. Has anyone faced similar issues with real-time data display on IoT devices? Are there recommended practices or tools to enhance the responsiveness of such systems?
Any insights or suggestions would be greatly appreciated. Thank you!