Keeping track of your 3D-printer filament use can be both eye-opening and depressing. Knowing exactly how much material goes into a project can help you make build-versus-buy decisions, but it can also prove gut-wrenching when you see how much you just spent on that failed print. Stock filament counters aren’t always very accurate, but you can roll your own filament counter from an old mouse.
[Bin Sun]’s build is based around an old ball-type PS/2 mouse, the kind with the nice optical encoders. Mice of this vintage are getting harder to come by these days, but chances are you’ve got one lying around in a junk bin or can scrounge one up from a thrift store. Stripped down to its guts and held in place by a 3D-printed bracket, the roller that used to sense ball rotation bears on the filament on its way to the extruder. An Arduino keeps track of the pulses and totalizes the amount of filament used; the counter handily subtracts from the totals when the filament is retracted.
Simple, useful, and cheap — the very definition of a hack. And even if you don’t have a 3D-printer to keep track of, harvesting encoders from old mice is a nice trick to file away for a rainy day. Or you might prefer to just build your own encoders for your next project.
Continue reading “This Old Mouse Keeps Track of Filament Usage”
If Babbage had started the computer revolution early, we might have seen a mouse like the one [Peter Balch] created. He started with the guts from a USB wheeled mouse and some gears from an old clock movement. In addition to the big wheels to capture X and Y movement, the mouse buttons look like the keys from an old typewriter.
We were afraid the project would require advanced wood or metal working capability, but the bottom of the mouse is made from paper mache. The top and sides are cut from tinplate. Of course, the paint job is everything.
The electronics part is pretty simple, just hacking a normal mouse (although it is getting harder to find USB mice with mechanical encoders). However, we wondered if it would have been as simple to use an optical wireless mouse. That would leave the wheels just for show, but honestly, most people aren’t going to know if the wheels are useful or just ornamental, anyway.
If you don’t feel like gutting a mouse, but you still want USB, you could use an Arduino or similar board that can simulate a mouse. We’ve seen quite a few of those in the past. Now all you need is a matching keyboard.
Here’s a quick DIY hack if you happen to have multiple computers at home or at the office and are tired of juggling mice and keyboards. [Kedar Nimbalkar] — striving for a solution — put together a keyboard, video and mouse switcher that allows one set to control two computers.
A DPDT switch is connected to a female USB port, and two male USB cables — with the ground and 5V wires twisted together and connected to the switch — each running to a PC. [Nimbalkar] suggests ensuring that the data lines are correctly wired, and testing that the 5V and ground are connected properly. He then covered the connections with some hot glue to make it a little more robust since it’s about to see a lot of use.
Now all that’s needed is a quick press of the button to change which PC you are working on, streamlining what can be a tedious changeover — especially useful if you have a custom keyboard you want to use all the time.
Continue reading “DIY KVM Switch Lets You Use One Keyboard and Mouse With Multiple Computers”
Acorn was one of the great IT giants that rose high and then fell to obscurity during the rise of personal computing. However, for many hobbyists these computers are as important and as loved as the Commodore 64. [Simon Inns] has made a great adapter to interface modern USB mice to these old boxes.
After thirty years of interaction with people, one might be hard pressed to find a working mouse for an older computer. On top of that, even if you did, these mice are likely a lackluster experience to begin with. They were made long before industrial designers were invited to play with computers and are often frustrating and weird. Cotton swabs and alcohol are involved, to say the least.
[Simon]’s box converts a regular USB HID compliant mouse to a quadrature signal that these 8-bit computers like. The computer then counts the fake pulses and happily moves the cursor around. No stranger to useful conversion boxes, he used an Atmel micro (AT90USB1287) with a good set of USB peripherals. It’s all nicely packed into a project box. There’s a switch on the front to select between emulation modes.
If you’d like one for yourself the code and schematics are available on his site. As you can see in the video below, the device works well!
Continue reading “Hook Any Mouse to an Acorn”
ALS robbed one of [C. Niggel]’s relative’s of the use of their upper body. This effectively imprisoned them in their house; ALS is bad stuff. Unfortunately too, the loss of upper body mobility meant that they couldn’t even use the computer to interact with people and the outside world. However, one day [C. Niggel] noted that the relative’s new electric wheelchair was foot controlled. Could this be adapted to a computer mouse?
He looked up commercial solutions and found them not only prohibitively expensive, but also fraught with proprietary drivers and all sorts of bad design nonsense. With all of the tools out there today there was no reason this couldn’t be quickly prototyped and sent to the relative in need.
He used a combination of conductive thread, neoprene, and velostat to build the pads themselves. The pads were balanced with some adjusting resistors in series. The signals are sent to an Adafruit Feather board which interprets them and converts it to a PS/2 standard.
The first version of the mouse used separate pads glued to a MDF board with contact cement. However this, along with some other initial design flaws, resulted in premature failure of the mouse. [C. Niggel] quickly returned to the lab and produced a new version with more robust construction and mailed it off. So far so good!
You might imagine that all one should need to operate a microscope would be a good set of eyes. Unfortunately if you are an amputee that may not be the case. Veterinary lab work for example requires control of focus, as well as the ability to move the sample in both X and Y directions, and these are not tasks that can easily be performed simultaneously with only a single hand.
[ksk]’s solution to this problem is to use geared stepper motors and an Arduino Mega to allow the manual functions of the microscope to be controlled from a computer mouse or trackball. The motors are mounted on the microscope controls with a custom 3D-printed housing. A rotary selector on the control box containing the Arduino allows the user to select a slow or fast mode for fine or coarse adjustment.
It’s fair to say that this project is still a work in progress, we’re featuring it in our series of posts looking at Hackaday Prize entries. However judging by the progress reported so far it’s clear that this is a project with significant potential, and we can see the finished product could be of use to anyone operating the microscope.
We’ve featured one or two mouse controlled projects over the years, though not controlling microscopes. Here’s one mouse controlled robot arm, and we’ve covered another arm with a 3D mouse.
The Zapper gun from the original Nintendo was ahead of its time. That time, though, was around 30 years ago and the iconic controller won’t even work with most modern televisions. With a little tinkering they can be made to work, but if you want to go in a different direction they can be made to do all kinds of other things, too. For example, this one can shoot green lasers and be used as a mouse.
The laser pointer was installed in the gun using a set of 3D printed rings to make sure the alignment was correct. It’s powered with a Sparkfun battery pack and control board which all fit into the gun’s case. The laser isn’t where the gun really shines, though. There’s a Wiimote shoved in there too that allows the gun to be used as a mouse pointer when using it with a projector. Be sure to check out the video below to see it in action. Nothing like mixing a little bit of modern Nintendo with a classic!
The Wiimote is a great platform for interacting with a computer. Since the Wii was released it’s been relatively easy to interface with them via Bluetooth. One of the classic Wiimote hacks is using an IR pen and projector to create a Smart Board of sorts for a fraction of the price. They’ve also been used with some pretty interesting VR displays.
Continue reading “NES Zapper: Improved with Lasers”