Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
I am trying read in the audio signal output from LM386 into a microcontroller with range 0 to 5V. I knew that LM386 has internal bias but wanted the signal at the output vout as shown with center 2.5V. I tried using equal resistor divider at the out(vout) but did not work.
The capacitor of 0.047uF I used because in the datasheet it is used in there(0.05uF) as shown in the attached picture. I used 1uF instead of 250uF because it also worked, the sound is clean and acceptable.
The 2.5V offset is already there but being blocked by the output capacitor. Feed your microcontroller directly from pin 5 and it will work.
You should be made aware that the LM386 is not a particularly good choice for this because it is designed to provide high current into a low impedance load (a loudspeaker). A rail-to-rail op-amp will give you better performance and it's output will not have the range limitation of the LM386.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.