Congratulations Dave Schulpius, for answering the question and has received an EZ-Credit award! Share what you have learned and create a tutorial to help others by clicking here.

Sound System For My Robot

Assistance Requested

Help bhouston with their question and receive $10 of EZ-Credit to get more robots and parts from our store. The following information was provided about their previous efforts searching tutorials for a resolution.

bhouston claims to have checked these sources:

Now that my InMoov is mobile, I need a good sound system for it. I did at one point have it over WiFi to the robot thru the EZB as per d.Cochrans "Breaking out the sound" thread, however, I was not happy with the amount of volume, so I tried a little larger amp and promptly blew the sound board in the EZB. Since then I have had it hardwired from my computer to a small amp to the two 1" speakers in the robots head.
So instead of blowing the sound board out of another EZB - experimenting - I thought I would get some advice from the community, I am looking for some guidance to the great sound I have thru my computer on board the robot. Hardware and wiring advice would be appreciated.

I have found a few conversations, tutorials and activities that may help with your question. Take a look at these links. I've sorted them by what I believe to be most relevant but that is not always the case as I'm still learning.

Also, consider reviewing the Learn section for informative lessons and activities. Check it out!


I used one of the round phone speakers. It can put off quite a bit of sound. I power it off of a digital pin regulated down to 5 volts. It has a volume adjustment on the board that is a part of the speaker. You can pass unamplified sound off of the bottom of the ezb. There is a thread I will dig up showing how to pass it but it involves soldering to two solder points on the bottom of the ezb.


Other than that, you would just pass audio through an amp from the computer and tie the amp power in through your on off switch. Just find an amp and that takes the correct voltage. I think Dave shows his amp on the thread.


Thanks d.Cochran, I meant to say that I followed Dave Schulpius thread on this subject. Soldering on the new leads is not my issue, finding a good amp is.


Gotcha. He will probably have recommendations. His B9 probably has the best sound out there. One of the Steve ' s probably has done this and I think tech guru has also. Mine is using the circuit board out of one of the speaker I tore up mentioned above.

It has an audio in port so bluetooth isn't used.


I used an amplifier in a robotics application recently that sounded really decent. Here's a link:

Stereo 20W Class D Audio Amplifier - MAX9744

I used two of these speakers with it.

20W 4 Ohm Full Range Speaker - XS-GTF1027

The Amp can be powered from 4.5V-14V DC voltage. I used 12VDC.

I used the Trim pot the comes with the AMP to control volume, but you can control it with an I2C interface.

Amp has Digital pins for Mute to silence inputs and Shutdown to save power.

You do need to do a little soldering as not all the connectors are installed.

Adafruit has a nice tutorial on the amplifier.

I didn't have the Amp connected to the EZ-B, but an EZ-B was controlling the robot.

Amp Tutorial


Wow, that sucks that you burnt up a EZB doing this mod. It would be nice to know what happened.

If you are brave enough to try it again follow my thread and make sure you solder the cord leads of a male 3.5 mm plug or female 3.5 mm audio jack to the proper locations shown. It's also very important you make sure you have the right wire wired to the right spot. If you have the ground and one of the channels swapped you could burn up your sound board. Use a continuity tester to make sure you have the proper wires selected before you solder anything down.

User-inserted image

Then just plug in the cord you choose into the 3.5 "line in" port of an amp that has this size port. This can also be done with other audio plugs like RCA if your amp doesn't have a 3.5 mm line in. Lastly your speaker wires into the amp.

Here's the amp I'm using but it requires 12 vdc power in. You'd need to regulate the power to match your power supply.

Lepai LP-2020A+ Tripath TA2020 Class-T Hi-Fi Audio Amplifier with Power Supply

User-inserted image


@Dave Schulpius, Just to be clear, Would I connect the right and left channel wires from the 3.5 mm plug to the spot on the EZB (before the amp) as you show in your pictures and the ground wire to the ground on the EZB. Is that correct?


@bhouston Perhaps a sound bomb would work? Small and pretty loud. Only requires 5v to power
User-inserted image