Hack the Spy Ear and Learn to Reverse Engineer a Circuit
Intro: Hack the Spy Ear and Learn to Reverse Engineer a Circuit
This instructable introduces the venerable Spy Ear in details and my way to reverse engineer a circuit.
Why does this device deserves its own instructable?:
-You can buy a Spy Ear for a dollar!
-It can amplify sounds up to 60 dB or a factor of a 1000.
-It has a self limiting property and adjusts the gain so that the amplified signal volume is always just right.
-It runs of two LR44 1.5 volt button cell alkaline battery, so it's perfect for portable projects.
-Many of today's projects, such as in robotics, require analogue front end for sensing the environment and the Spy Ear circuit is just right to fill in as a multi-purpose front end amplifier.
-It is simple enough to reverse engineer.
-I am making another instructable using this device.
So the Spy Ear is a fantastic cheap,small and rugged circuit for modding and hacking
Check out my other Instructables:
MAKE A HIGH VOLTAGE SUPPLY IN 5 MINUTES
Super Easy E-mail Encryption Using Gmail, Firefox and Windows
Make a Voltage Controlled Resistor and Use It
Make a Ball Mill in 5 Minutes
Make a Rechargeable Dual Voltage Power Supply for Electronic Projects
SODA CAN HYDROGEN GENERATOR
Why does this device deserves its own instructable?:
-You can buy a Spy Ear for a dollar!
-It can amplify sounds up to 60 dB or a factor of a 1000.
-It has a self limiting property and adjusts the gain so that the amplified signal volume is always just right.
-It runs of two LR44 1.5 volt button cell alkaline battery, so it's perfect for portable projects.
-Many of today's projects, such as in robotics, require analogue front end for sensing the environment and the Spy Ear circuit is just right to fill in as a multi-purpose front end amplifier.
-It is simple enough to reverse engineer.
-I am making another instructable using this device.
So the Spy Ear is a fantastic cheap,small and rugged circuit for modding and hacking
Check out my other Instructables:
MAKE A HIGH VOLTAGE SUPPLY IN 5 MINUTES
Super Easy E-mail Encryption Using Gmail, Firefox and Windows
Make a Voltage Controlled Resistor and Use It
Make a Ball Mill in 5 Minutes
Make a Rechargeable Dual Voltage Power Supply for Electronic Projects
SODA CAN HYDROGEN GENERATOR
STEP 1: How to Reverse Engineer a Circuit
This step shows you how to reverse engineer the circuit.
1. First take a picture of the front and back of the circuit.
2. Trace the pcb layout on the back using a graphic program like photoshop. Try using the "bucket fill" tool first. if that doesn't work color it by hand.
Don't color the whole pcb layout. Leave the areas where a solder is made clear, so that you can figure out which component's leg goes where.
3.Copy the pcb layout you made and paste it on top of the device's front picture. Flip it horizontally and adjust the scale and position so that the trace is super-imposed exactly on top of the components (see picture below).
4.Then comparing the different pictures and looking at the actual circuit, draw in the components' symbols from node to node. (see last picture).
5. Next, you'd need a circuit drawing program to rearrange the rough circuit that you drew by hand (see next step).
Count the components. Use the count as a checksum when you reconstruct the schematic. It is easy to forget something.
1. First take a picture of the front and back of the circuit.
2. Trace the pcb layout on the back using a graphic program like photoshop. Try using the "bucket fill" tool first. if that doesn't work color it by hand.
Don't color the whole pcb layout. Leave the areas where a solder is made clear, so that you can figure out which component's leg goes where.
3.Copy the pcb layout you made and paste it on top of the device's front picture. Flip it horizontally and adjust the scale and position so that the trace is super-imposed exactly on top of the components (see picture below).
4.Then comparing the different pictures and looking at the actual circuit, draw in the components' symbols from node to node. (see last picture).
5. Next, you'd need a circuit drawing program to rearrange the rough circuit that you drew by hand (see next step).
Count the components. Use the count as a checksum when you reconstruct the schematic. It is easy to forget something.
STEP 2: Draw the Schematic
To draw the circuit and simulate it I used Linear Technology's LTspice. It's free and it is great.
LTspice
http://www.linear.com/designtools/software/switchercad.jsp
I make the Spy Ear schematic available for the first time on the web in this instructable.
V1 N001 0 1.5
Q1 N006 N009 0 0 2N3904
Q2 N004 N008 0 0 2N3904
R6 N001 N004 4.7k
Q3 N005 N004 0 0 2N3904
R7 N004 N008 200k
C4 N008 0 5n
RÃÂçVR1 N002 N003 5k
RÃÂçVR2 N003 N006 5k
R2 N001 N002 220
CÃÂçBigC N002 0 10ÃÂõ
R8 N006 N009 200k
C1 N007 N009 .1ÃÂõ
R1 N002 N007 3.3k
C2 N003 N008 .1ÃÂõ
VÃÂçMicrophone N007 0 SFFM(0 1u 2000 100 100) AC .1u
RÃÂçEarphone N001 N005 75
C3 N001 N005 .1ÃÂõ
.model NPN NPN
.model PNP PNP
.lib C:\Program Files\LTC\SwCADIII\lib\cmp\standard.bjt
.tran 0 100ms 0 1ms
.backanno
.end
LTspice
http://www.linear.com/designtools/software/switchercad.jsp
I make the Spy Ear schematic available for the first time on the web in this instructable.
V1 N001 0 1.5
Q1 N006 N009 0 0 2N3904
Q2 N004 N008 0 0 2N3904
R6 N001 N004 4.7k
Q3 N005 N004 0 0 2N3904
R7 N004 N008 200k
C4 N008 0 5n
RÃÂçVR1 N002 N003 5k
RÃÂçVR2 N003 N006 5k
R2 N001 N002 220
CÃÂçBigC N002 0 10ÃÂõ
R8 N006 N009 200k
C1 N007 N009 .1ÃÂõ
R1 N002 N007 3.3k
C2 N003 N008 .1ÃÂõ
VÃÂçMicrophone N007 0 SFFM(0 1u 2000 100 100) AC .1u
RÃÂçEarphone N001 N005 75
C3 N001 N005 .1ÃÂõ
.model NPN NPN
.model PNP PNP
.lib C:\Program Files\LTC\SwCADIII\lib\cmp\standard.bjt
.tran 0 100ms 0 1ms
.backanno
.end
STEP 3: Simulations
Here are the simulations that I ran from the previous netlist and they show the characteristics of the Spy Ear.
You'd notice the frequency response is not even which produces distortions in the output (see next pic).
But this is ok, because Spy Ear is designed to focus on speech. The main spectrum of speech is between 300 and 3000Hz and if you are trying to spy on someone's conversation as the package claims, the goal is to amplify speech frequencies while cutting out ambient noise.
There is an advantage of having a schematic for simulation because with a few clicks you can investigate the effect of modding the components without actually doing it physically. For example, if C1 and C2 are replaced with larger capacitors, like on the order of 100u, the response approaches HiFi (see last picture). HiFi requires that the frequency response be flat and wide.
You'd notice the frequency response is not even which produces distortions in the output (see next pic).
But this is ok, because Spy Ear is designed to focus on speech. The main spectrum of speech is between 300 and 3000Hz and if you are trying to spy on someone's conversation as the package claims, the goal is to amplify speech frequencies while cutting out ambient noise.
There is an advantage of having a schematic for simulation because with a few clicks you can investigate the effect of modding the components without actually doing it physically. For example, if C1 and C2 are replaced with larger capacitors, like on the order of 100u, the response approaches HiFi (see last picture). HiFi requires that the frequency response be flat and wide.
STEP 4: Picachu's Spy Ear
Picachu bought spy ears that are different than the one I used. It turn out they are missing two capacitors that makes it amplify less.
126 Comments
c4fmguru 4 years ago
The reason the first schematic seems to amplify more than the second schematic doesn't have anything to do with the two missing capacitors from the second circuit. If you notice the resistor values used for negative feedback of the self-biasing configuration (connected between the base and collector of the first two pre-amp transistors), are greater in value than the second circuit. This means that the first circuit has less negative feedback than the second circuit, which means that the first circuit could be less stable and can begin to self-oscillate. This is why the first circuit needs the added capacitance. The capacitors keep the amplifier from oscillating (high pitched squeal). However, less negative feedback signal means more gain. The second circuit compromised a little gain using slightly smaller feedback resistor values, but the circuit is more stable. This means that the capacitors used to keep the amp from self-oscillating are no longer needed in the second circuit.
Also, the ceramic capacitors marked 100uF should be 100nF. Or, 0.1uF in other words.
T0BY 7 years ago
I am very impressed!
anubhavtalukdar007 11 years ago
anubhavtalukdar007 11 years ago
achraf52 12 years ago
Biotele 12 years ago
achraf52 12 years ago
static 12 years ago
Biotele 12 years ago
Dave54321 13 years ago
it allows you modify the Spy ear by removing a transistor and powering
it by the computer to make a super duper sensitive Condenser Mic
which worked well for me as I wanted a better mic than I could find at
radio shack.
here is the link to several directional Mic's the last one is the Spy Ear
http://www.techlib.com/area_50/PTM/audio.htm#super and also includes
the schematics.
also the .1 uf caps don't appear to be electrolitics so observe the DC potential
in this circuit when using electolitic caps by putting the + to the higher potential
so they don't blow up, which I doubt at that low voltage.
Biotele 13 years ago
Dave54321 13 years ago
photo resistorwould work in that circuit.
What lead me to the spy ear was I wanted to make my computer
mic actually put out some audio to make a series of affermation
statements to play while I sleep under my pillow. The little condenser
mic's that are powered by the computer audio circuit board lack
sensativity so you must speak closely to the mic and you pick
up a lot of unwanted noises made by the mouth that are not normally
heard in conversation.
What is the title of you other Instructable ?
burdockwing 13 years ago
techh2 13 years ago
Vaxinius 13 years ago
Biotele 13 years ago
Vaxinius 13 years ago
then it lists a whole bunch of text of wire locations etc. same thing as before.
your help is appreciated as im a training electronics technician in the canadian forces and getting the edge on software like this can only do me good.
Biotele 13 years ago
If that does not work Google "multiple instances of [symattr]". You might find the problem. keep me posted, thanks.
Vaxinius 13 years ago
Turns out my problem was i didn't know how to properly rename an extension. Kept renaming the file the whole time. ...to the sandbox!
Vaxinius 13 years ago
Turns out my problem was i didn't know how to properly rename an extension. Kept renaming the file the whole time. ...to the sandbox!