Jigsaw puzzle with timer

Your Puzzle’s Done When The Electronics Says So

We can race against the clock when assembling jigsaw puzzles online but what about competing against each other in the real world? [HomeMadeGarbage] came up with the simplest of solutions with his jigsaw puzzle timer that stops only when the puzzle’s completely assembled.

Copper strip on back of puzzle
Copper strip on back of puzzle

His simple solution was to attach copper foil tape to the back of the pieces, with overlap. He did this in a serpentine pattern to ensure that all pieces had a strip of the tape. The puzzle he used comes with a special container to assemble it in. At two corners of that container, he put two more pieces of copper foil, to which he soldered wires. Those two act as a switch. Only when the puzzle is completed will those two pieces be connected through the serpentine strip on the back of the puzzle.

Next, he needed a timer. The two wires from the puzzle container go to an Arduino UNO which uses an ILI9325 touch panel TFT display for both the start, stop, and reset buttons, and to show the time elapsed. Press the touch screen when it says START and begin assembling the puzzle. When the last piece is inserted, the serpentine strip of copper tape completes the circuit and only then does the Arduino program stop the timer. As you can see from the video below, the result makes doing the puzzle lots of fun.

Continue reading “Your Puzzle’s Done When The Electronics Says So”

Hacking On Mars In “The Martian”

It’s been 6 years since the hacker’s treat of a book, “The Martian” by Andy Weir, was self-published, and 2 years since the movie came out. We’ve talked about it briefly before, but enough time has passed that we can now write-up the book’s juicier hacks while being careful to not give away any plot spoilers. The book has more hacks than the movie so we’re using the book as the source.

For anyone unfamiliar with the story, Mark Watney is an astronaut who’s left for dead, by himself, on Mars. To survive, he has a habitat designed for six, called the Hab, two rovers, the Mars Descent Vehicle (MDV) they arrived in, and the bottom portion of the Mars Ascent Vehicle (MAV), the top portion of which was the rocket that his five crewmates departed in when they left him alone on the inhospitable desert planet. If you haven’t read it yet, it’s easy to finish over a long weekend. Do yourself a favor and pick it up after work today.

Making Water

Watney’s major concern is food. They sent up some potatoes with the mission which will sprout roots from their eyes. To grow potatoes he needs water.

One component of the precious H2O molecule is of course the O, oxygen. The bottom portion of the MAV doesn’t produce oxygen, but it does collect CO2 from the Martian atmosphere and stores it in liquid form. It does this as one step in producing rocket fuel used later to blast off from the surface.

Continue reading “Hacking On Mars In “The Martian””

Braille keypad circuit board

Hackaday Prize Entry: A Braille Keypad For SmartPhone

A few things stand out about [Vijay]’s braille keypad for smartphones. One is how ergonomic the plans for the final result are, sitting on the back of the smartphone such that you hold the phone much as you often normally would. Another is that it plugs in just like any other USB keyboard. And the last should make any vi user smile — you don’t have to move your fingers to type. You just press combinations of buttons already under your fingers.

It consists of a custom circuit board with an AtMega32U4, a 16 MHz oscillator, a Micro-USB connector and eight pushbutton switches.  The AtMega32U4 allows him to use the Arduino HID library. After mapping the braille button combinations to keys, the HID library sends the key values over a USB-OTG cable to the smartphone to be accepted as if they were coming from a normal plug and play keyboard.

We have to give kudos to [Vishay] for testing with blind people experienced with braille. For example, he’s learned that if the user presses [Dots 1 2] for ‘b’ followed by [Dots 1 4] for ‘c’, they prefer to not have to remove their finger from the 1 in between the two characters, for more rapid typing.  He also learned that battery management is problematic and that may be why he’s since abandoned the option of communicating over Bluetooth, leaving just USB, and thereby eliminating the need for a battery.

[Vijay]’s project is a finalist for the Internet of Useful Things Hackaday Prize and we’re eager to see what the final result will look like. But in the meantime, check out his hackaday.io and GitHub pages, and see the video below of one iteration of his keypad in use.

Continue reading “Hackaday Prize Entry: A Braille Keypad For SmartPhone”

Animated robots Mira and Gertie

Pixar Style Robots Are Treasure Trove Of Building Tricks

[Alonso Martinez] is an artist working on virtual characters at Pixar so it’s no wonder that his real life robots, Mira and Gertie,  have personalities that make them seem like they jumped straight out of a Pixar movie. But what we really like are the tricks he’s used inside to bring them to life that are sure to get reused for the same or other things.

Mira's head rotation mechanism
Mira’s head rotation mechanism

