Better Simulators With Homemade Potentiometers

Perhaps you’ve played a flight simulator before, using something like a mouse and keyboard. That’s a fine experience, but like any other activity you can get a lot more out of it if you put a little more effort into the experience. Some will upgrade to a joystick for a modest improvement, and others will build incredible accurate cockpit replicas down to the smallest detail. The builders of these “pits” are always looking for ways of improving their setups, and it’s from this world that we find a method of building specialized, inexpensive hall-effect sensors.

A hall-effect sensor is a circuit that outputs a voltage based on the presence of an external magnetic field. These can be used to make compasses, but with a permanent magnet in close proximity can also be used to create a potentiometer-like device at lower cost and with higher precision than a similarly-priced pot. There was a method of building these in the simulator world using the housing of a Bic pen and some strong glue, but [LocNar] has improved on this method as well. He repurposed some bearings and some stock metal tubing in order to fabricate a professional-level sensor at a fraction of the cost.

This build is essentially a solution for anyone needing a potentiometer that’s easier to build, less expensive, has higher precision, and interacts with a digital input in a much more predictable (and programmable) way. Certainly this has applications in the simulator world, but will work for many other applications. If you’ve never thought about the intricacies (and shortcomings) of potentiometers, some other folks have taken a deep dive into that as well.

Thanks to [Keith O] for the tip!

Characterising A Potentiometer With A Stepper Motor

Potentiometers, or variable resistors, are a standard component that we take for granted. If it says “10k log” on a volume pot, than we fit and forget. But if like [Ben Holmes] you are modelling electronic music circuitry, some greater knowledge is required. To that end he’s created a rig for characterising a potentiometer to produce a look-up table of its values.

It’s a simple enough set-up in which a voltage controlled current source feeds the pot while an Arduino with a motor controller turns it through a stepper motor, and takes a voltage reading from its wiper via an analogue pin. Probably most readers could assemble it in a fairly short time. Where it becomes interesting though is in what it reveals about potentiometer construction.

Audio potentiometers are usually logarithmic. Which is to say that the rate of change of resistance is logarithmic over the length of the track, in an effort to mimic the logarithmic volume response of the human ear in for example a volume control. If you are taught about logarithmic pots the chances are you’re shown a nice smooth logarithmic curve, but as he finds out in the video below that isn’t the case. Instead they appear as a set of linear sections that approximate to a logarithmic curve, something that is probably easier to manufacture. It’s certainly useful to know that for [Ben]’s simulation work, but for the rest of us it’s a fascinating insight into potentiometer manufacture, and shows that we should never quite take everything for granted.

Continue reading “Characterising A Potentiometer With A Stepper Motor”

A HID For Robots

Whether with projects featured here or out in the real world, we have a tendency to focus most upon the end product. The car, solar panel, or even robot. But there’s a lot more going on behind the scenes that needs to be taken care of as well, whether it’s fuel infrastructure to keep the car running, a semiconductor manufacturer to create silicon wafers, or a control system for the robot. This project is one of the latter: a human interface device for a robot arm that is completely DIY.

While robots are often automated, some still need human input. The human input can be required all the time, or can be used to teach the robot initially how to perform a task which will then be automated. This “keyboard” of sorts built by [Ahmed] comes with a joystick, potentiometer, and four switch inputs that are all fully programmable via an Arduino Due. With that, you can perform virtually any action with whatever type of robot you need, and since it’s based on an Arduino it would also be easy to expand.

The video below and project page have all the instructions and bill of materials if you want to roll out your own. It’s a pretty straightforward project but one that might be worth checking out since we don’t often feature controllers for other things, although we do see them sometimes for controlling telescopes rather than robots.

Continue reading “A HID For Robots”

Push Button, Receive Beverage!

Here’s a rec-room ready hack: an automatic drink dispenser.

[truebassB]’s dispenser operates around a 555 timer, adjusted by a potentiometer. Push a button and a cup pours in a few seconds, or hold the other button to dispense as much as you want.

The dispenser is made from MDF and particle board glued together, with some LEDs and paper prints to spruce it up. Just don’t forget a small spill sink for any miscalculated pours. You needn’t fret over the internals either, as the parts are easily acquired: a pair of momentary switches, a 12V micro air pump, a brass nozzle, food-safe pvc tube,  a custom 555 timing circuit — otherwise readily available online — a toggle switch, a power supply plug plus adapter and a 12V battery.

