Jan 27, 2019

Samsung Smart TV Remote Control Receiver STM32F103C8T6

When you output your Samsung Smart TV audio to optical SPDIP, the volume control will not work because it wsork on fixed volume. So I build an IR receiver to collect the data transmitted by the remote control to increase or decrease the volume when the related button is pressed.














Below the waveform of the signal received by the IR sensor.





I use a common IR receiver with 3 pins: VCC, Data, GND. As usual, 47 ohms resistor needed to connect VCC pin to 5V and a 1 uF capacitor from VCC pin to GND for RF decoupling. Data pin is connected PORTA0 of the STM32F103C8T6 microcontroller.




















The code is here, at the moment the volume up and down are used to turn on and off the LED on PORTC13, you can connect it to 2 pieces (for stereo purpose) of X9C103 digital potentiometer in order to increase and decrease volume received at the output of SPDIF receiver.

No comments:

Post a Comment

Samsung Smart TV Remote Control Receiver STM32F103C8T6

When you output your Samsung Smart TV audio to optical SPDIP, the volume control will not work because it wsork on fixed volume. So I build ...