Microcontroller
PIC24FJ1024GA606
The brain of the BlueBus system is a 16-bit Microchip PIC24F microcontroller that handles all system coordination and I-Bus communication.Processing
16-bit architecture running at 16 MHz for responsive I-Bus handling
Storage
1 MB Flash memory for firmware and multi-language support
Bootloader
USB bootloader enables field firmware updates without programmer
Peripherals
Multiple UART, I2C, and SPI interfaces for component communication
- I-Bus protocol implementation and CD changer emulation
- Bluetooth module coordination and audio routing
- Vehicle system integration (PDC, time sync, OBC)
- Configuration management and EEPROM storage
- USB firmware update handling
Bluetooth module
Microchip BM83
The BM83 is a fully certified Bluetooth 5.0 audio module that handles all wireless communication with smartphones and devices.The BM83 module supports up to 8 paired devices with automatic reconnection to the last connected device.
- A2DP (Advanced Audio Distribution Profile): High-quality stereo audio streaming with AAC codec
- AVRCP (Audio/Video Remote Control Profile): Metadata and playback control
- HFP (Hands-Free Profile): Telephony with SCO audio for calls
- Bluetooth 5.0 with backward compatibility
- AAC codec support for improved audio quality
- Low latency for synchronized playback
- Automatic power management
- Integrated antenna matching
I-Bus communication
Melexis TH3122.4
The TH3122.4 is a specialized transceiver designed for automotive bus systems, providing the physical interface to BMW’s I-Bus.Bus protection
ESD protection and fault tolerance for harsh automotive environments
Low power
Sleep mode with wake-up capability for vehicle power management
- Single-wire bidirectional communication
- Compatible with BMW I-Bus voltage levels and timing
- Built-in bus protection and error detection
- Wake-up functionality from sleep mode
The TH3122.4 ensures reliable communication on the I-Bus even in electrically noisy vehicle environments.
Audio chain
BlueBus provides multiple audio output options to support different BMW DSP configurations.PCM5122 DAC
The Texas Instruments PCM5122 is a high-performance digital-to-analog converter that produces line-level audio output. Specifications:| Feature | Value |
|---|---|
| Output Level | 2.1V RMS |
| Signal-to-Noise Ratio | 113 dB |
| THD+N | -93 dB |
| Sample Rates | 8 kHz to 384 kHz |
| Interface | I2S from BM83 |
- Studio-quality audio reproduction
- Low noise floor for quiet vehicle cabin listening
- Software-configurable gain for volume matching
- Excellent channel separation
DIT4096 S/PDIF encoder
The DIT4096 converts the I2S audio stream into S/PDIF digital format for DSPs with digital inputs.Digital output
Provides bit-perfect digital audio to vehicle DSP
Format support
Supports standard S/PDIF consumer format
- BMW vehicles with DSP that have S/PDIF digital inputs
- Eliminates DAC-ADC conversion when DSP accepts digital audio
- Preserves full audio quality throughout signal path
PAM8406 amplifier
The PAM8406 is a 5-watt Class-D/Class-AB amplifier that can drive speakers directly when needed. Specifications:- Output Power: 5W per channel at 4 ohms
- Efficiency: 85% (Class-D mode)
- Low THD+N for clean audio
- Thermal and short-circuit protection
The amplifier output is primarily used for vehicles without DSP or for auxiliary audio outputs.
USB interface
FTDI FT231XS
The FT231XS is a USB to UART bridge that enables firmware updates and configuration without specialized programming hardware. Features:- USB 2.0 full-speed interface
- Automatic driver installation on most operating systems
- Integrated USB protocol handling
- Low power consumption
- 3.3V I/O voltage compatible with PIC24F
- Firmware update upload from PC/Mac
- Bootloader communication
- Debug logging (development builds)
- Configuration backup/restore
Signal flow
Here’s how the components work together:- BM83 receives Bluetooth audio and decodes to I2S digital audio
- PIC24F coordinates the BM83 and monitors I-Bus commands
- PCM5122 converts I2S to analog line-level output
- DIT4096 converts I2S to S/PDIF digital output
- PAM8406 amplifies analog signal for direct speaker connection
- TH3122.4 handles bidirectional I-Bus communication
- FT231XS provides USB connectivity for updates
Audio routing is configurable in software, allowing selection of analog vs. digital output to match your vehicle’s DSP input.
Component sourcing
All components are available from major electronics distributors:- Microcontrollers and Bluetooth modules: Microchip Direct, Digi-Key, Mouser
- Audio ICs: Texas Instruments, major distributors
- I-Bus transceiver: Melexis distributors
- USB interface: FTDI distributors
The project uses standard, production-grade automotive and consumer components rather than automotive-specific parts for cost-effectiveness and availability.