Video Door Intercom over 2-Wire Bus
Custom PCB & Firmware for a Residential Video Intercom Device
Complete embedded hardware and firmware development for a real intercom/access-control device communicating over an existing two-wire building bus.

01 Project Overview
Designed and developed a custom residential video door intercom device that communicates with the building entrance panel over a proprietary two-wire bus. I was responsible for the PCB hardware and embedded firmware, including low-level bus communication, pulse/frame decoding, command transmission, call handling, door-release control, monitor/video activation and overall device state management.
The system was designed to interoperate with the existing entrance-panel infrastructure while providing core indoor intercom functionality through a custom embedded implementation.
02 Core Device Functions
Receives communication frames from the entrance panel.
Detects calls addressed to this unit.
Activates the monitor / video session.
Transmits the door-release command over the bus.
Processes local user button presses.
Plays a local melody during incoming calls.
Stores the apartment / device address.
Manages the firmware operating states.
Sends response / control frames back to the bus.
03 My Contribution
I designed the PCB and developed the complete embedded firmware, including the two-wire communication protocol implementation, interrupt-driven pulse decoding, command transmission, call-state logic, EEPROM configuration, user controls, audio/video control and door-release functionality.
Hardware
- System architecture
- PCB design
- Bus-interface integration
- Device I/O integration
- User-button integration
- Output/control integration
- Hardware bring-up
- Testing and debugging
Firmware
- 2-wire bus communication
- Interrupt-driven pulse decoding
- Frame parsing
- Command transmission
- Checksum handling
- Call-state management
- EEPROM address storage
- Monitor / talk / unlock functions
- Melody / ringtone handling
- State-machine design
- Testing and debugging
04 System Architecture
05 2-Wire Bus Communication
The device communicates with the building entrance panel over a two-wire bus. The firmware handles low-level communication over the two-wire bus, receiving pulse-based data from the entrance panel, decoding valid communication frames and generating response/control frames when required.
06 Low-Level Protocol Handling
- Interrupt-driven signal detection
- Pulse timing / pulse acquisition
- Frame decoding
- Command interpretation
- Outgoing frame generation
- Checksum handling
- Address verification
07 Firmware State Machine
The firmware uses a state-based architecture to manage standby, incoming call handling, self-monitoring, programming and restricted/controlled operation states.
08 Incoming Call Handling
The device receives incoming call requests from the entrance panel and transitions into a call-handling state. The firmware identifies valid incoming communication, triggers the appropriate user indication (including melody/ringtone) and enables the relevant user actions.
09 Door Release Control
One of the core functions of the device is to send a control command back to the entrance system in order to unlock / release the building door. The firmware generates and transmits the required command frame over the two-wire bus when the user requests door release.
10 Video / Monitor Activation
The device supports opening a monitor / video session and controlling the relevant intercom session behaviour. The firmware supports monitor/video activation and related session-control behaviour as part of the indoor intercom operation.
11 EEPROM Configuration & Addressing
The device stores its configured address in EEPROM so that it can identify bus frames addressed to it and retain its configuration across power cycles.
12 User Controls
The device handles user interaction through local controls:
- Answer / talk
- Monitor activation
- Unlock / door release
- Function / programming input where relevant
13 Local Indication & Melody Handling
Incoming calls trigger local user notification, including melody / ringtone playback handled by the embedded firmware.
14 Firmware Architecture
15 Testing & Debugging
- Two-wire bus communication verification
- Pulse/frame reception testing
- Outgoing frame transmission testing
- Call handling validation
- Address / EEPROM programming tests
- Door-release command validation
- Monitor/video activation testing
- User-button logic tests
- Timeout / state-transition testing
- Hardware/firmware integration debugging
16 Engineering Challenges
- ▸Interfacing with an existing proprietary two-wire bus system
- ▸Implementing reliable low-level pulse/frame decoding
- ▸Generating outgoing control frames correctly
- ▸Managing state transitions for call handling and user actions
- ▸Persisting address/configuration data in EEPROM
- ▸Synchronizing communication, UI logic and control actions
- ▸Integrating custom hardware with protocol-level firmware
- ▸Ensuring reliable interaction with existing building intercom infrastructure