Ghost Guitar Plays Hendrix

Purple Haze all in my brain,
lately guitars they don’t seem the same,
[Josh] is playin’ funny but I don’t know why
‘scuse me while he electrifies.

[Josh] wanted to experiment with playing a guitar by different means. We’ve seen a few guitar hacks that use servos to play, and Arduino-based guitars that replace the strings with membrane potentiometers, but he decided to try a different approach. He’s using a permanent magnet and the electromagnetic effect to play the string.

Purple Haze all around,
all those amps are runnin’ up or down.
Are my strings all goin’ left or right?
Whatever it is, electromagnetism is pushin’ me outta sight.

To do this, he put a large permanent magnet next to the string and ran an alternating current through the string itself. When the current and the magnetic field interact, the string is pushed, like the bearing of a motor.  When the current goes the other way, the string is pushed in the opposite direction. Because he is using an alternating current (driven through a MOSFET tied into a frequency generator), he was able to control the frequency of this, and find the frequencies that made the string resonate, including the harmonics that give guitars their unique sound. It’s a pretty neat hack, but don’t forget that he is dealing with quite a lot of juice: if you were to inadvertantly touch the string and ground it to earth, there is enough current in the circuit to kill you.

Yeah, [Josh’s] hack is all about the right hand rule,
I know that he’s no hacking fool,
you’ve got my E string resonating, resonating so fine
just don’t touch it, or you’ll end your time
Help me, yeah, Purple Haze!

(with apologies to the ghost of [Jimi Hendrix], guitar hacker supreme)

Continue reading “Ghost Guitar Plays Hendrix”

How to Weigh an Eyelash

So you’re a boxer, and you’re weighing in just 80 micrograms too much for your usual weight class. How many eyelashes do you need to pluck out to get back in the ring? Or maybe you’re following the newest diet fad, “microcooking”, and a recipe calls for 750 micrograms of sugar, and you need to know how many grains that is. You need a microgram scale.

OK, we can’t really come up with a good reason to weigh an eyelash, except to say that you did. Anyway, not one but two separate YouTube videos show you how to build a microgram balance out of the mechanism in a panel meter. You know, the kind with the swinging pointer that they used to use before digital?

Panel meters are essentially an electromagnet on a spring in the field of a permanent magnet (a galvanometer). When no current flows through the electromagnet, the spring pulls the needle far left. As you push current through the electromagnet, it is attracted to the fixed permanent magnet, fighting the spring, and tugs the pointer over to the right. More current equals more pull.

Continue reading “How to Weigh an Eyelash”

Using MIDI and Magnets to Produce Tones with Tines

Normally you’d expect the sound of a pipe organ to come from something gigantic. [Matthew Steinke] managed to squeeze all of that rich melodic depth into an acoustic device the size of a toaster (YouTube link) which uses electromagnetism to create its familiar sound.

[Matthew ’s] instrument has a series of thin vertical tines, each coupled with a small MIDI controlled electromagnet. As the magnet pulses with modulation at a specific frequency, the pull and release of the tine causes it to resonate continuously with a particular tone. The Tine Organ is capable of producing 20 chromatic notes in full polyphony starting in middle C and can be used as an attachment to a standard keyboard or a synthesizer app on a smart phone. The classic style body of the instrument is made out of mahogany and babinga and houses the soundboard as well as the mini microcontroller responsible for receiving the MIDI and regulating the software oscillators sending voltage to the magnets.

[Matthew’s] creation is as interesting to look at as it is to listen to, so I’d recommend checking out the video below to hear the awesome sound it produces:

Continue reading “Using MIDI and Magnets to Produce Tones with Tines”

Measuring Magnetic Fields with a Robotic Arm

MagneticArm

Learning how magnets and magnetic fields work is one thing, but actually being able to measure and see a magnetic field is another thing entirely! [Stanley’s] latest project uses a magnetometer attached to a robotic arm with 3 degrees of freedom to measure magnetic fields.

Using servos and aluminium mounting hardware purchased from eBay, [Stanley] build a simple robot arm. He then hooked an HMC5883L magnetometer to the robotic arm. [Stanley] used an Atmega32u4 and the LUFA USB library to interface with this sensor since it has a high data rate. For those of you unfamiliar with LUFA, it is a Lightweight USB Framework for AVRs (formerly known as MyUSB). The results were plotted in MATLAB (Octave is free MATLAB alternative), a very powerful mathematical based scripting language. The plots almost perfectly match the field patterns learned in introductory classes on magnetism. Be sure to watching the robot arm take the measurements in the video after the break, it is very cool!

[Stanley] has graciously provided both the AVR code and the MATLAB script for his project at the end of his write-up. It would be very cool to see what other sensors could be used in this fashion! What other natural phenomena would be interesting to map in three dimensions?

Continue reading “Measuring Magnetic Fields with a Robotic Arm”

AVR Atmega based PID Magnetic Levitator

magnetic_levitator_atmega_pic

[Davide] saw our recent post on magnetic levitation and quickly sent in his own project, which has a great explanation of how it works — he’s also included the code to try yourself!

His setup uses an Atmega8 micro-controller which controls a small 12V 50N coil using pulse-width-modulation (PWM). A hall effect sensor (Allegro A1302) mounted inside the coil detects the distance to the magnet and that data is used by a PID controller to automatically adjust the PWM of the coil to keep the magnet in place. The Atmega8 runs at 8Mhz and the hall effect sensor is polled every 1ms to provide an updated value for the PWM. He’s also thrown in an RGB LED that lights up when an object is being levitated!

So why is there a kid with a floating balloon? [Davide] actually built the setup for his friend [Paolo] to display at an art fair called InverART 2013!

After the break check out the circuit diagram and a short demonstration video of the device in action!

Oh yeah, those of you not impressed by magnetic levitation will probably appreciate acoustic levitation.

Continue reading “AVR Atmega based PID Magnetic Levitator”

Levitating Wireless LED Ring

magnetic levitation

Here’s an impressive example of a completely home built magnetic levitation setup… with wireless power transmission to boot!

[Samer] built this from scratch and it features two main sub-systems, a electromagnet with feedback electronics and a wireless power transfer setup.

The ring of LEDs has a stack of neodymium magnets which are levitated in place by a varying magnetic field. This levitation is achieved by using a Hall effect sensor and a PID controller using a KA7500 SMPS controller.

The wireless power transmission uses a Class E DC/AC inverter that operates at 800KHz. Two coils of wire pass the current between the stand and the LEDs.

It’s very similar to a build we featured last year, but it’s a great hack, so we had to share it! Check out the video after the break.

Continue reading “Levitating Wireless LED Ring”

EM Brace for sensing magnetic fields


We’ve discussed the notion of using machines to add or improve sensory input to the body before, and we’ve found another project with the same idea. [Nick Hasty] has developed an object he calls the EM Brace, which allows the user to sense electromagnetic fields with a wave of the hand.

The device works by connecting two antennas to an enclosure that contains a speaker. The enclosure is intended to be worn on the back with a harness securing it in place and wrapping the arms around the wearer’s body. The antennas are incorporated into a pair of gloves. When the antennas pick up electromagnetic radiation, the speaker emits a low frequency sound waves. They vibrate the enclosure and the arms, which in turn vibrate the body, signaling to the wearer that he or she is in an electromagnetic field, also referred to as hertzian space. A good deal of detail about the project can be found on his blog, or if you prefer, download his thesis paper in(PDF).

[via Make]