This Instructable describes a preamplifier circuit for making smartphone scopes more versatile, more useful, and highly resistant to accidentally transferring lethal voltages into your audio jack. The input impedance is increased from around 2 KΩ to 1 MΩ, the voltage range is 10 mV to 50 V or more, and the safe overload range is equal or higher. The scale is easily calibrated with not much more than a volt-ohm meter (VOM.) No software is included; why reinvent the wheel when good apps are already out there for many platforms at a few bucks—or even free? The same basic circuit can be used, with minor changes, in many other systems including laptops, iPads, and Android tablets.
STANDARD WARNING: the complete circuit and your phone should be safe from accidental overvoltages of reasonable magnitude. But I take no responsibility for any damage that may occur to you, the circuit, or the phone. Nor can I guarantee that your particular brand/model phone will give good results. The frequency range will be limited by the parameters of your device; most should be usable from about 75 to 15,000 Hz (no DC). UNDER NO CIRCUMSTANCES SHOULD THE PREAMP OR YOUR PHONE EVER BE CONNECTED TO THE AC WALL JACK OR POWER LINE.
Remove these ads by
Signing UpStep 1: Parts and Tools
Minimal Circuit – $12-15
-Miscellaneous wiring. Old audio cables (the kind with RCA plugs) are good for the input and output leads.
-Small alligator clips (2)
-SPST “on-off” switch
-Solderless breadboard [Mouser 510-EXP-350E, $5.00]
-Resistors, ¼ watt: 1.5 KΩ, 22 KΩ (2)
-1 MΩ linear trimpot [Mouser 652 -3352P -1-105LF, $1.24]
-4.7 uF capacitor [Mouser 810-FK18X5R1A475K, $.17]
- TLC272 dual op amp [Mouser 595-TLC272IP, $.71]
-3.5 mm 4-conductor (TRRR) audio plug [Mouser 171-7435-EX, $2.60]
[-3.5 mm 3-conductor (TRR) stereo audio plug for calibration signals – OPTIONAL]
-9V battery clip
-9V battery
-Small clear plastic box. I used a 2.5 by 3.25 inch “Really Useful Box” from Office Depot, $1.29. This is about as tight as you can get.
#soldering iron
#volt-ohm meter (VOM) for calibrating and troubleshooting
Full Circuit – additional parts about $3.00
-bipolar LED [ Mouser 604-WP57YYD, $.46]
-blinking LED [Mouser 696-SSL-LX5093BSRD $.87]
-0.1 uF 100v capacitor [Mouser 594-A104K15X7RH5TAAV, $.50]
-Resistors, ¼ watt: 560 Ω, 330 Ω, 3.3 KΩ, 33 KΩ, 330 KΩ
-6.0 V 1/2 watt zener diode [Mouser 512-1N5233BTR $.05]
[-3.5 V ½ watt zeners (2) [Mouser 771-NZX3V0B,133, $.03 each - OPTIONAL]
-SPDT “range” switch







































Visit Our Store »
Go Pro Today »




The microphone has a sensitivity of 38mV/Pa so at the low end of the sounds it can detect its output will be in the order of microvolts, it would require a gain of about 80-120dB to raise the signal above the 100mV threshold that 3.5mm audio jack inputs generally require. (You might need to cascade a pair of Op Amps) and an AGC circuit to ensure that microphone outputs for louder sounds do not overload the input of the smartphone/tablet after amplification.
Input and output interfaces would be 3.5mm audio. (Target Phone HTC Amaze 4G form factor. The phone runs of a 3.7v supply but would need to have the preamp supply 5V or as close as possible to 5V supply to the low noise microphone so that the noise floor is not raised.
Thanks for this great project and instructions. I am newbie in electronic so I just want to make sure:
->the ground here is never connected to the -V of the batterry but instead to the phone ground.
-> I haven't found any bipolar LED in my region so I took 2 diodes, that should do the trick I suppose?
And thanks again for the instructions.
Also, why is there a V+, V-, and GND in the circuit diagram? Is V- == GND? Do both of the V+ in the breakout section connect directly to the range switch/op amp leg 5?
You could directly substitute the 5V from USB for the 9V battery connections, and just leave out all the zener diodes and the bipolar LED. If you are using the preamp with a laptop, that could provide the USB power. But it might be clumsy with a smartphone. One 9V battery should be good for 50-100 hours of operation—around a nickel an hour. I recommend you splurge.
First, one could use a chopper circuit (like this: http://lea.hamradio.si/~s57uuu/scdsp/CheapChop/cheapchop.htm) to move the DC to AC, then use this circuit to allow DC measurement (again, see the like above). It may even be possible to use the audio output to the headphones as a replacement for the 74HC4066 that is used to generate the 5kHz oscillator.
Secondly, you could use circuit based on capacitor charge time to chirp into the O'scope, and by measuring times between chirps, determine the voltage.
Lastly, a larger project might be to measure the voltage in a circuit and pass the information to phone software via DTMF tones or other signals. The integrated chips that are available, or even a microcontroller, make this doable, even in a small package.
Of course, regardless of hardware, a complete solution would also require software that had a mode that converted the signal to a calibrated display of voltage.
Is anyone interested in this type of pocket o'scope / DMM project? Does anyone know of an instructable or website that illustrates this sort of approach?
Until then I guess most would want to build this on a more permanent platform.
Anyway, figuring out how to move from a breadboard to throughole is something every newbie has to do at some point, so I guess this makes a good exercise.
Another thing: have you considered changing the 1M pot to a 0.5M resistor and 0.5M pot? That should be even more newbie friendly -- one can change the impedance without having to worry about measuring the resistance.
Probably different people learn things in different ways. My own dim recollections of being a newbie are that I made mistakes, and found unsoldering them difficult; and that I wanted the absolutely lowest possible parts count!
A couple of other questions here while I got your time.
Would you possibly be willing to sketch up how this would all be interconnected with no breadboard.. just soldering the resistors, transformers etc all to each other? That will help me better understand it.
Second I cannot find a 1Mohm trimmer. Is there anything I can substitute that is easily found at radio shack?
And finally I have an inductive probe that came off of my old tester that had a oscilloscope. Is there any way to incorporate that into this design? Or any other DIY solutions for the android platform that have an inductive pickup. I really need the inductive option on several things I use a scope for.
Please let me know. If you have a for sure idea on how to make it inductive I would even be happy to pay you for your time to work with me to make one. I got a car right now waiting to be diagnosed and need to get this going so I am going to wait on your answers to the and gather materials and buy an actual breadboard and see if I cant get a scope.
I sure do appreciate your help and you taking the time to reply to this old post. Keep up the good work. Thank you.
a breadboard is not a permanent solution and can cause a lot of problems down the line (connectivity) and it's also quite expensive compared to a small throughole PCB from ebay.
To make this things "advanced newbie" friendly, a throughole layout and complete schematic would be really, really neat.
My local electronics supplier has these: http://www.jaycar.co.nz/productResults.asp?keywords=dual+op-amp&keyform=KEYWORD&SUBMIT.x=33&SUBMIT.y=13
are any of these a suitable substitute?
(I'm an electronics newbie learning by building projects like this)
Because of latency, You'd need to protect the mic input and the transistors if the software chose the wrong gain.
Would you just control the gain using a digital potentiometer? I see several of them use I2C, which is supported already by IOIO. Can I just replace the 330kOhm series of resistors with a 100kOhm digital potentiometer?
But I don't understand how a smartphone's 3.5mm audio output can be used as an input for signals?
How does that work?
thank you for explaining!
I guess my ipod touch can't do that right?