Trybotics Logo

Arduino Audio Switch

DESCRIPTION

Inside my shelter i've a 5.1 Bose surround system and a couple of Yamaha NS-10M Studio speakers. I needed to drive them with only one power amplifier, so i needed a custom audio switch between speakers and LFE too. Instead of a typical mechanic switch i've found an easy solution using an Arduino Pro Mini and a 8ch relay module.

Description:

Pushing its button, arduino audio switch let me give three options to listen amplifier audio output :

1) 2 channel mode through Yamaha speakers

2) 2+1 channel mode through Yamaha speakers and BOSE LFE

3) 5+1 channel mode through BOSE 5.1 surround system

I put point one first. This means that, when system is not powered i can listen music through Yamaha speakers, because this is my common use.

When i give power supply, i can switch between the three options above mentioned.

Description:

This project can be basically performed with:

8ch 5V relay module

Arduino Pro Mini

Button

3xled (optional)

1x220 ohm resistor

1x330 ohm resistor (optional)

jumpers

5x7 Prototyping board

You can also add your customized enclosure box and input power supply with related on/off button, as i have.

Obviously you'll need a solder for PCB assembling and something to model your enclosure box.


Description:

Assembling
3 More Images

Assembling of the switch box is very easy.

Connect amp and speakers cables directly to relay or trought terminal block, as i have.

Then relay module to Arduino as showed on schematic.

Do not use Arduino VCC pin to drive 8ch relay. Connect relay module VCC directly to 5V and GND to common Arduino ground.

The one that i've made draw 5V from PC USB cable because i've adopted an Arduino Pro Mini with RAW pin burned, so with PC stabilized 5V output i can easly drive Arduino and relay module togheter.

Description:

Load the sketch and.... enjoy.

Attachments


YOU MIGHT ALSO LIKE