Working with magnets and want a fast way to tell their NORTHs from their SOUTHs? Want to get an idea of their field shapes? Like making weeeeeeeooooooeeeeeeoooo noises?
Build a Magno-Sniffer using a hall effect sensor, 555 oscillator circuit, piezo speaker, tongue depressor, hot glue, and a few other doo-dads.
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: Whatsit Do?
Step 2: Disclaimer
Some knowledge of electronics and soldering.
Safe handling practices for ESD (Electrostatic Discharge) sensitive devices like the CMOS 555 or flagrant disregard thereof.
Step 3: Circuit Chunks
Hall Effect Sensor - A sensor that changes it's output voltage when it sees and changing magnetic field. They used to be expensive and complicated, but now they are simple and cheap.
VCO - Voltage Controlled Oscillator. A circuit that oscillates (makes a tone) at some pitch. The pitch changes when you feed it a changing voltage from the sensor.
Piezo Speaker - Changes the electric signal from the VCO to an annoying audible tone.
Battery, Regulator, and Switch - 9V battery power is reduced to 5V by the regulator because this hall sensor doesn't want to see more than 6V power. Pushbutton switch switches power like switches do.
Step 4: Parts
- digital/switching/switch (on or off) or
- linear/analog/sensor (variable voltage).
Ask for some free samples. But even if you have to buy some, they're pretty cheap. Like from Digikey.
CMOS 555 timer chip - The good ol' 555 timer in CMOS. Has to be the CMOS version. Like Radio Shack's TLC555/TLC555CP LinCMOS Timer (8-Pin DIP) 276-1718.
Some R's and C's - see schematic for values of the resistors and capacitors. Not real critical.
Piezo Speaker - NOT a piezo BUZZER or SIREN, they have their own oscillator. Give them DC power and they whistle on their own. Their specs will say something like "9VDC power". NO. No good.
We want a SPEAKER or TRANSDUCER or ELEMENT or SOMETHING LIKE THAT. With just the piezo cookie in there. Like Radio Shack's Piezo Element 273-073.
Voltage Regulator - In goes 9V. Out comes 5V. With a couple capacitors on it to keep it stable. Like Radio Shack's +5V Fixed-Voltage Regulator 7805 276-1770. Mine's in a different package, but the guts are the same.
9V Battery, battery clip, switch, wire, tongue depressor, hot glue.
Step 5: Schematic
I drew this from looking at the finished sniffer that I built a couple years ago. I hope it's right.
C1 - .01uF (sets pitch, larger value = lower pitch)
R1 - 100k (also sets pitch, larger value = lower pitch)
R2 - 10k or so
R3 - 22k (or 2 10k's in series)
R4 - 10k
C2 & C3 0.1uF but not critical, probably anything 0.01uF to 1uF would work.
Step 6: Breadboard
Smart people would build this on a breadboard first and see if it works. Then tweak it. And improve it.
If you're smart, go ahead. The rest of us will meet you at the next step.
Step 7: Solder - Voltage Controlled Oscillator (VCO)
Solder - The Bigger the Glob, the Better the Job
So build this however you want. Could be perfboard, make a printed circuit board, go surface mount, whatever.
Voltage Controlled Oscillator - I just went point-to-point. Flatten the pins on the 555 chip and flip it over. Hold it with one of those 3rd hand holders if you have it. I used double back tape to hold it temporarily, even though that's ignoring the ESD (electro static discharge) danger to a CMOS part. Solder parts to it.
Why CMOS? We are controlling the pitch by feeding a voltage into pin 5, the underappreciated Control Input. In the chip there is a string of 3 resistors to make voltage references. Pin 5 lets you yank those voltages around and that changes the pitch. In a normal bipolar 555 the resistors are 5k ohms, but in the CMOS 555 they are 100k ohms. Much easier to yank around.
Step 8: Solder - the Sensor
I soldered the wires to the sensor using some heat-shrink tubing for insulation.
Mine is glued with the beveled edges up. When the bottom side of the sensor sees a south pole of a magnet, the pitch goes up. That's just how it turned out.
Step 9: Solder - the Regulator
Regulators come in various case styles. Look at the specs and find the in, out, and common (ground) pins. Wire yours as needed.
The 2 capacitors should be very close to the regulator. They keep the regulator stable. Else it may go all freaky like. The capacitor values are not very critical.
I wish I hadn't run the wires from the piezo right through there. Makes the photo even more confusing.
Step 10: Solder - the Rest of the Stuff
Solder and wire and glue the battery, battery clip, piezo speaker, and switch.
This switch just happened to line up with the piezo so you can press it with your thumb and roll your thumb forward to cover the hole in the piezo for a volume control.
Step 11: What's the Polarity?
With any luck, it will make a tone when you press the button.
With more luck, the tone will change when you get the sensor near a magnet.
Hang a magnet by a string or float it. The end pointing North is North.
On mine, the pitch goes up with the south pole of a magnet near the bottom of the sensor.
And down with a north pole near the bottom.
And up with the north pole near the top.
And down with the south pole near the top.
Step 12: I Can't Delete This Step
It won't let me delete this step.
So here's my dog...
Participated in the
The Instructables Book Contest