A Mouse Becomes A Camera

If your pointing device is a mouse, turn it over. The chances are you’ll see a red LED light if you’re not seriously old-school and your mouse has a ball, this light serves as the illumination for a very simple camera sensor. The mouse electronics do their thing by looking for movement in the resulting image, but it should be possible to pull out the data and repurpose the sensor as a digital camera. [Doctor Volt] has a new video showing just that with the innards of a Logitech peripheral.

The mouse contains a microcontroller and the camera part, which fortunately has an SPI interface. The correct register to query the sensor information was deduced, and as if my magic, an image appeared. An M12 lens provided focus with a handy 3D printed mount, and the board went back into the mouse case as a housing. The pictures have something of the Game Boy camera about them, being low-res and monochrome, but it’s still a neat hack.

If you’d like to give it a go you can find the code in a GitHub repository. You might find it worth finding a gaming mouse though, for the much higher resolution sensor.

Continue reading “A Mouse Becomes A Camera”

Roll-On Deodorant Controller Heats Up Racing Game

What do you get when you combine roll-on deodorant containers and a soccer ball with an optical mouse and an obscure 90s Japanese video game about racing armadillos? Well, you get a pretty darn cool controller with which to play said game, we must admit.

We hardly knew they were still making roll-on deodorant, and [Tom Tilley] is out here with three empties with which to hack. And hack he does — after thoroughly washing and drying the containers three, he sawed off the ball-holding bit just below the business part and fit each into the roll-on’s lid. Then [Tom] constructed a semi-elaborate cardboard-and-hot-glue thing to hold them in an equilateral triangle formation. Out of nowhere, he casually drops a fourth modified roll-on ball over an optical mouse, thereby extending the power of lasers to the nifty frosted orb.

Finally, [Tom] placed the pièce de résistance — the soccer ball — on top of everything. The mouse picks up the movement through the middle roll-on, and the original three are there for stability and roll-ability purposes. At last, Armadillo Racing can be played in DIY style. Don’t get it? Don’t sweat it — just check out the brief build video after the break.

Continue reading “Roll-On Deodorant Controller Heats Up Racing Game”

A huge cardboard computer with an equally huge mouse

Massive Mouse Game Mimics Classic Software Crashes

Computer mice come in all kinds of shapes and sizes, but are typically designed to fit in the palm of your hand. While some users with large hands may find standard mice uncomfortably small, we don’t think anyone will ever make that complaint about the humongous peripheral [Felix Fisgus] made for a game called Office Job at the ENIAROF art festival in Marseille. With a length of about two meters we suspect it might be the largest functional computer mouse in existence.

An optical mouse sensor mounted on a cardboard frameInside the massive mouse is a wooden pallet with four caster wheels that enable smooth movement in all directions. This motion is detected by an ordinary optical mouse sensor: perhaps surprisingly, these can be used at this enormous scale simply by placing a different lens in front.

As for the mouse button, [Felix] and his colleagues found of that the bottom of an empty five-liter can has a nice “pop” to it and installed one in the front section of the device, hooked up to an ESP32 board that communicates with a computer through Bluetooth.

The mouse connects to an equally huge desktop computer, powered by a Raspberry Pi, on which users play a game that involves clicking on error messages from a wide variety of old and new operating systems. Moving the mouse and pressing its button to hit those dialog boxes is a two-person job, and turns the annoyance of software errors into a competitive game.

Optical mouse sensors are versatile devices: apart from their obvious purpose they can also serve as motion sensors for autonomous vehicles, or even as low-resolution cameras.

Continue reading “Massive Mouse Game Mimics Classic Software Crashes”

Soap Mouse Is A Slippery Interface For Mid-Air Input

We all have those gnarly hacks that we still think about years after we first saw them. For serial tipster [Inne], one of those is [Patrick Baudisch]’s soap mouse, which is a DIY device for mousing in mid-air that uses components from off the shelf and around the house.

How does it work? The guts are encased in plastic shaped like a flattened pill, which slips into a fuzzy sock. By squeezing it a bit, the plastic pill rotates, spinning the outward-facing sensor round and round. Although we briefly reported on the soap mouse way back in 2006, we think it deserves to be in the spotlight today, especially since there’s a complete PDF guide to building one that’s optimized for gaming. If you want a regular pointing device instead, the conversion is described within.

[Patrick] uses a CompUSA (RIP) mouse in the guide, but any sufficiently slim and also short mouse should work as long as it has a decently long focal range, which is necessary for the sensor to see the hull. Plenty of travel mice out there should fit the bill.

