Build your own metal detector

[Dzl] and his rather serious looking son are metal detector enthusiasts. But when they couldn’t find their store-bought metal detector earlier this summer they just went ahead and built their own. [Dzl] starts his write up with an explanation of how most oscillator based metal detectors work. This one differs by using an Arduino to read from the metal detecting coil.

The circuit starts with an oscillator that produces a signal of about 160 kHz which is constantly measured by the Arduino. When metal enters the coil it alters the frequency, which is immediately picked up the Arduino. Instead of that characteristic rising tone this rig uses a Piezo buzzer, issuing the type of clicks you’d normally associate with a Geiger counter.

The last part of the build was to find the best coil orientation. They settled on thirty turns around a metal bucket. An old Ikea lamp is the perfect form factor to host their hardware which seems to work like a charm.

Hackaday Links: March 25, 2013

Illegal, yet impressive

cans

Want a soda? Just grab a robot, shove it in a vending machine, and grab yourself one. This video is incredibly French, but it looks like we’ve got a custom-built robot made out of old printers and other miscellaneous motors and gears here. It’s actually pretty impressive when you consider 16 ounce cans weigh a pound.

UNOBTANIUM

chip

Okay, we got a lot of emails on our tip line for this one. It’s a group buy for a programmable oscillator over on Tindie. Why is this cool? Well, this chip (an SI570) is used in a lot of software defined radio designs. Also, it’s incredibly hard to come by if you’re not ordering thousands of these at a time. Here’s a datasheet, now show us some builds with this oscillator.

Chiptune/keygen music anywhere

keygen

[Huan] has a co-loco’d Raspi and wanted a media server that is available anywhere, on any device. What he came up with is a service that streams chiptune music from your favorite keygens. You can access it with Chrome (no, we’re not linking directly to a Raspberry Pi), and it’s extremely efficient – his RAM usage didn’t increase a bit.

Take it on an airplane. Or mail it.

bomb

[Alex]’s hackerspace just had a series of lightning talks, where people with 45-minute long presentations try to condense their talk into 10 minutes. Of course the hackerspace needed some way to keep everything on schedule. A simple countdown timer was too boring, so they went with a fake, Hollywood-style bomb. No, it doesn’t explode, but it still looks really, really fake. That’s a good thing.

Printers have speakers now?

nokia

[ddrboxman] thought his reprap needed a nice ‘print finished’ notification. After adding a piezo to his electronics board, he whipped up a firmware hack that plays those old Nokia ringtones. The ringtones play over Gcode, so it’s possible to have audible warnings and notifications. Now if it could only play Snake.

[Jeri] uses light bulbs in an oscillator

Way back when [Ms Ellsworth] was a kid, she kept seeing the same circuit over and over again in her various op-amp books. It was a Wien bridge oscillator, a small circuit that outputs a sine wave with the help of a light bulb. Now that [Jeri] is much wiser, she decided to play around with this strange oscillator and found it’s actually pretty impressive for, you know, a light bulb.

The interesting portion of the Wien bridge is the gain portion of the circuit. It’s just a simple resistor divider, with a light bulb thrown in on one of its legs. When the current increases, this causes the light bulb to warm up (not enough to glow, though). When the temperature increases, the resistance in the light bulb increases, making the oscillator reach an equilibrium.

It’s a clever setup, but what about swapping out a resistor in place of the light bulb? In the video, [Jeri] tries just that, and it’s a mess. Where the light bulb circuit is amazingly stable with very, very low distortion, the resistor circuit looks like a disaster on the scope with harmonics everywhere.

A very cool build that would be perfect for an audio synth, but as [Jeri] says in her YouTube comments, “This doesn’t have enough distortion for indie bands.”

Continue reading “[Jeri] uses light bulbs in an oscillator”

Quick and easy Arduino-powered theremin

[Martin] sent in a great guide to a simple Arduino based theremin. It’s a very small build – just a single common IC and some passive components – and easy enough to build in an afternoon.

The theremin is based on a simple LC oscillator built around a 7400 quad NAND gate IC, a wire antenna, and a few caps and resistors. When a hand moves closer to the antenna, the frequency of the oscillator increases; when a hand moves away, the frequency decreases. On the software side, the oscillator is connected to the internal hardware counter of the Arduino. Every time there’s a change in the voltage output by the oscillator (all the time, varying slightly with the distance from a hand to the antenna), the counter increases by one. This counter is tallied up over 1/10th of a second, and the distance from the instrumentalist to the theremin can be determined. From there, it’s just outputting a frequency to a speaker.

All the code, schematics, and board layouts are available on [Martin]’s guide, and most of our readers probably have the parts to build this lying around their workbench. You can check out a video of [Martin]’s theremin in action on his guide.

Remove your Arduino’s external oscillator to gain a free pair of IO pins

2free-arduino-io-pins

[Mark] from SpikenzieLabs was wrapping up a project using an Arduino the other day and found himself in need of a few more I/O pins. He could have added extra circuitry to the project, but he decided to see if he could gain a few pins by removing a few components instead.

He put together one of his Minuino boards, but rather than installing the crystal and its associated capacitors, he added a couple of pin headers in their place. It’s well known that the internal clock on the chip is not as precise as a crystal, but [Mark’s] project was not that time sensitive, so he had no problem sacrificing the oscillator for a few extra pins.

With his new I/O pins in place, he merely needed to tell the ATmega chip which clock it should be using, and he was well on his way. While this might not be the best solution for all projects out there, if you are building something that values pincount over precision, this hack is for you.

Check out the video below to see [Mark’s] hack in action.

[via HackedGadgets]

Continue reading “Remove your Arduino’s external oscillator to gain a free pair of IO pins”

Multivibrator in theory and practice

We must admit that we’ve been guilty of using a microcontroller to make two LEDs blink alternately in the past. It’s not the worst transgression, but it stems from our discomfort with analog circuits. Luckily, [Ray] published an illustrated guide on building multivibrator circuits. This is a simple method of assembling a two-output oscillator. All it takes is a pair of NPN transistors, which are then switched by on and off based on a resistor-capacitor (RC) timer.

[Ray] does a good job of walking us through how the circuit works at each stage of one complete cycle. You’ll need to read carefully, but the supplementary schematics he uses to water down snap shots of the various electrical states really helped us understand.

Of course, blinking LEDs isn’t the sole purpose of a multivibrator. It is a method of producing a clean square wave which can be used as a clock signal for TTL logic chips. Oh, who are we kidding, see the blinky goodness for yourself in the video after the break.

Continue reading “Multivibrator in theory and practice”

Gain wizardly knowledge about crystals

Make sure your test equipment is handy, then give this video series about crystal oscillators a spin. [Shahriar] of the Signal Path Blog put together a four-part video blog post totaling about an hour. In the discussion he covers the ins and outs of crystal oscillators and ring oscillators. His focus is on how these parts are used as timekeeping devices for microcontrollers. This isn’t a lecture that skims the surface of the topic, it takes you down the rabbit hole, discussing theory, how the devices are built, how to use them, and the pitfalls of doing so.

Our favorite part is in the fourth segment when [Shahriar] measures the effect that temperature has on crystals by spraying them with an inverted compressed air canister. We always thought we were just screwing around when freezing stuff like that. It didn’t occur to us that we were conducting serious experiments.

We’ve embedded the first segment of the video after the break. Continue reading “Gain wizardly knowledge about crystals”