A Guide To Designing A Custom RC Controller

These days, there are tons of RC controllers out there of all shapes and sizes. However, if you want to build something with just the right amount of buttons and sticks for your application, you might want to design something yourself. That’s precisely what [Sebastian] did. 

The project actually began some time ago, with [Sebastian] sharing his process for building a custom ergonomic enclosure through the use of clay and photogrammetry, which we’ve covered before.

Inside that shapely housing, the build relies on a STM32 microcontroller, hooked up to a series of potentiometers, buttons, and a thumbstick (more potentiometers). A NRF24L01 module is used to handle the radio transmission side of things.

Overall, [Sebastian] has produced a great guide to designing a custom RC controller from the ground up, rather than simply instructing one how to replicate his own build. Armed with these skills, any maker should be able to whip up their own entirely bespoke controllers. Video after the break.

Continue reading “A Guide To Designing A Custom RC Controller”

Low-Cost Computer Gesture Control With An I2C Sensor

Controlling your computer with a wave of the hand seems like something from science fiction, and for good reason. From Minority Report to Iron Man, we’ve seen plenty of famous actors controlling their high-tech computer systems by wildly gesticulating in the air. Meanwhile, we’re all stuck using keyboards and mice like a bunch of chumps.

But it doesn’t have to be that way. As [Norbert Zare] demonstrates in his latest project, you can actually achieve some fairly impressive gesture control on your computer using a $10 USD PAJ7620U2 sensor. Well not just the sensor, of course. You need some way to convert the output from the I2C-enabled sensor into something your computer will understand, which is where the microcontroller comes in.

Looking through the provided source code, you can see just how easy it is to talk to the PAJ7620U2. With nothing more exotic than a switch case statement, [Norbert] is able to pick up on the gesture flags coming from the sensor. From there, it’s just a matter of using the Arduino Keyboard library to fire off the appropriate keycodes. If you’re looking to recreate this we’d go with a microcontroller that supports native USB, but technically this could be done on pretty much any Arduino. In fact, in this case he’s actually using the ATtiny85-based Digispark.

This actually isn’t the first time we’ve seen somebody use a similar sensor to pull off low-cost gesture control, but so far, none of these projects have really taken off. It seems like it works well enough in the video after the break, but looks can be deceiving. Have any Hackaday readers actually tried to use one of these modules for their day-to-day futuristic computing?

Continue reading “Low-Cost Computer Gesture Control With An I2C Sensor”

Centaur Costume Features Drinks Cooler And Walking Legs

Let’s say it’s Halloween, and you’re a big fan of centaurs. At the same time, you want to be easily able to store your drinks on ice and always have them to hand. Well, this costume from [David Yakos] might be the one for you.

Construction is simple. Two small bike wheels were fitted to the cooler using bits of a broken chair, and the other end of the cooler is simply fitted around the wearer’s waist with a strap.

The rear centaur legs are carved out of foam board, and attached to the rear wheels with a bolt through the spokes. The top of each leg is attached to a rod, which slides into the frame holding the wheels on. It keeps the top of the legs roughly where they should be but lets them move, allowing the legs to “walk” as the wheels rotate.

It’s not exactly an advanced build, but we simply love the idea of costumes that keep drinks cold all night. Hiding the cooler as a centaur’s body is really just the icing on the cake. Of course, if you’ve got your own costume design for keeping your beverages chilled and frosty, do let us know. Video after the break.

Continue reading “Centaur Costume Features Drinks Cooler And Walking Legs”

Children playing a zombie shooting game on a big screen

Halloween Game Lets You Shoot Zombies With A Laser-Powered Crossbow

Suppose you were looking for all the essential elements to make a great Halloween-themed shooting game. Zombies? Check. Giant “lasers”? Check. Crossbows shooting forks? We’ve got you covered. Check out “Fork The Zombies“, which was set up by [piles.of.spam] to entertain the neighborhood kids this Halloween.

The game is played on a big screen, which shows a horde of angry zombies marching toward the player, who has to shoot as many as possible before they reach the front of the screen. The weapon provided is a crossbow; when the trigger is pulled, a fork is launched and hopefully skewers one of the ghouls. The game was written using an open-source engine called Urho3D, which takes care of all the hard-core 3D and physics work, allowing the user to focus on designing the gameplay and visuals.

A wooden crossbow game controllerTo give the game a bit more of a physical feel, [piles.of.spam] made an actual crossbow for the player to wield. Its handle was cut from a scrap piece of wood, using a band saw for the general shape and a CNC machine for the delicate cut-outs that hold a laser pointer, an ESP32 and a microswitch-based trigger. The laser shines onto the game screen, while the ESP32 sends out a data packet over WiFi when the trigger is pulled.

The location of the shot is tracked using a clever trick: a webcam is pointed at the screen, with a red color filter in front. This way, it only sees the red laser dot moving across the screen. The resulting image is processed using the Python OpenCV library, which provides functions to convert the relative motion of the pointer on the screen to an absolute position along the playing field.