For example, Mira’s head can rotate in yaw, pitch and roll. To figure out how to make it do that he recalled having a joystick called the Microsoft Sidewinder Pro that had force feedback. That meant it might have had motors in line with the motions, much like what he wanted. To see how it worked, he bought one on eBay, took it apart, and improved on it to come up with his own design. But besides making use of the design in joysticks and heads, we can imagine it used to make robot eyeballs rotate in their sockets too. And as a side note, he’s running the robot off a Raspberry Pi, but notice the clever, space-saving way he’s mounted the whole mechanism to the Pi’s four mounting holes.

What also piqued our interest are the two tiny servos used in the head mechanism, two HD-DSM44 digital servos. These are even smaller than Tower Pro SG90s and with the added advantage of being metal geared.

Gertie's delta jumping legs
Gertie’s delta jumping legs

To make the eyes blink he had to overcome the fact the head was a thin-walled sphere sliding over the body, and the eyes had to fit in the thin wall without contacting the body. His solution was to make them out of OLED screens with acrylic hemispheres for the protruding eyeballs. The circuit boards talk to the screens through ribbon cables that are around 32 connections per inch, which made for some careful soldering. And to further create a thin profile he even sanded the solder points flat.

His other robot, the yellow and green Gertie, jumps to move around and its internal mechanism is also a joy to examine. To swivel and hop, it uses much the same design as a delta 3D printer, with three legs that can move the upper body in any direction, and compress like a spring before leaping. We like how his method for determining the appropriate thickness of 3D printed PLA parts such that they wouldn’t break was simply trial an error, taking advantage of the rapid prototyping possible with 3D printers. He did cheat on one main part of each leg though, and that was to go with RC car tie rods for the lower half of each leg — but we won’t tell on him if you won’t.

And that’s only a small sample of the neat tips and tricks you’ll find in the video below (they start looking inside the robots at 7:35).

Continue reading “Pixar Style Robots Are Treasure Trove Of Building Tricks”

Catastrophic Forgetting: Learning’s Effect On Machine Minds

What if every time you learned something new, you forgot a little of what you knew before? That sort of overwriting doesn’t happen in the human brain, but it does in artificial neural networks. It’s appropriately called catastrophic forgetting. So why are neural networks so successful despite this? How does this affect the future of things like self-driving cars? Just what limit does this put on what neural networks will be able to do, and what’s being done about it?

The way a neural network stores knowledge is by setting the values of weights (the lines in between the neurons in the diagram). That’s what those lines literally are, just numbers assigned to pairs of neurons. They’re analogous to the axons in our brain, the long tendrils that reach out from one neuron to the dendrites of another neuron, where they meet at microscopic gaps called synapses. The value of the weight between two artificial neurons is roughly like the number of axons between biological neurons in the brain.

To understand the problem, and the solutions below, you need to know a little more detail.

Continue reading “Catastrophic Forgetting: Learning’s Effect On Machine Minds”

FabricKeyboard

FabricKeyboard Is Piano, Theremin And More

Two researchers of Responsive Environments, MIT Media Lab, have put to together a device that is an amazing array of musical instruments squeezed into one flexible package. Made using seven layers of fabrics with different electrical properties, the result can be played using touch, proximity, pressure, stretch, or with combinations of them. Using a fabric-based keyboard, ribbon-controller, and trackpad, it can be played as a one-octave keyboard, a theremin, and in ways that have no words, such as stretching while pressing keys. It can also be folded up and stuffed into a case along with your laptop, and care has even been taken to make it washable.

The FabricKeyboard layers
The FabricKeyboard layers

Layer one, the top layer, is a conductive fabric for detecting proximity and touch. The twelve keys can work independently with a MPR121 proximity touch controller or the controller can treat them all as one, extending the distance the hand can be and have it still work. Layer two is just a knit fabric but layers three to six detect pressure, consisting to two conductive layers with a mesh fabric and a piezo-resistive fabric in between. The piezo-resistive fabric is LTT-SPLA from eeonyx, a knit fabric coated with the conductive polymer, polypyrrole (PPy). Layer seven consists of two strips of knitted spandex fabric, also coated with PPy, and detects stretching. Two strips of this are sewn on the bottom, one horizontal and one vertical. You can see and hear the amazing sound this all produces in the video below.

Continue reading “FabricKeyboard Is Piano, Theremin And More”

Inception object recognizer in a box

DIY Raspberry Neural Network Sees All, Recognizes Some

As a fun project I thought I’d put Google’s Inception-v3 neural network on a Raspberry Pi to see how well it does at recognizing objects first hand. It turned out to be not only fun to implement, but also the way I’d implemented it ended up making for loads of fun for everyone I showed it to, mostly folks at hackerspaces and such gatherings. And yes, some of it bordering on pornographic — cheeky hackers.

An added bonus many pointed out is that, once installed, no internet access is required. This is state-of-the-art, standalone object recognition with no big brother knowing what you’ve been up to, unlike with that nosey Alexa.

But will it lead to widespread useful AI? If a neural network can recognize every object around it, will that lead to human-like skills? Read on. Continue reading “DIY Raspberry Neural Network Sees All, Recognizes Some”