Awesome
HyundaiCan
Hyundai CANBus audio control
The primary purpose of this project is to add volume control using a Raspberry Pi, a HiFiBerry Digi+ i/o board, and a CAN hat to a 2015 Hyundai Genesis 5.0 with 14 speaker Lexicon sytem.
The 2015 Hyundai Genesis with the 14 speaker Lexicon audios system uses S/PDIF to transmit audio digitally to the OEM amplifier in the rear trunk of the car, however it is a fixed volume signal. The amplifier in the rear of the car receives signals from the CAN BUS interface to set the volume level, mute, and car on/off status. In order to replace the OEM amplifier with more powerful, better sounding amplifiers the digital signal must be volume controlled prior to being sent to a DSP and/or amplifiers.
Equipment Needed
The following equipment is needed at minimum to interface with the OEM S/PDIF and CAN BUS interface:
- Raspberry Pi 4 2GB
- CAN HAT
- Fault Tolerant CAN converter
- HiFiBerry Digi+ I/O
- 12V delay relay
- 12V to 5V power supply
Connection diagram
The following is an example diagram of how to connect the necessary components:
Raspberry Pi Setup
Raspberry Pi Setup information can be found in the Installation Guide