Skip to content
/ cdc_emu Public

SAAB compact disc changer emulator with Bluetooth A2DP

Notifications You must be signed in to change notification settings

germka/cdc_emu

Repository files navigation

SAAB compact disc changer emulator

An easy way to add new multimedia functionality to your old car, based on the STM32 microcontroller and bluetooth receiver module with Apt-X/AAC support (CSR8645, RRD-305, QCC3005) which communicates via the CAN BUS protocol and completely simulates the presence and functionality of the original device.

3d render

Features

  • Support AVCTP control from steerling wheel buttons and IHU buttons;
  • Reducing the volume level on revese gear shaft position;
  • Optional audio amplifier blocks that can be replaced with bypass resistors;
  • Availability of USB connector and GPIO connectors for connecting various sensors and modules;

Installation

Can be installed in the original place in the trunk of the car;

Documentation

Compiling

Project maked in STM32CubeIDE and including only user files, but system code (HAL and RTOS) can be regenerated in STM32Cube and compiled in another IDE or manualy with toolchain arm-none-eabi-gcc;

Flashing

For programming MCU used ST-LINK and STM32CubeProgrammer and the board has a UART1 connector, which allows you to flash the microcontroller while it does not programmed yet using a standard USB-UART converter;

Bluetooth reciever need to bee reconfigured to use input control levels instead impulse, CCID and another settings, you can make it with FT232 USB module :howto: or with CSR programmer;

CSR programmer can use developer sowtware (ADK_CSR867x, ADK_QCC300x) and configure the chip with maximum performance, ft232 can use HeadsetConfigToolS and BlueSuite with low perfomance and the probability of errors;

Hardware

The amplitude level of the output audio signal of the Bluetooth module is 3.3V with a common voltage (BIAS) of about 1.6V, while the CD changer has an amplitude of up to 5V with a common voltage of 2.5V. The module contains two differential amplifiers with a gain coefficient of 3 dB and a 5V power supply that raise the level of the audio signal to the reference level, but they are an optional component and can be replaced with zero resistance resistors R[34-37], while the AMP POWER block is not soldered and vice versa. Without amplifiers, the volume of the audio stream will be somewhat quieter than other sources, for example, radio, and will cause discomfort when switching;

Some limiting resistors can also be replaced by R0 without loss of functionality, but they are installed for maximum device reliability R[5,6,8,16,26], RN3;

The USB connector is also an optional component and is used for auxiliary purposes, for example for flashing the device in DFU mode, if you dont use it do not soldier components R[32,33], U6, E[1,2];

The microphone input block also can be skipped if you don't use hands free profile C[14,16], L2, R12;

TODO

  • Power save mode (sleep);

Known issues

  • To use Hands-Free Profile with a standard microphone, you need to lay a cable in the trunk of the car from the multimedia device;

About

SAAB compact disc changer emulator with Bluetooth A2DP

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published