Mercury Thrusters: A Worldwide Disaster Averted Just In Time

The field of space vehicle design is obsessed with efficiency by necessity. The cost to do anything in space is astronomical, and also heavily tied to launch weight. Thus, any technology or technique that can bring those figures down is prime for exploitation.

In recent years, mercury thrusters promised to be one such technology. The only catch was the potentially-ruinous environmental cost. Today, we’ll look at the benefits of mercury thrusters, and how they came to be outlawed in short order.

Continue reading “Mercury Thrusters: A Worldwide Disaster Averted Just In Time”

Hall Effect Module Knows Where Your Motor Is

If you have a motor and you’d like to know where the shaft position is, you are likely to turn to an optical encoder scheme. However, as [lingib] points out, you can also use a magnet and a magnetometer. You can see how it works in the video below.

The MLX90393 is a 3-axis hall effect device and, with a magnet on the shaft, the X and Y outputs of the spinning magnet will form a quadrature output that you can easily read.

Continue reading “Hall Effect Module Knows Where Your Motor Is”

One Stepper Plus A Whole Bunch Of Magnets Equals A Unique Seven-Segment Display

Sometimes the cost of simplicity is extra complexity. It seems counterintuitive, but it seems to be true. And this single-motor mechanical seven-segment display seems to be a perfect example of this paradox.

On second thought, [aeropic]’s mechanism isn’t really all that mechanically complicated, but there sure was a lot of planning and ingenuity that went into it. The front has a 3D-printed bezel with the familiar segment cutouts, each of which is fitted with a pivoting segment, black on one side and white on the other.

Behind the bezel is a vertical shaft with three wheels, one behind each horizontal segment, and a pair of horizontal shafts, each with two wheels behind each vertical segment. The three shafts are geared to turn together by a single stepper in the base. Each wheel has ten magnets embedded in the outer circumference, with the polarity oriented to flip the segment in front of it to the right orientation for the current digit. It’s probably something that’s most easily understood by watching the video below.

We’ve seen quite a few of these mechanical seven-segment displays lately — this cam-and-servo mechanism comes to mind. We love them all, of course, but the great thing about [aeropic]’s display is how quiet it is — the stepper is mostly silent, and the segments make only a gentle clunk when they flip. It’s very satisfying.

Continue reading “One Stepper Plus A Whole Bunch Of Magnets Equals A Unique Seven-Segment Display”

IoT toilet paper sheet counter

Keep Track Of Toilet Paper Usage With This IoT Roll Holder

Remember the Great Toilet Paper Crisis of 2020? We sure do, and it looks like our old friend [Vije Miller] does as well, while seemingly harboring a somewhat morbid fascination about how much paper every bathroom visitor is consuming. And to that end, we present his IoT toilet sheet tracker.

His 3D printed roll holder has a Hall effect sensor that counts revolutions of the roll and sends it to a NodeMCU. The number of sheets per roll is entered when the roll is changed, so some simple math yields the number of sheets each yank consumes. Or at least a decent estimate — [Vije] admits that there’s some rounding necessary. The best part of the build is the connection to Thingspeak, where sheet usage is plotted and displayed. Go ahead and check it out if you dare; at the time of writing, there was an alarming spike in sheet usage — a sudden need for 68 sheets where the baseline usage is in single digits. We shudder to think what might have precipitated that. The video below is — well, let’s just say there’s a video.

This isn’t the first time we’ve seen bathroom-based projects from [Vije Miller]. A few years back there was an attempt to freshen the air with plasma, and his IoT shower valve controller probably never scalded anyone accidentally.

Continue reading “Keep Track Of Toilet Paper Usage With This IoT Roll Holder”

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”

Hamster Goes On Virtual Journey

Hamsters are great pets, especially for those with limited space or other resources. They are fun playful animals that are fairly easy to keep, and are entertaining to boot. [Kim]’s hamster, [Mr. Fluffbutt], certainly fits this mold as well but [Kim] wanted something a little beyond the confines of the habitat and exercise wheel and decided to send him on a virtual journey every time he goes for a run.

The virtual hamster journey is built on an ESP32 microcontroller which monitors the revolutions of the hamster wheel via a hall effect sensor and magnet. It then extrapolates the distance the hamster has run and sends the data to a Raspberry Pi which hosts a MQTT and Node.js server. From there, it maps out an equivalent route according to a predefined GPX route and updates that information live. The hamster follows the route, in effect, every time it runs on the wheel. [Mr Fluffbutt] has made it from the Netherlands to southeastern Germany so far, well on his way to his ancestral home of Syria.

This project is a great way to add a sort of augmented reality to a pet hamster, in a similar way that we’ve seen self-driving fish tanks. Adding a Google Streetview monitor to the hamster habitat would be an interesting addition as well, but for now we’re satisfied seeing the incredible journey that [Mr Fluffbutt] has been on so far.

Street-Legalize Your Ebike With A Magnet

Getting into e-biking is a great hobby. It can get people on bikes who might otherwise not be physically able to ride, it can speed up commute times, and it can even make hauling lots of stuff possible and easy, not to mention it’s also fun and rewarding. That being said, there are a wide array of conflicting laws around what your e-bike can and can’t do on the road and if you don’t want to run afoul of the rules you may need a programmable device that ensures your e-bike is restricted in the appropriate way.

This build is specifically for Bafang mid drives, which can be up to 1000 W and easily power a bike beyond the speed limit where [Tomblarom] lives. A small microcontroller is housed in a waterproof box on the bike and wired between the motor’s display and controller. A small hall effect sensor and magnet sit by this microcontroller, and if the magnet is removed then the microcontroller reprograms the bike’s controller to limit the speed and also to disable the throttle, another feature that is illegal in some jurisdictions but not others. As an added bonus, the microcontroller also handles brake lights, turn signals, and automatic headlights for the bike as well.

While the project page mentions removing the magnet while getting pulled over to avoid fines and other punishments, that’s on you. We imagine this could still be useful for someone who wants to comply with local laws when riding on the road, but still wants to remove the restrictions when riding on private property or off-road where the wattage and speed restrictions might not apply.