A webcam on top of a Jetson Nano, with a red color filter in frontThe computing hardware consists of a pair of Jetson Nano boards, which sport quad-core ARM A57 CPUs as well as powerful graphics hardware to generate the game’s visuals. The end result is impressive, especially given the fact that all of this was designed and built in just three weeks. It was apparently a great hit with its intended audience, as visitors queued to try their hand at shooting the hungry zombies.

Laser pointers are an obvious tool for creating shooting games: we’ve seen ones with a single round target, a set of shapes set up around you, and even metal cans that fall over and stand up again. But if you need to protect yourself in case of an actual zombie apocalypse, a slingshot that shoots knives might be more useful.

Continue reading “Halloween Game Lets You Shoot Zombies With A Laser-Powered Crossbow”

Hackaday Podcast 144: Jigs Jigs Jigs, Fabergé Mic, Paranomal Electronics, And A 60-Tube Nixie Clock

Hackaday editors Elliot Williams and Mike Szczys get caught up on the week that was. Two builds are turning some heads this week; one uses 60 Nixie tube bar graphs to make a clock that looks like the sun’s rays, the other is a 4096 RGB LED Cube (that’s 12,288 total diodes for those counting at home) that leverages a ton of engineering to achieve perfection. Speaking of perfection, there’s a high-end microphone built on a budget but you’d never know from the look and the performance — no wonder the world is now sold out of the microphone elements used in the design. After perusing a CNC build, printer filament dryer, and cardboard pulp molds, we wrap the episode talking about electronic miniaturization, radionic analyzers, and Weird Al’s computer.

Take a look at the links below if you want to follow along, and as always, tell us what you think about this episode in the comments!

Direct download (55 MB)

Continue reading “Hackaday Podcast 144: Jigs Jigs Jigs, Fabergé Mic, Paranomal Electronics, And A 60-Tube Nixie Clock”

Automated Air Cannon Shoots Smoke Rings

Air cannons are fun, and became a part of mainstream culture with the popular Airzooka toy. Of course, cocking and firing the Airzooka gets tiring after a while, and they’re kind of a little small. This build from [1alembic] delivers on both those counts. 

Cool, huh?

The result is a bigger air cannon that repeatedly fires all by itself. The cannon itself is built out of a trash can with the bottom cut out. It’s then fitted with a diaphragm made out of a heavy-duty trash bag covered in duct tape for added strength. Latex hose is then installed inside the trash can, attached to the diaphragm. Thus, the diaphragm can be pulled back, and when released, it’s pulled forward, creating a rush of air through the trash can which generates a vortex ring just like the smaller Airzooka.

The automation of the cannon is beautifully simple. A string is attached to the back of the diaphragm, and wrapped around a rod so it can be wound up. This allows a wiper motor to turn the rod via a set of gears, pulling the diaphragm back.

However, the drive gear on the wiper motor has half its teeth missing. The system is then set up so that once the diaphragm is pulled right back, the drive gear gets to the missing teeth, allowing the winder rod to spin back freely as the diaphragm shoots forward, firing the air cannon. The cycle then repeats as the drive gear re-engages the winding mechanism.

Paired with a smoke machine, the air cannon will whirr away, firing beautiful smoke rings at regular intervals until it’s switched off. It’s an elegant thing that we’d love to leave set up at a party to add some atmosphere. We’ve seen other air cannons built with some real fire-power, too. Video after the break.

Continue reading “Automated Air Cannon Shoots Smoke Rings”

This Week In Security: Unicode Strikes, NPM Again, And First Steps To PS5 Crack

Maybe we really were better off with ASCII. Back in my day, we had space for 256 characters, didn’t even use 128 of them, and we took what we got. Unicode opened up computers to the languages of the world, but also opened an invisible backdoor. This is a similar technique to last week’s Trojan Source story. While Trojan Source used right-to-left encoding to manipulate benign-looking code, this hack from Certitude uses Unicode characters that appear to be whitespace, but are recognized as valid variable names.

const { timeout,ㅤ} = req.query;
Is actually:
const { timeout,\u3164} = req.query;

The extra comma might give you a clue that something is up, but unless you’re very familiar with a language, you might dismiss it as a syntax quirk and move on. Using the same trick again allows the hidden malicious code to be included on a list of commands to run, making a hard-to-spot backdoor.

The second trick is to use “confusable” characters like ǃ, U+01C3. It looks like a normal exclamation mark, so you wouldn’t bat an eye at if(environmentǃ=ENV_PROD){, but in this case, environmentǃ is a new variable. Anything in this development-only block of code is actually always enabled — imagine the chaos that could cause.

Neither of these are ground-breaking vulnerabilities, but they are definitely techniques to be wary of. The authors suggest that a project could mitigate these Unicode techniques by simply restricting their source code to containing only ASCII characters. It’s not a good solution, but it’s a solution. Continue reading “This Week In Security: Unicode Strikes, NPM Again, And First Steps To PS5 Crack”