Continue reading “Push Button, Receive Beverage!”

Wherein The Mechanical Keyboard Community Discovers Motorized Linear Potentiometers

Deep in the bowels of the Digikey and Mouser databases, you’ll find the coolest component ever. Motorized linear potentiometers are a rare, exotic, and just plain neat input device most commonly found on gigantic audio mixing boards and other equipment that costs as much as a car. They’re slider potentiometers with a trick up their sleeve: there’s a motor inside that can set the slider to any position.

The mechanical keyboard community has been pushing the boundaries of input devices for the last few years, and it looks like they just discovered motorized linear pots. [Jack] created a motorized sliding keycap for his keyboard. It’s like a scroll wheel, but for a keyboard. It’s beautiful, functional, and awesome.

The hardware for this build is just about what you would expect. A 60 mm motorized linear pot for the side-mount, or 100 mm mounted to the top of the keyboard, is controlled by an Arduino clone and a small motor driver. That’s just the hardware; the real trick here is the software. So far, [Jack] has implemented a plugin system, configuration software, and force feedback. Now, messing with the timeline in any Adobe product is easy and intuitive. This device also has a ‘not quite vibration’ mode for whenever [Jack] gets a notification on his desktop.

Right now, [Jack] is running a group buy for this in a reddit thread, with the cost somewhere between $55 and $75, depending on how many people want one. This is a really awesome product, and we can’t wait for Corsair to come out with a version sporting innumerable RGB LEDs. Until then, we’ll just have to drool over the video [Jack] posted below.

Continue reading “Wherein The Mechanical Keyboard Community Discovers Motorized Linear Potentiometers”

Hackaday Prize Entry: [Nardax] Shoots Fireballs

If you’re looking for a high entertainment value per byte of code, [Nardax] has you covered with his wearable spellcasting controller. With not much effort, he has built a very fun looking device, proving what we’ve always known: a little interaction can go a long way.

[Nardax] originally intended his glorified elbow-mount potentiometer to be a fireworks controller. Ironically, he’s now using it to throw virtual fireballs instead. Depending on the angle at which he holds his elbow before releasing it, he can cast different spells in the game World of Warcraft. We’re not at all sure that it helps his gameplay, but we’re absolutely sure that it’s more fun that simply mashing different keys.

There’s a lot of room for expansion here, but the question is how far you push it. Sometimes the simplest ideas are the best. It looks like [Nardax] is enjoying his product-testing research, though, so we’ll keep our eyes out for the next iterations of this project.

We’ve seen a number of high-tech competitors to the good old power glove, and although some are a lot more sophisticated than a potentiometer strapped to the elbow, this project made us smile. Sometimes, it’s not just how much tech you’ve got, but how you use it. After all, a DDS pad is just a collection of switches under a rug.

Old Motor Donates Rotor for Coaxial Wind Vane and Anemometer

Problem: build a combined anemometer and wind vane where the pivots for both sensors are coaxial. Solution: turn an old universal motor into a step-wise potentiometer for the wind vane, and then pull a few tricks to get the whole thing assembled.

commutatior-with-series-resistorsWe have to admit that when we first saw [Ajoy Raman]’s Instructables post, we figured that he used a universal motor to generate a voltage from the anemometer. But [Ajoy]’s solution to the coaxial shafts problem is far more interesting than that. A discarded universal motor donated its rotor and bearings. The windings were stripped off the assembly leaving nothing but the commutator. 1kΩ SMD resistors were soldered across adjacent commutator sections to form a series resistance of 22kΩ with taps every 1k, allowing 0 to 2.2V to be read to the ADC of a microcontroller depending on the angle of the vane.

As clever as that is, [Ajoy] still had to pull off the coaxial part, which he did by drilling out the old motor shaft from one end to the other using just a drill press. The anemometer shaft passes through the hole in the shaft and turns a small DC motor to sense wind speed.

There might have been other ways to accomplish this, but given the constraints and the low cost of this solution, our hats are off to [Ajoy]. We’re a little concerned with that motor used for the anemometer, though. It could result in drag when used as a generator. Maybe a better solution would be a Hall-effect sensor to count rotations of a hard drive rotor.

Continue reading “Old Motor Donates Rotor for Coaxial Wind Vane and Anemometer”