Levitating Banana Is An Excellent Conversation Starter

“I really like your floating banana.” If that’s something you’ve always wanted your guests to say when visiting your living room, this levitating banana project from [ElectroBing] is for you.

The design is simple. It relies on a electromagnet to lift the banana into the air. As bananas aren’t usually ferromagnetic, a simple bar magnet is fitted to the banana to allow it to be attracted to the electromagnet. One could insert the magnets more stealthily inside the banana, though this would come with the risk that someone may accidentally consume them, which can be deadly.

Of course, typically, the magnet would either be too weak to lift the banana, or so strong that it simply attracted the banana until it made contact. To get the non-contact levitating effect, some circuitry is required. A hall effect sensor is installed directly under the electromagnet. As the banana’s magnet gets closer to the electromagnet, the hall effect sensor’s output voltage goes down. Once it drops below a certain threshold, a control circuit cuts power to the electromagnet. As the banana falls away, power is restored, pulling the banana back up. By carefully controlling the power to the electromagnet on a continuous basis, the banana can be made to float a short distance away in mid-air.

It’s a fun build, and one that teaches many useful lessons in both physics and electronics. Other levitation techniques exist, too, such as through the use of ultrasound. Video after the break.

Continue reading “Levitating Banana Is An Excellent Conversation Starter”

A composite picture with a 3D printed cylinder with a magnet at one end held in a 3D printed housing ring on the left composite picture and a fridge buzzer board with buzzer, CR2032 battery, MCP430 microcontroller and hall effect sensor slid into a 3D printed base on the right part of the composite picture

Don’t Lose Your Cool With This Fridge Buzzer

[CarrotIndustries] wanted to add an audible warning for when the refrigerator door was left open. The result is a fridge buzzer that attaches to the inside of a fridge door and starts buzzing if the door is left ajar for too long.

The main components of the fridge buzzer consist of an MSP430G2232 low-power MCU connected to a SI7201 hall sensor switch, along with a CR2032 battery holder, push button and buzzer. The MSP430’s sleep mode is used here, consuming less than 3 µA of current which [CarrotIndustries] estimates lasting 9 years on a 235 mAh CR2032 battery.

A 3D printed housing is created so that the board slides into a flat bed, which can then be glued onto to the fridge door. The other mechanical component consists of a cylinder with a slot dug out for a magnet, where the cylinder sits in a mounting ring that’s affixed to the side of the fridge wall that the end of the door closes on. The cylinder can be finely positioned so that when the refrigerator is closed, the magnet sits right over the hall sensor of the board, allowing for sensitivity that can detect even a partial close of the fridge door.

All source code is available on [CarrotIndustries] GitHub page, including the Horizon EDA schematics and board files, the Solvespace mechanical files, and source code for the MSP430. We’ve featured an IoT fridge alarm in the past but [CarrotIndustries]’ addition is a nice, self contained, alternative.

Tracing In 2D And 3D With Hall Effect Sensors

Pantographs were once used as simple mechanical devices for a range of tasks, including duplicating simple line drawings. [Tim] decided to make a modern electronic version that spits out G-Code instead.

The design relies on a 3D-printed pantograph assembly, mounted upon a board as a base. A pair of Hall effect sensors are mounted in the pantograph, which, along with a series of neodymium magnets, can be used to measure the angles of the pantograph’s joints. The Hall sensors are read by an Arduino Nano, which computes the angles into movement of the pantograph head and records it as G-Code. This can simply be displayed on the attached LCD display, or offloaded to a computer for storage.

[Tim] explains the basic theory behind the work in an earlier piece, where he built a set of electronic dividers using the same techniques. He didn’t stop there, either. He also built a more complex version that works in 3D that he calls it the Electronic Point Mapper, which can be used to generate point clouds with a 3D-capable pantograph mechanism.

It’s a neat way to learn about geometry, and could even be useful if you’re doing some work in tracing 2D drawings or measuring 3D objects.

Continue reading “Tracing In 2D And 3D With Hall Effect Sensors”

3D Printed Maglev Switches Are So Hot Right Now

It doesn’t happen all the time, but over the years we’ve noticed that once we feature a project, a number of very similar builds often find themselves in our tip line before too long. Of course, these aren’t copycats; not enough time has passed for some competitive maker to spin up their own version. No, most of the time it’s somebody else who was working on a very similar project in isolation, and who now for the first time realizes they aren’t alone.

Thanks to this phenomenon we’re happy to report that yet another 3D printable magnetic levitation switch has come to light. Developed by [famichu], this take on the concept is markedly different from what we’ve seen previously, which in a way makes the whole thing even more impressive. It’s one thing for multiple hackers to develop similar projects independently of each other, as the end goal often dictates the nature of the design itself. But here we’re seeing a project that took the same core concepts and ran in a different direction. Continue reading “3D Printed Maglev Switches Are So Hot Right Now”

