Question Locked

Optimizing Real-Time Message Display on Raspberry Pi-Based IoT Notice Board

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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 16x2 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!

1 reply

by rproffitt edited

And do you know where the delays are?

Again, did you measure and put exact values on where the delays are?

If not, you are working in the dark.

This discussion is closed to new replies.