Ma Bell Project #
Bluetooth Phone Gateway for vintage telephone integration.
Project implemented in a separate repository.
- GitHub: https://github.com/cdeever/esp32-ma-bell-gateway
- Documentation: https://cdeever.github.io/esp32-ma-bell-gateway/
Legend: β Complete | π In Progress | β³ Planned
Project Vision & Scope π #
Restore full, authentic use of vintage analog telephones by bridging them to modern Bluetooth cell phones β preserving rotary dialing, ringing behavior, tones, and user experience.
In Scope
- Rotary dial pulse detection
- Authentic ring, dial tone, busy/reorder tones
- Bluetooth HFP call handling
- Use of original phone and ringer hardware
Out of Scope
- VoIP provider integration
- Multi-line PBX features
- Smartphone UI replacement
Requirements & Constraints β Complete
Requirements & Constraints β #
Define what success means before building.
β User scenarios (incoming/outgoing calls, edge cases)
β Functional requirements (FR-xxx)
β Non-functional requirements (latency, audio quality, reliability)
β Electrical & mechanical constraints
β Acceptance criteria for each requirement
β Risk register (top technical risks + mitigations)
Architecture & Design β Complete
Architecture & Design β #
Translate requirements into a complete system design.
β System block diagram
β Power architecture & protection strategy
β Audio signal chain & gain staging plan
β Hook switch, dial pulse, and ring detection design
β Bluetooth integration architecture
β Firmware architecture & state machine definition
β Interface specifications (electrical, audio, software)
β Verification & test plan (requirements β tests mapping)
Low-Voltage Test Rig (EVT-1) π #
Safe, breadboard-based simulator for firmware development β no line voltage required.
π Build guide: impl/low-voltage-test-rig.md
- π Order & collect low-voltage components
- β³ Breadboard ESP32 + PCM5100 DAC + PCM1808 ADC
- β³ Hook switch simulator (GPIO 32)
- β³ Pulse dial simulator (NE555 timer)
- β³ Ring indicator & ring detect feedback
- β³ Audio I/O validation (I2S wiring)
- β³ DTMF tone generator for touch-tone dial simulation
- β³ LED & button wiring
- β³ Full 24-feature firmware test matrix pass
Firmware Development π #
ESP32 firmware implementing telephony behavior and system control.
- β ESP32 base firmware & build system
- β Bluetooth HFP profile implementation
- β Call state machine implementation
- π Dial tone, ring, busy, reorder tone generation
- π Rotary pulse detection & validation
- β³ DTMF detection (touch-tone phone support)
- β Configuration storage (NVS schema)
- β Logging & diagnostics
- π Firmware versioning & release tagging
- β³ Validate firmware against low-voltage test rig
Full-Voltage Prototype (EVT-2) β³ #
Production-representative prototype with SLIC, ring generator, and real telephone. Using KS0835F SLIC module (AG1171/AG1170 compatible) for the line interface.
π Build guide: impl/prototyping-build-guide.md
- β³ Sub-A: ESP32 + codec breadboard (3.3V)
- β³ Sub-B: KS0835F SLIC module + line interface (mixed voltage)
- β³ Sub-C: Ring generator (48Vβ90V AC)
- β³ Power sequencing & safety validation
- β³ Integration of all sub-assemblies
- β³ Audio path measurements (levels, noise, echo)
Firmware Adjustment (EVT-2 Integration) β³ #
Validate and tune firmware on the full-voltage prototype. Should be largely compatible from EVT-1 testing.
- β³ Re-run test matrix against full-voltage hardware
- β³ Tune audio gain staging for SLIC signal path
- β³ Validate ring-trip and hook detection with real phone
Custom PCB (DVT) β³ #
Transition from prototype to a reproducible hardware design.
- β³ Schematic capture
- β³ BOM with alternates
- β³ PCB layout & DFM/DFA review
- β³ Test points & programming header
- β³ Fabrication
- β³ Assembly
- β³ Hardware bring-up checklist
- β³ Electrical verification against requirements
Enclosure & Mechanical Integration β³ #
Package the device for real-world use.
- β³ Enclosure requirements & constraints
- β³ Connector placement & strain relief
- β³ Enclosure design (3D print or fabrication)
- β³ Thermal and safety considerations
- β³ Final mechanical assembly
Verification & Validation β³ #
Prove the system meets its requirements.
- β³ Requirements β test traceability
- β³ Functional test execution
- β³ Audio quality & latency validation
- β³ Long-duration stability testing
- β³ Regression testing after changes
- β³ Issue tracking & resolution
Production Readiness (PVT) β³ #
Prepare the design for repeatable builds.
- β³ Assembly documentation
- β³ Manufacturing test procedure
- β³ Test fixtures / jigs
- β³ Calibration & setup process
- β³ Revision control (Rev A, Rev B, etc.)
Documentation π #
Create durable documentation for users and future builders.
- π Build instructions
- π Installation & wiring guide
- π User guide
- β³ Troubleshooting guide
- β³ Design notes & lessons learned
Deployment & Operations β³ #
Put the system into real use.
- β³ Final integration testing
- β³ Installation procedure
- β³ Field diagnostics workflow
- β³ Release notes
- β³ Ongoing maintenance plan