Practical Sensors: The Hall Effect

Measuring a magnetic field can be very easy with some pretty low tech, or it can be very high tech. It just depends on what kind of measurement you need and how much effort you want to expend. The very simplest magnetic sensors are reed switches. These are basically relays with no coil. Instead of a coil, an external magnet gets close enough to make or break the contacts in the reed. You see these a lot in, for example, door alarm sensors.

Then again, there’s no real finesse to a reed. It changes state when it sees enough of a magnetic field and that’s about all. You could use a compass with some sort of detection on the needle to get some more information about the field, but not much more. That was, however, how early magnetometers worked. Today, you have lots of options, including the nearly ubiquitous Hall effect sensor.

You might use a Hall effect to measure the magnetic button on a keyboard key coming down when you press it or the open and closed state of a valve. A lot of Hall effects see service as current monitors. Since a coil generates a magnetic field proportional to the current through it, a magnetic sensor can estimate the current in a coil of wire without any physical contact. Hall effects can also watch a magnet go by in a linear motion system or a rotating system to get an idea of position or speed. For example, check out this brushless motor controller that uses three sensors to understand the motor’s position.

History

Edwin Hall identified the effect in 1879. The basic idea is simple: an electrical conductor carrying current will exhibit changes due to an external magnetic field nearby. These changes show up as voltage you measure across the conductor. Normally, the voltage across a conductor will be nearly zero, but with a magnetic field, you’ll get a non-zero reading in proportion to the magnetic field strength in a particular plane, as we’ll see shortly.

Hall effect sensors are just one type of modern magnetometer. There are many different kinds including those that use inductive pickup coils that may or may not rotate or a fluxgate, which is a special type of coil. Some use a scale or a spring to measure force against another magnet — sometimes microscopically. You can even detect a magnetic field using optical properties like the Kerr effect or Faraday rotation.

Continue reading “Practical Sensors: The Hall Effect”

A Magnetic Field Strength Meter Using An Arduino

We’re used to Hall effect devices as proximity sensors in mechanical systems, used to provide detection of something that has a magnet attached to it. However it’s easy to forget that the devices that provide a magnet-or-not digital output are only part of the story, and linear Hall effect devices provide a handy way to measure a static magnetic field. It’s something [mircemk] demonstrates, with an Arduino-powered magnetic field strength meter that uses a UGN 3503U Hall effect device.

The circuit is extremely simple, comprising the sensor, an Arduino Nano, and an OLED display. This device is handy because its voltage output has a known relationship to the gauss level the sensor is experiencing, so while the accuracy of its calibration isn’t verified it can at least give a believable reading derived from the Arduino’s ADC.

The whole is wrapped up in an attractive case that looks as though it has been made from PCB material, with the sensor protruding on what seems to be the shell of a plastic ballpoint pen. It makes a handy instrument that provides a useful function for not a lot of money, so what’s not to like! Take a look at the video below the break for the full story.

Surprisingly such projects are few and far between here at Hackaday, however it’s not the first magnetic field measurement we’ve seen.

Continue reading “A Magnetic Field Strength Meter Using An Arduino”

Fire In The Palm Of Your Hand

For as long as super-heroes have existed, they have inspired hacker projects. For [Everett Bradford], emulating the character Pyro from X-Men has been an on and off project for the last decade. His latest version, Pyro System V4, integrates quite a bit of control electronics to give the rather convincing effect of mind-controlled fire in the palm of his hand. (Video, embedded below.)

The system is a motor-actuated slider strapped to [Everett]’s forearm, which pushes a pivoting end-effector with an integrated butane burner into the palm of his hand. The slider runs on 4 mm linear bearings actuated by a small geared DC motor using cables. The end effector is spring-loaded to push it into the palm and integrates a high voltage ignition arc generator circuit, nozzle, and capacitive activation button.

The butane gas canister and the valve was cannibalized from a small blow torch lighter, and the valve is actuated by another geared DC motor. The valve actuator, slide actuator, and end-effector hinge all integrate position feedback via hall effect sensors and magnets. The sensor in the hinge allows the slide to actively correct for the angle of the user’s wrist, keeping the end effector in the middle of the palm.

The control circuit is split into two parts. One PIC16 microcontroller runs all the motion control and position sensing, while a PIC18 connected to a small touch screen handles user interface, control parameters, and ignition. The touch screen proved especially useful for control parameters during development without needing to connect to a laptop.

Some of [Everett]’s previous version had a much more impressive (and dangerous) flame but was also very bulky. We think this latest version strikes a pretty good balance regarding compactness and achieving convincing illusion.

[Colin Furze] is another name commonly associated with fire-breathing contraptions, but they have a proven history of landing him in hospital.

Continue reading “Fire In The Palm Of Your Hand”