Raspberry Pi Trackpad From Salvaged Trackpad Plus Arduino

Old laptops are easy to find and many have a trackpad with a PS/2 interface hardwired into the guts of the laptop. [Build It] wanted one of those trackpads for use in the DIY Raspberry Pi laptop he’s working on. But the Raspberry Pi has no PS/2 input, and he read that a PS/2 to USB adapter wouldn’t be reliable enough. His solution? Wire the trackpad to an Arduino and have the Arduino convert the trackpad’s PS/2 to USB.

After removing a few screws, he had the trackpad free of the laptop. Looking up the trackpad’s part number online he found the solder pads for data, clock and five volts. He soldered his own wires to them, as well as to the trackpad’s ground plane, and from there to his Arduino Pro Micro. After installing the Arduino PS/2 mouse and the Mouse and Keyboard libraries he wrote some code (see his Instructables page). The finishing touch was to use generous helpings of hot glue to secure all the wires, as well as the Arduino, to the back to the trackpad. By plugging a USB cable into the Arduino, he now had a trackpad that could plug in anywhere as a USB trackpad. Watch [Build It] put it all together step-by-step in the video below.

Continue reading “Raspberry Pi Trackpad From Salvaged Trackpad Plus Arduino”

Strike a Chord With This Pocket Keyboard

[Brian] managed to resist the draw of the Left Shark costume and went as a cyberpunk for Halloween this year. Among his costume’s props was a small, one-handed chording keyboard that fit easily into one of his pockets. Now he could have just glued a couple of key caps to something small and called it a day. Instead, [Brian] made a fully functional and modular chording keyboard that can communicate over Bluetooth or USB.

What is a chording keyboard, you ask? Instead of entering keystrokes one at a time, a much smaller set of keys are mashed in meaningful combinations called chords. Once you know what you’re doing, it’s much faster than a standard keyboard. If you’ve ever seen a court reporter hammering away on a tiny machine, you have seen a chording keyboard in action. Our own [Elliott Williams] covered the topic in detail over the summer.

[Brian]’s keyboard has seven keys, one for each finger and three for the thumb. Any key found on a standard 104-key can be made by pressing a combination of keys with the fingers in relation to the center, near, or far thumb keys. We’re pretty impressed that he was able to stuff all of that hardware in such a small 3D-printed package. It’s based on an Arduino micro and uses an Adafruit EZ Key for Bluetooth communication with a phone or tablet.

The ultimate plan is to make this into a wrist-mounted chording keyboard that extends or retracts with the flick of your wrist. [Brian] has made some progress on this, having developed and printed the mechanism. But as you can see in the video after the break, adding the keyboard to it is just too much for the hobby servos he chose to move. Still, if he can dial it in this is going to be awesome!

The keyboard also has an ADXL335 accelerometer breakout, which means it can function as a tilt mouse. Neither the Bluetooth nor the tilt mouse functionality are imperative, though—if you want to make your own and leave either of these out, there is no need to alter the code.

Continue reading “Strike a Chord With This Pocket Keyboard”

Automated Bubble Gun Just Because

After a recent trip to Disney Land, [Thomas] came home with an electric bubble gun. [Thomas] is a full-grown man. But since when did that stop us having fun blowing bubbles?? Obviously, a project was to be had using this fun little toy. So he decided to automate it.

So after taking some measurements with his trusty calipers, [Thomas] got on the computer and started designing an enclosure for the bubble gun using SolidWorks. It’s pretty simple. He designed it to hold the bubble gun in place, and allow him to attach a small RC servo motor in order to trigger the switch. Hooking that up to an Arduino Micro and he was now able to trigger it remotely.

Continue reading “Automated Bubble Gun Just Because”

Measure as Little as You Want with openQCM

The clever folks over at [Novaetech SRL] have unveiled openQCM, their open-source quartz crystal microbalance. A QCM measures very minute amounts of mass or mass variation using the piezoelectric properties of quartz crystal. When an object is placed on the surface of this sensor, the changes in the crystal’s resonant frequency can be detected and used to determine its mass in a variety of experimental conditions (air, vacuum, liquid). However, most QCM technology is proprietary and pricey – at least US$3000 for the microbalance itself. Any consumables, such as additional crystals, cost several hundred dollars more.