The hull itself is made from two small (empty) bottles of hand sanitizer, chosen for their size, shape, and clarity of plastic. The outermost housing is a baby sock with a snap sewn on. [Patrick] says moving the sock against the plastic is difficult, and has tried various methods for lubrication, such as a bit of mineral oil inside some plastic bags.

Be sure to check out the video after the break, which does a great job of explaining everything from the various types of interaction to construction in 5½ minutes.

Since 2006, [Patrick] has held workshops where people have built their own soap mice. Have you built one? Let us know in the comments. And don’t forget about the Digi-Key-sponsored Odd Inputs and Peculiar Peripherals contest, which runs through July 4th. Declare your independence from regular keyboards and mice and win big!

Continue reading “Soap Mouse Is A Slippery Interface For Mid-Air Input”

Build Your Own Mouse For High Performance

For the dedicated gamer or hardcore computer user, there’s plenty of options for high-end input peripherals. We’ve seen plenty of makers build their own bespoke keyboards, too. Less commonly seen are custom mice, but [gipetto TranquilTempest] has crafted just such a device to suit their tastes.

The mouse is based on the PMW3360 sensor, prized for its 250 inch per second speed and 50g acceleration capability. Buttons are read by an ATMEGA32U4 which handles hardware debouncing for improved control. Anyone that’s accidentally double-clicked all their villagers in AOE II can appreciate this feature. There’s also specialised code to read the wheel encoder from [Ben Buxton] which helps avoids backscrolling.

The PCB was ordered from JLCPCB using their assembly service, which comes in handy for makers who want to build advanced designs without messing around with reflow. It’s designed to fit inside Microsoft mouse shells popular in years past – like the Wheel Mouse Optical and the Intellimouse 1.3.

Building your own mouse from the ground up is a great way to get yourself an input device that perfectly serves your needs. We’ve seen others work in the field, with custom trackballs and breakout boards for sensors. If you’ve got your own cutting edge build, be sure to let us know!

Roll Your Own Trackball Mouse

What do you do when you’re into trackball mice, but nothing out there is affordable or meets all your murine needs? You build one, of course. And if you’re like [Dangerously Explosive], who has a bunch of old optical mice squeaking around the shop, you can mix and match them to build the perfect one.

The mouse, which looks frozen mid-transformation into a rodential assassin, is a customized work of utilitarian art. Despite the excellent results, this project was not without its traps. [Dangerously] got really far into the build before discovering the USB interface chip was dead. Then he tried to sculpt a base out of Plasticine and discovered he’d bought the one kind of clay that can’t be baked. After trying his hand at making homemade salt dough, he painstakingly whittled a base from scrap pine using a drill and a hacksaw.

Every bit of this mouse is made from recycled bits, which, if you pair that with the paint job and the chosen shade of blinkenlights, makes this a green mouse on three levels. One of the two parts of this mouse that isn’t literally green, the cord, is still ecologically sound. [Dangerously] wanted a really long tail, so he scavenged a charger cable built for fruity hardware and threaded it through a hollowed-out piece of purple paracord.

We love the thumb-adjacent scroll wheel and the trackball itself, which is a ping pong ball painted black. The cool part is the guide it rolls around in. [Dangerously] spent a long time hand-whittling the perfect size hole in a particularly wide mouse palm rest. All that plastic shaving paid off, because the action is smooth as Velveeta.

[Dangerously] certainly designed this mouse to fit his preferences, and ergonomics seem a bit secondary. For a truly custom fit, try using whatever passes for Floam these days.

Semi-automatic Mouse Requires No Permit

When [Kerry]’s son asked him if there was a way to make a mouse click rapidly, he knew he could take the easy way and just do it in software. But what’s the fun in that? In a sense, it’s just as easy to do it with hardware—all you have to do is find a way to change the voltage in order to simulate mouse clicks.

[Kerry] decided to use the venerable 555 timer as an astable oscillator. He wired a momentary button in parallel with the left mouse button. A 50k mini pot used as the discharge resistor allows him to dial in the sensitivity. [Kerry] found that he maxed out around 5 clicks per second when clicking the regular button, and ~20 clicks per second with the momentary button as measured here. The mouse still works normally, and now [Kerry]’s son can totally pwn n00bs without getting a repetitive stress injury. M1 your way past the break to check out [Kerry]’s build video.

There are lots of other cool things you can do with an optical mouse, like visual odometry for cars and robots.

Continue reading “Semi-automatic Mouse Requires No Permit”