# Audio input signal amplification

**URL:** <https://forum.arduino.cc/t/audio-input-signal-amplification/1031497>\
**Category:** Audio\
**Created:** [September 13, 2022, 6:12pm UTC](https://forum.arduino.cc/t/audio-input-signal-amplification/1031497 "2022-09-13T18:12:45Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![spark711](https://avatars.discourse-cdn.com/v4/letter/s/ecd19e/32.png) [@spark711](https://forum.arduino.cc/u/spark711)\
**Post date:** [September 13, 2022, 6:12pm UTC](https://forum.arduino.cc/t/audio-input-signal-amplification/1031497/1 "2022-09-13T18:12:45Z")

</div>

I'm trying to read the audio signal of a 3.5 mm audio jack (headphone cable) on my arduino uno. I followed some tutorials, but the amplitude of the signal is so low (hardly above 0 volts, so i guess the original signal amplitude).  
can anybody help me on how to get the amplitude to 0 to 5 volts?

 ![PXL_20220913_175911985(1)](https://europe1.discourse-cdn.com/arduino/original/4X/9/6/5/9651fa9a9464572cab52335391ef5c818f1d0cbc.jpeg)

---

<div class="post-metadata">

**Author:** ![Paul\_KD7HB](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/paul_kd7hb/32/1127958_2.png) [@Paul\_KD7HB](https://forum.arduino.cc/u/Paul_KD7HB)\
**Post date:** [September 13, 2022, 7:32pm UTC](https://forum.arduino.cc/t/audio-input-signal-amplification/1031497/2 "2022-09-13T19:32:09Z")

</div>

Audio is AC, so you only want to amplify it to +- 2.5 volts and apply a DC bias of 2.5 volts before connecting to an Arduino AD pin. What is your project?

---

<div class="post-metadata">

**Author:** ![anon57585045](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@anon57585045](https://forum.arduino.cc/u/anon57585045)\
**Post date:** [September 13, 2022, 7:37pm UTC](https://forum.arduino.cc/t/audio-input-signal-amplification/1031497/3 "2022-09-13T19:37:59Z")

</div>

Use the 1.1V ADC internal reference and you won't have to amplify it.  
[https://www.arduino.cc/reference/en/language/functions/analog-io/analogreference/](https://www.arduino.cc/reference/en/language/functions/analog-io/analogreference/)  
By the way, please post a real schematic.

---

<div class="post-metadata">

**Author:** ![anon94801460](https://avatars.discourse-cdn.com/v4/letter/a/278dde/32.png) [@anon94801460](https://forum.arduino.cc/u/anon94801460)\
**Post date:** [September 13, 2022, 8:07pm UTC](https://forum.arduino.cc/t/audio-input-signal-amplification/1031497/4 "2022-09-13T20:07:01Z")

</div>

Headphone, or line output cables typically have a signal level on the order of 1 VAC peak to peak (when the volume is turned up appropriately).

You need to offset that signal with a voltage divider, and make sure that any inherent DC offset is removed.

It appears from the photo that this is what you tried, but there is NO CONNECTION shown from the 10K/10K voltage divider to the audio input. The gap in the protoboard is an insulator.

Example schematic:  
 ![](https://europe1.discourse-cdn.com/arduino/original/4X/1/8/8/1882bbc2ad9dbd0b76eb4834ec70d84393738a5a.jpeg)

---

<div class="post-metadata">

**Author:** ![spark711](https://avatars.discourse-cdn.com/v4/letter/s/ecd19e/32.png) [@spark711](https://forum.arduino.cc/u/spark711)\
**Post date:** [September 14, 2022, 4:33pm UTC](https://forum.arduino.cc/t/audio-input-signal-amplification/1031497/5 "2022-09-14T16:33:30Z")

</div>

Thank you all for your replies, much appreciated.  
I am trying to make a sound reactive VU like this: [Stereo Vu meter - second edition - YouTube](https://www.youtube.com/watch?v=bZQZlyhVY0k)  
Jremingtons's schematic is correct, that is what i need. I'm still having trouble trying to get convert the schematic to the breadboard. Is this correct?

 ![PXL_20220914_162029346(1)](https://europe1.discourse-cdn.com/arduino/original/4X/d/9/4/d94cf09fd200f404268e947b39c9959b310aaa9a.jpeg)

The audio signal (+) goes into 24, then into the - pole on a 10 µf capacitor. the + pole of the capacitor goes to 23 on the breadboard. Then there are the two 10k resistors and finally the signal to my arduino.

The signal is oscillating around 2.5 volts, so far so good. It is however still not amplified. Can somebody please point out my mistake?

---

<div class="post-metadata">

**Author:** ![anon94801460](https://avatars.discourse-cdn.com/v4/letter/a/278dde/32.png) [@anon94801460](https://forum.arduino.cc/u/anon94801460)\
**Post date:** [September 14, 2022, 4:35pm UTC](https://forum.arduino.cc/t/audio-input-signal-amplification/1031497/6 "2022-09-14T16:35:15Z")

</div>

> [@spark711](#):
>
> It is however still not amplified.

There is nothing to amplify the signal. Your circuit just adds a voltage offset.

---

<div class="post-metadata">

**Author:** ![build\_1971](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/build_1971/32/689930_2.png) [@build\_1971](https://forum.arduino.cc/u/build_1971)\
**Post date:** [September 14, 2022, 4:43pm UTC](https://forum.arduino.cc/t/audio-input-signal-amplification/1031497/7 "2022-09-14T16:43:37Z")

</div>

Since you use an electrolytic cap you need to have audio on the negative pole. From your pic I cannot see if it is OK this way.  
If you want amplification you could use a transistor or an opamp

---

<div class="post-metadata">

**Author:** ![DVDdoug](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/dvddoug/32/671533_2.png) [@DVDdoug](https://forum.arduino.cc/u/DVDdoug)\
**Post date:** [September 14, 2022, 5:20pm UTC](https://forum.arduino.cc/t/audio-input-signal-amplification/1031497/8 "2022-09-14T17:20:34Z")

</div>

With the volume turned-up you should be getting "usable" readings from a headphone output or a line-level output but you probably won't get the full 5V range.

With the 2.5V bias circuit you can't use the [1.1V reference](https://www.arduino.cc/reference/en/language/functions/analog-io/analogreference/) but here is a circuit that kills the negative half of the signal so you CAN use the lower reference and get about 5 times as much sensitivity (similar to 5X amplification).

![Audio input 2](https://europe1.discourse-cdn.com/arduino/original/4X/e/3/5/e3558d396e512a84c9dd483fe14a033f23709b2f.png)

With the 1.1V reference, each ADC count is about 1mV and that should help. Note that half of the readings (the negative half of the waveform) will be zero.

For a VU meter it's OK to ignore the negative half of the waveform but if you want to do any frequency analysis it won't work properly,

...You can make an amplifier with an op-amp but that shouldn't be necessary.

---

<div class="post-metadata">

**Author:** ![anon57585045](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@anon57585045](https://forum.arduino.cc/u/anon57585045)\
**Post date:** [September 17, 2022, 1:12am UTC](https://forum.arduino.cc/t/audio-input-signal-amplification/1031497/9 "2022-09-17T01:12:27Z")

</div>

> [@DVDdoug](#):
>
> With the 1.1V reference, each ADC count is about 1mV and that should help.

As ignored in post #3. You only need to change the bias network values to provide 0.5V DC offset.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [March 16, 2023, 1:13am UTC](https://forum.arduino.cc/t/audio-input-signal-amplification/1031497/10 "2023-03-16T01:13:09Z")

</div>

Closed on March 16, 2023, 1:13am UTC

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
