Posts with «vibration sensor» label

Cornhole Boards Play Victory Songs

How do you instantly make any game better? By lighting it up and playing at night. We would normally say ‘drinking’, but we’re pretty sure that drinking is already a prerequisite for cornhole — that’s the game where you toss bean bags at holes in angled boards.

[Hardware Unknown] loves cornhole, and was gifted a set of portable, folding boards that light up around the ring for nighttime action. These turned out to be the perfect basis for reactive boards that light up and play sound whenever points are scored. Both boards have a vibration sensor to detect bags hitting the top, and an IR break-beam sensor pair across the hole. An Arduino Nano reads from the sensors and controls an amplifier and a DF Player for sound.

Players get a point and a song for landing a bag on top of the board, and three points and a different song for making it in the hole. We love the Easter egg — anyone who manages to trip both the vibration sensor and the break-beam detector at the same time will be treated to the sound of a flock of honking geese. Check out the build journey after the break.

No good at cornhole? This one doesn’t let you miss.

Celebrate Spring with a DIY Vibration Sensor

Is your heaving pile of electronic parts shrinking by the day as you finish old back-burnered projects and come up with new ones? Try an old pastime that never gets old: rolling your own sensors using household objects. [Nematic!] needs a way to sense vibration for an upcoming project. Instead of spending $1 plus shipping and waiting who knows how long for a spring vibration sensor to come in the mail, they made one in a matter of minutes.

A spring vibration sensor is a simple device that can be used as a poor man’s accelerometer, or simply to detect vibration. All you need is a length of conductive wire, a 10 kΩ resistor, and a way to pick up those good vibrations. For the purposes of demonstration, [Nematic!] is using an Arduino Nano in the short build video after the break.

The wire is wound around the threads of a bolt to form a coil that’s just large enough for a resistor to fit inside. One end of the coil is connected to 5 V, and one leg of the resistor connects to an input pin. Together, they form a normally-open switch. When vibrations force the free ends of both to touch, the circuit is complete and the pin is pulled high.

If you make one of these and find the sensitivity is off, just twist up a new coil with stiffer or softer wire depending on the problem. Iterating doesn’t get much cheaper than wrapping wire around a bolt. We can’t wait to see how [Nematic!] will use this sensor. In the meantime, we’re planning to use one to detect when the dryer stops running and send a text.

Speaking of bargain basement sensors, did you know you can detect water leaks with two pennies, an aspirin, and a clothespin? These projects demonstrate the kind of ingenuity that can win you a pile of toys in our new Making Tech At Home contest, running now through July 28th, 2020.

Hackaday Prize Entry: Open Source FFT Spectrum Analyzer

Every machine has its own way of communicating with its operator. Some send status emails, some illuminate, but most of them vibrate and make noise. If it hums happily, that’s usually a good sign, but if it complains loudly, maintenance is overdue. [Ariel Quezada] wants to make sense of machine vibrations and draw conclusions about their overall mechanical condition from them. With his project, a 3-axis Open Source FFT Spectrum Analyzer he is not only entering the Hackaday Prize 2016 but also the highly contested field of acoustic defect recognition.

For the hardware side of the spectrum analyzer, [Ariel] equipped an Arduino Nano with an ADXL335 accelerometer, which is able to pick up vibrations within a frequency range of 0 to 1600 Hz on the X and Y axis. A film container, equipped with a strong magnet for easy installation, serves as an enclosure for the sensor. The firmware [Ariel] wrote is an efficient piece of code that samples the analog signals from the accelerometer in a free running loop at about 5000 Hz. It streams the digitized waveforms to a host computer over the serial port, where they are captured and stored by a Python script for further processing.

From there, another Python script filters the captured waveform, applies a window function, calculates the Fourier transform and plots the spectrum into a graph. With the analyzer up and running, [Ariel] went on testing the device on a large bearing of an arbitrary rotating machine he had access to. A series of tests that involved adding eccentric weights to the rotating shaft shows that the analyzer already makes it possible to discriminate between different grades of imbalance.

The HackadayPrize2016 is Sponsored by:

Filed under: The Hackaday Prize