The openQCM has a sensitivity of 700 picograms. At its core is an Arduino Micro with a custom PCB. The board contains a 10K thermistor for temperature offset readings and the driver for a Pierce oscillator circuit. The quartz crystal frequency is determined by hacking the timer interrupts of the Arduino’s ATmega32u4. An external library called FreqCount uses the clock to count the number of pulses of the TTL signal in a 1 second time frame. This yields quartz crystal frequency resolution of 1Hz. The user interface is built in Java so that data can be read, plotted, and stored on your computer. The entire casing is 3D-printed, and it appears that the sensors are standard oscillator crystals without their cases.

Simplistic design makes assembly and maintenance a breeze. It only weighs 55 grams. Replacing the quartz crystal requires no special tools due to the clip system. The openQCM can be used as a single unit, or in multiples to form a network for all of your precise measurement needs. While they have kits available that will set you back US$500, all of the files and schematics for 3D-printing, assembly, and the PCB are available on the openQCM site for free.

Continue reading “Measure as Little as You Want with openQCM”

Redundant Automated Water Filler For Your Coffee

We’ve always wondered why we have indoor plumbing if it isn’t hooked up to our coffee pots. We probably drink as much coffee as water anyway, so why not just hook up a water line to refill the pot? [Loose Cannon] aka [LC] has been working on just that problem, with a whole lot of extra features, creating a very robust automatically-filled, gravity-fed, vacuum-sealed water tank for whatever appliance you have that could use it, including your coffee pot.

[LC] tapped into the 1/4″ water line from the ice maker, which has the added bonus of being a common size for solenoid valves. He’s using an eTape sensor to measure the water level in the reservoir, but he ALSO is using a flow meter in the line itself to double-check that the reservoir won’t overflow. The flow meter allows a hard limit to be set for the maximum amount of water allowed into the tank. He’s used an Arduino Micro to tie the project together, which also handles a real-time clock so the tank can be filled on a schedule.

The tank that [LC] was trying to fill was vacuum-sealed as well, which made things a little trickier. Without a vacuum on the tank, the water would just run out of the overflow valve. This is an interesting project that goes way beyond the usual automatic water supplies for coffee pots we’ve seen before.

Automated Bed Warmer Control for Chilly Nights

For most of the Northern Hemisphere, winter is in full swing right now. That means long, chilly nights. We assume [LC] is in one of these climes because it seems like his bed warmer wasn’t doing quite a good enough job of getting his bed up to a reasonable temperature before he climbed in. To alleviate some of his discomfort, he hacked into the control unit and added some automation.

The original controller uses a mechanical potentiometer to set the heat level. [LC] added a digital potentiometer which he can switch to in order to allow the automation (using a real-time clock to handle scheduling) to take over control of the bed warmer. This also preserves the original functionality of the controller. There is also an Arduino involved which handles the override from mechanical to digital potentiometer when a capacitive touch sensor is activated. This means that when someone attempts to take manual control of the device, the Arduino can switch the override circuit off.

There is quite a bit of detail on the project site about this hack, including the source code for the controller. [LC] also mentions that this could be interfaced to the web to allow remote control of the bed warmer. This is a great hack, and also fits into the idea of heating the person, not the room.

Mobile Planter Chases the Sun

There are two types of people: ones with green thumbs, and ones that kill their cacti  because they forgot to water them for over a year. Sadly, we are of the latter group. We currently have a resilient spider plant that looks like it could use more sun. Now there’s a way for it to catch those rays wherever they may shine, thanks to [Dot Matrix] of Instructables. She made a mobile planter that actively seeks out sunlight.

The planter’s base was made of plywood, topped with fake grass and a watering can to hold the plant. Anything above the planter base can be modified to whatever desired aesthetic. A CRT planter may be too heavy, but there are countless ways to personalize it. [Dot] used an Afinia 3D printer to make various mounts and brackets with ABS plastic. The planter was controlled by an Arduino Micro and used a pair of 0.5W solar panels and Parallax PING))) sensors to decide how it should move from its current position. If the planter would fall or hit an object moving forward, it would reverse and turn on wheels powered by Parallax continuous rotation servos. It would evaluate its new position, repeating the process if it was in danger. Once the planter was safe, it used the solar panels to detect the most sunlight: the sum of the panels determines the area’s brightness while the individual panels’ readings were used to move the planter towards a brighter area. The sun-seeking continued until the sunniest spot was found (defined in the code). Here, the planter remained idle for 10 minutes before restarting the process.

We think [Dot’s] planter is a fun way to keep plants happy and healthy in spite of us. See a video of the planter after the break.

Continue reading “Mobile Planter Chases the Sun”