Post

Predictive Multi Controller (PMC): Refactoring Outdoor Display Systems

Reverse engineering proprietary protocols and re-architecting environmental controls for outdoor public displays in Amsterdam.

Years ago, I worked on a specialized embedded device designed to manage outdoor public displays. Originally deployed for commercial advertising, these high-visibility display enclosures were eventually adopted by the Municipality of Amsterdam for civic communications.

Operating electronics outdoors year-round in northern European weather demands rigorous environmental control and hardware reliability.

+-----------------------------------+ | Predictive Multi Controller | +-----------------------------------+ | +-------------------------+-------------------------+ | | | [Thermal Control] [Safety & Sensors] [Communication Protocol] - Variable Fans - Glass Break Detect - Reverse-Engineered - Heater Element - Enclosure Tampers Serial / CAN Bus

The Challenge: Legacy Architectural Debt

When a hardware system is pushed beyond its original scope, architectural flaws quickly emerge:

  • Corrupted Telemetry: Unbuffered serial lines and unvalidated sensor reads allowed noise to propagate as valid system states.
  • Cascading Failures: A missing sensor read would trigger software “band-aids” in higher-level firmware, eventually spiraling into unexpected fan shutdowns or false alarm triggers.
  • Proprietary Closed Protocols: Interfacing with the main display control units required communicating over undocumented, legacy serial / CAN bus protocols.

Responsibilities of the PMC

The Predictive Multi Controller was tasked with keeping the enclosure operational, safe, and thermally stable:

  1. Environmental Regulation:
    • Dynamic control of high-airflow cooling fans to prevent screen overheating during direct sunlight.
    • Intelligent activation of internal heating elements to prevent condensation and sub-zero freezing.
  2. Vandalism & Safety Monitoring:
    • Continuous acoustic and piezoelectric monitoring of glass break sensors on the protective front panel.
    • Real-time tamper detection to alert municipal operations of physical intrusion.
  3. Protocol Reverse Engineering:
    • Reverse engineered the proprietary serial and CAN bus communication protocols used by the display panels.
    • Replaced fragile polling with robust message parsing, CRC validation, and decoupled state machine logic.

Key Lessons Learned

  • Fix the Root Cause, Not the Symptom: Adding defensive checks in high-level software never replaces clean electrical isolation and valid protocol parsing at the transport layer.
  • Separation of Concerns: Isolating thermal control logic from safety monitoring ensured that an issue in environmental sensing could never block critical glass-break security alerts.
This post is licensed under CC BY 4.0 by the author.