connect an arduino uno to an amplifier

Hello, I want to use my arduino uno like a 8x (8 channels) monophonic synth. I already have two of this amplifier : TDA7850 4X50W 4 Channel. the datasheet is here : http://www.datasheetdir.com/TDA7850+Automatic

And i've got 8x 4ohm speaker.

Do you thing that I can connect the amplifiers to the arduino uno with doing this tutorial ? http://arduino.cc/en/Tutorial/Tone

In this tuto they said to use a 8 ohm speaker. But my amplifiers is good for 4 ohm speaker.

In this tuto they said to use a 8 ohm speaker. But my amplifiers is good for 4 ohm speaker.

In which case it will only be half as loud.

The Arduino UNO only has 6 "analog" outputs. The Mega has plenty of "analog" pins.

As you may know, the Arduino has PWM outputs which can approximate analog for some applications, but it doesn't have a true DAC or a true analog output. Before you go building an 8-channel monster, please experiment with something simpler to make sure you can get the sound quality/character you are looking for. You can get an audio shield with a DAC, but for 8 channels you'd need more than one of them...

Yes, you can connect an audio power amplifier (or regular "powered" computer speakers) to a PWM output. Note that the Arduino can't put-out the negative half of an AC audio waveform, so it will typically be biased at 2.5V. You need an DC blocking filter (a capacitor & resistor) if the amplifier doesn't already have one at the input.

Also, make sure you have a volume control! The full 0 to +5V output swing is a little "hot" for a line-level audio signal.

During design, development, and debugging, I suggest a lower power amplifier or lowering the power supply voltage to your 50W amps.... 50W will be LOUD and with a constant 50W tone you might blow a speaker. (A 50W speaker is intended for music with 50W peaks and about 5W average.) The tweeter in a 50W speaker may not even withstand 5W of continuous high-frequency test-tones.

n this tuto they said to use a 8 ohm speaker. But my amplifiers is good for 4 ohm speaker.

The impedance rating for an amplifier is the minimum for the particular amp. Since you are using an amplifier, and not connecting to the Arduino, that's not an issue for you as long as the amp works down to 4 Ohms. 8-Ohms is too low for the Arduino, and that's why they show a series resistor.

Take a listen to my polyphonic piano/organ with output tones mixed externally and amplified by desktop computer speakers. Tones are created using '1284P, '328P can xreate same tones. https://www.youtube.com/watch?v=4c8idXN4Pg0

(With 5V output, 4 ohm speaker will be louder than 8 ohm if the 5V can supply the needed current: P=IV = I&=I^2R = V^2/R P = 5*5/8 is 3.125W, vs 5*5/4 = 6.25W)

Yes but the tutorial he is asking about is a direct output from an arduino pin with a series resistor, therefore with a 4 ohm speaker it will not be as loud.

Agreed, 30-35mA thru 4 ohm speaker (with another series resistor) will be less loud than same current thru 8 ohm speaker: P=I^2*R = .03*.03*4 = 3.6mW vs 7.2mW. The amplifier referenced can handle 4 ohm speaker tho, 2 ohm even, with a decent power supply (i.e. not the meager 5V, 500mA that Arduino 5V header might be capable of): High output power capability: – 4 x 50W/4Ω max. – 4 x 30W/4Ω @ 14.4V, 1KHz, 10% – 4 x 80W/2Ω max. – 4 x 55W/2Ω @ 14.4V, 1KHz, 10% http://www.datasheetdir.com/TDA7850+download

thanks you all for your help :)