# Unconventional Homopolar Motor

As a hacker, chances are that you have built a homopolar motor, as you only need three things: a battery, a magnet and some copper wire. There are zillions of videos on YouTube. This time we want to show you [Electric Experiments Roobert33]´s version. Definitely a fresh twist on the ubiquitous design that you see everywhere. His design is a bit more complicated, but the result makes the effort worthwhile.

The homopolar motor was the first electric motor ever built. Created  Michael Faraday in 1821, it works because of the Lorentz force. This force acts on any current-carrying conductor that is immersed in a magnetic field which is perpendicular to the current. These motors really have no practical applications, but are an excellent way to learn basic aspects of electromagnetism.

In this setup, there are two conductive rings placed above a wooden base, connected to the battery terminals. Neodymium magnets are connected by a conductive rod that pivots in the center of the rings, closing the circuit and allowing the flow of current. Then the Lorentz force makes its magic and pushes the rod and magnets in a circular motion.

Very clean and well-edited work, as are other videos by [Electric Experiments Roobert33]. You may want to replicate this nice motor, or you can also make the simpler version to start experimenting.

# Start Your Path to Becoming an Antenna Guru

We’ve known a few people over the years that have some secret insight into antennas. To most of us, though, it is somewhat of a black art (which explains all the quasi-science antennas made out of improbable elements you can find on the web). There was a time when only the hams and the RF nerds cared about antennas, but these days wireless is everywhere: cell phones, WiFi, Bluetooth, and even RF remote controls all live and die based on their antennas.

You can find a lot of high-powered math discussions about antennas full of Maxwell’s equations, spherical integration and other high-power calculus, and lots of arcane diagrams. [Mark Hughes] recently posted a two-part introduction to antennas that has less math and more animated images, which is fine with us (when you are done with the first part, check out part two). He’s also included a video which you can find below.

The first part is fairly simple with a discussion of history and electromagnetics. However, it also talks about superposition, reflection, and standing wave ratio. Part two, though, goes into radiation patterns and gain. Overall, it is a great gateway to a relatively arcane art.

We’ve talked about Smith charts before, which are probably the next logical step for the apprentice antenna wizard. We also covered PCB antenna design.

# 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)

# 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.

# 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:

# Measuring Magnetic Fields with a Robotic Arm

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?

# AVR Atmega based PID Magnetic Levitator

[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.