[PC486] wanted to add Bluetooth to a simple shelf stereo system. But if you’re going to go wireless, why not develop an all-in-one solution. His adapter turns on the stereo and feeds it audio all from a smart phone.
This is his roommate’s hardware so cracking it open and grabbing an iron wasn’t really an option. He needed a way to control the system without any permanent alterations. Since the unit has IR remote control capabilities that’s the most obvious way to go. But the original remote is long gone so he had to hit the Internet. Luckily the remote control codes are in the LIRC repository. He grabbed a small microcontroller, an ATtiny25, and wired up an IR led to send commands to the unit.
Next he examined the Bluetooth audio receiver board he planned to used in the project. It’s got an LED that lights up when connected to another Bluetooth device. The microcontroller knows when to turn the stereo on and when to shut it off again by monitoring that LED with a pin interrupt. Check out the final results in the clip after the break.