Posts with «reuse» label

Control a Motor With a Touchpad

There are a surprising wealth of parts inside of old laptops that can be easily scavenged, but often these proprietary tidbits of electronics will need a substantial amount of work to make them useful again. Obviously things such as hard drives and memory can easily be used again, but it’s also possible to get things like screens or batteries to work with other devices with some effort. Now, there’s also a way to reuse the trackpad as well.

This build uses a PS/2 touchpad with a Synaptics chip in it, which integrates pretty smoothly with an Arduino after a few pins on the touchpad are soldered to. Most of the work is done on the touchpad’s built in chip, so once the Arduino receives the input from the touchpad it’s free to do virtually anything with it. In this case, [Kushagra] used it to operate a stepper motor in a few different implementations.

If you have this type of touchpad lying around, all of the code and schematics to make it useful again are available on the project page. An old laptop in the parts bin is sure to have a lot of uses even after you take the screen off, but don’t forget that your old beige PS/2 mouse from 1995 is sure to have some uses like this as well.

Hack a Day 11 Jun 06:00

Espresso Machine Now Powers Plants

This thing has what plants crave! No, not electrolytes exactly — just water, light, and moisture polling every 30 minutes. We think it’s fitting to take something that once manufactured liquid liveliness for humans and turn it into a smart garden that does the same thing for plants.

So let’s just get this out of the way: the espresso machine was abandoned because it was leaking water from a gasket. [The Plant Bot] cleaned it up, replaced the gasket, and got it brewing, and then it started leaking hot water again from the same gasket. We might have gone Office Space on this beautiful machine at that point, but not [The Plant Bot].

Down in the dirt, there’s a soil moisture sensor that’s polling every 30 minutes. If the moisture level falls below the threshold set appropriately at a life-sustaining 42%, the Arduino is triggered to water the plant through a relay board using the espresso machine’s original pump. If the plant is dry, the machine will pump water for two seconds every minute until the threshold is met. [The Plant Bot] tied it all together with a nice web interface that shows plant data and allows for changes over Bluetooth.

[The Plant Bot] started by disconnecting the heating element, because plants don’t tend to like hot steam. But if the cup warming tray along the top has a separate heating element, it might be neat to reuse it for something like growing mushrooms, or maintaining a sourdough starter if the temperature is right.

Via r/duino

Sorter Uses Cardboard to Organize Card Hoard

If you collect trading cards of any kind, you know that storage quickly becomes an issue. Just ask [theguymasamato]. He used to be really into trading cards, and got back into it when his kids caught the bug. Now he’s sitting on 10,000+ cards that are largely unorganized except for a few that made it into sleeve pages.  They tried to go through them by hand, but only ended up frustrated and overwhelmed. Then he found out about [Michael Portera]’s Pi-powered LEGO card sorter and got all fired up to build a three-part system that feeds cards in one by one, scans them, and sorts them into one of 22 meticulously-constructed cardboard boxes.

[theguymasamato]’s card sorter is the last stop for a card after the feeder has fed it in from the pile and the scanner has scanned it. The sorter lazy Susans around on a thrust bearing, which is driven by a 3D printed drive wheel attached to a stepper. The stepper is controlled with an Arduino.

Here’s where it gets crazy: the drive wheel and timing belt are made from the flutes of corrugated cardboard. As in, he used that wavy bit in the middle as gear teeth. Every one of those cardboard teeth is fortified with wood glue, a time-consuming process he vows to never repeat. Instead, [theguymasamato] recommends using shims to shore them up as he did in the card feeder. The whole thing was originally going to be made from cardboard. It proved to be too mushy to support the thrust bearing, so [theguymasamato] switched to MDF.

Right now, the sorter is homed via button press, but future plans for the device include an IR break beam switch. We’re excited for the scanner and can’t wait to see the whole system put together. While [theguymasamato] works on that, position yourself past the break to watch the build video.

Turning Broken Toy Into Laser Target Practice

[Mathieu] wrote in with his laser target practice game. It’s not the most amazing hack in the history of hackery, but it’s an excellent example of the type of simple and fun things you can do with just a little bit of microcontrollering.

First off, the gun is a broken toy gun that used to shoot something other than red collimated light beams. The Arduino knockoff inside reacts to a trigger pull and fires the laser for around 200 milliseconds. The gun also has a “gas gauge” that fills up with repeated shots and cools down over time. And therein lies the game — a simple race to ten, where each player only has a fixed number of shots over time.

The targets are simply a light sensor, scorekeeping LED display, and a buzzer that builds tension by beeping at you as the countdown timer ticks down. The bodies are made out of 3D-printed corners that connect some of [Mathieu]’s excess wooden goat-cheese lids.

All the code is up on GitHub so you can make your own with stuff that you’ve got lying around the house. The “gun” can be anything that you can embed a laser in that makes it aimable. Good clean fun!


Filed under: toy hacks
Hack a Day 19 Oct 00:00