Google's AIY Vision Kit exploded view

Google’s AIY Vision Kit Augments Pi With Vision Processor

Google has announced their soon to be available Vision Kit, their next easy to assemble Artificial Intelligence Yourself (AIY) product. You’ll have to provide your own Raspberry Pi Zero W but that’s okay since what makes this special is Google’s VisionBonnet board that they do provide, basically a low power neural network accelerator board running TensorFlow.

AIY VisionBonnet with Myriad 2 (MA2450) chip
AIY VisionBonnet with Myriad 2 (MA2450) chip

The VisionBonnet is built around the Intel® Movidius™ Myriad 2 (aka MA2450) vision processing unit (VPU) chip. See the video below for an overview of this chip, but what it allows is the rapid processing of compute-intensive neural networks. We don’t think you’d use it for training the neural nets, just for doing the inference, or in human terms, for making use of the trained neural nets. It may be worth getting the kit for this board alone to use in your own hacks. An alternative is to get Modivius’s Neural Compute Stick, which has the same chip on a USB stick for around $80, not quite double the Vision Kit’s $45 price tag.

The Vision Kit isn’t out yet so we can’t be certain of the details, but based on the hardware it looks like you’ll point the camera at something, press a button and it will speak. We’ve seen this before with this talking object recognizer on a Pi 3 (full disclosure, it was made by yours truly) but without the hardware acceleration, a single object recognition took around 10 seconds. In the vision kit we expect the recognition will be in real-time. So the Vision Kit may be much more dynamic than that. And in case it wasn’t clear, a key feature is that nothing is done on the cloud here, all processing is local.

The kit comes with three different applications: an object recognition one that can recognize up to 1000 different classes of objects, another that recognizes faces and their expressions, and a third that detects people, cats, and dogs. While you can get up to a lot of mischief with just that, you can run your own neural networks too. If you need a refresher on TensorFlow then check out our introduction. And be sure to check out the Myriad 2 VPU video below the break.

Continue reading “Google’s AIY Vision Kit Augments Pi With Vision Processor”

Cherry MX to LEGO keypads

Connecting Cherry MX Key Switches To LEGO Just Got Easier

The Cherry MX Blue keyswitch

Here on Hackaday, we like keyboard hacks. Given how much time we all spend pounding away on them, they’re natural hacks to come up with. If you’re pulling the circuitry from an existing keyboard then chances are the keys are pressed either by pushing down on rubber domes (AKA the membrane type), or on mechanical switches. [Jason Allemann] has just made it easier to do keyboard hacks using LEGO by building one for a circuit board with mechanical Cherry MX key switches. That involved designing parts to connect LEGO bricks to the switches.

For those custom parts, he recruited his brother [Roman], who’s a mechanical engineer. [Roman] designed keycaps with a Cherry MX stem on one side for snapping onto the key switches, and LEGO studs on the other side for attaching the LEGO bricks. The pieces also have a hole in them for any keys which have LEDs. Of the 100 which [Jason] ordered from Shapeways, around ten were a bit of a loose fit for the LEGO bricks, but only if you were doing extreme button mashing would they come off.

The easy part was the keyboard circuit board itself, which he simply removed from an old Cooler Master Quick Fire Rapid keyboard and inserted into his own LEGO keyboard base.

LEGO mechanical keyboard
LEGO mechanical keyboard

We do like his creative use of bricks for the keys. For one thing, the letter keys have no letters on them and so is for toufh-typosts touch-typists only. The Caps Lock is a baseball cap, which would be awkward to press except that no one ever does anyway. ESC is a picture of a person running from a dinosaur and F1, which is often the help-key, is the Star of Life symbol for medical emergency services such as ambulances. Scroll Lock is, of course, a scroll. And to make himself type faster, he incorporated blue racing stripes into the frame, but you can judge for yourself whether or not that trick actually works by watching his detailed build-video below.

Continue reading “Connecting Cherry MX Key Switches To LEGO Just Got Easier”

Living On The Moon: The Challenges

Invariably when we write about living on Mars, some ask why not go to the Moon instead? It’s much closer and has a generous selection of minerals. But its lack of an atmosphere adds to or exacerbates the problems we’d experience on Mars. Here, therefore, is a fun thought experiment about that age-old dream of living on the Moon.

Inhabiting Lava Tubes

Lava tube with collapsed pits near Gruithuisen crater
Lava tube with collapsed pits near Gruithuisen crater

The Moon has even less radiation protection than Mars, having practically no atmosphere. The lack of atmosphere also means that more micrometeorites make it to ground level. One way to handle these issues is to bury structures under meters of lunar regolith — loose soil. Another is to build the structures in lava tubes.

A lava tube is a tunnel created by lava. As the lava flows, the outer crust cools, forming a tube for more lava to flow through. After the lava has been exhausted, a tunnel is left behind. Visual evidence on the Moon can be a long bulge, sometimes punctuated by holes where the roof has collapsed, as is shown here of a lava tube northwest from Gruithuisen crater. If the tube is far enough underground, there may be no visible bulge, just a large circular hole in the ground. Some tubes are known to be more than 300 meters (980 feet) in diameter.

Lava tubes as much as 40 meters (130 feet) underground can also provide thermal stability with a temperature of around -20°C (-4°F). Having this stable, relatively warm temperature makes building structures and equipment easier. A single lunar day is on average 29.5 Earth days long, meaning that we’ll get around 2 weeks with sunlight followed by 2 weeks without. During those times the average temperatures on the surface at the equator range from 106°C (224°F) to -183°C (-298°F), which makes it difficult to find materials to withstand that range for those lengths of time.

But living underground introduces problems too.

Continue reading “Living On The Moon: The Challenges”

Cocktail mixing machine

Cocktail Machine Mixes Perfect Drinks Every Time

For many of us. the holiday season is coming up and that means hosting parties and mixing drinks, which can get tiresome. [GreatScott] has come up with a solution, what he calls a crude cocktail mixing machine. But don’t be fooled — it may look crude on the surface, and vibrate a bit while working, but the mechanism is plenty sound and functional.

The machine can mix three different liquids and does so using three peristaltic pumps. In typical [GreatScott] style, while he tears apart the pumps to replace the tubes, he gives us a good glimpse of just how they work. Using a knob and LCD screen, you can enter any quantity you want for the three liquids, though you’ll have to edit the Arduino code if you want to change the liquids’ names.

Load cell
Load cell

How does the machine know when to stop pumping a certain liquid? Each pump is rated for a specific quantity per second, though he tests this for each liquid anyway and finds a slight variation which he accounts for in the code. After the machine turns a pump on, a load cell located under the glass tells it when liquid has started arriving at the glass. A simple calculation based on the pump’s quantity per second and the desired quantity tells it how long to leave the pump on for. When the times up, it stops the pump. The result is a machine that’s sure to be a centerpiece for any hacker-filled party. Check out his build and the pump in action in the video below.

Continue reading “Cocktail Machine Mixes Perfect Drinks Every Time”

The IBM PC That Broke IBM

It was the dawn of the personal computer age, a time when Apple IIs, Tandy TRS-80s, Commodore PETs, the Atari 400 and 800, and others had made significant inroads into schools and people’s homes. But IBM, whose name was synonymous with computers, was nowhere to be seen. And yet within a few years, the IBM PC would be the dominant player.

Those of us who were around at the time cherished one of those early non-IBM computers, and as the IBM PC came out, either respected it, looked down on it, or did both. But now, unless your desktop machine is a Mac, you probably own a computer that owes its basic design to the first IBM PC.

The Slow Moving Elephant

IBM System/360 Model 30 mainframe
IBM System/360 Model 30 mainframe by Dave Ross CC BY 2.0

In the 1960s and 1970s, the room-filling mainframe was the leading computing platform and the IBM System/360 held a strong position in that field. But sales in 1979 in the personal computer market were $150 million and were projected to increase 40% in 1980. That was enough for IBM to take notice. And they’d have to come up with something fast.

Fast, however, wasn’t something people felt IBM could do. Decisions were made through committees, resulting in such a slow decision process that one employee observed, “that it would take at least nine months to ship an empty box.” And one analyst famously said, “IBM bringing out a personal computer would be like teaching an elephant to tap dance.”

And yet, in just a few short years, IBM PCs dominated the personal computer market and the majority of today’s desktops can trace their design back to the first IBM PC. With even more built-in barriers which we cover below, how did the slow-moving elephant make this happen?

Continue reading “The IBM PC That Broke IBM”

Bear McCreary's floppy music for Revolt

Floppy Drive Music By Emmy Winning Composer

We’ve featured a lot of awesome music made using floppy drives before, but this is the first time we’ve seen it used as the main instrument in a movie score, and by Emmy winning composer [Bear McCreary]. The movie, in this case is alien invasion film, Revolt, but you’ve surely heard Bear’s amazing work in the reimagined Battlestar Galactica series, The Walking Dead, Terminator: The Sarah Connor Chronicles (my favorite of his), or the one for which he won an Emmy, Da Vinci’s Demons wherein the main theme sounds the same backwards as forwards, to name just a few. So when someone of [Bear]’s abilities makes use of floppy drives, we listen.

[Bear] works with a team, and what they learned was that it’s a clicking sound which the drives make that we hear. It’s just so fast that it doesn’t come across as clicks. The speed at which the clicks are made determines the pitch. And so to control the sound, they control the floppy drives’ speed. They also found that older floppy drives had more of the type of sound they were looking for than newer ones, as if floppy drives weren’t getting hard to find as is. In the end, their floppy orchestra came out to around twelve drives. And the result is awesome, so be sure to check it out in the video below.

Continue reading “Floppy Drive Music By Emmy Winning Composer”

Skelly the skeleton robot

Skelly The Skeleton Is A Scary Good Musician

There are a lot of things to like about [BoneConstructor]’s Skelly the skeleton robot project. Note that we said, “project”. That’s because not only does the robot work well and is built well, but the journey he took to make it contains steps we’ve all taken ourselves. We can say that with confidence since it’s his first, and we’ve all had those.

Skelly started life as a skeleton sitting in [BoneConstructor]’s antique race car at local car shows. Its eyes lit up and it made a moaning sound, which didn’t always work right.  From there came lessons learned with head and arm servos, followed by problems with a PS2 remote and a control board. When he realized he’d have to write his own code, he was stymied by his lack of programming skills. But then he found Visuino, which as you can guess from the name is a visual way to program Arduinos, mostly consisting of drag-and-drop. From there on, the path was smoother, if not completely linear.

Rather than rapidly burn through servos by mounting the bones directly to the servo arms, he fitted bearings into the bone sockets, put the limbs on shafts through those bearings, and used pusher rods connected to the servo arms to turn those shafts. It’s no wonder the arms work so well. He took that sturdy and resilient approach with the wrists and neck too. He even made its right foot able to tap in tune with the music.

And from there we begin to understand some of the method to his madness. Check out the videos below, and on his Hackaday.io page and you’ll see how wonderfully Skelly moves to the music. It even took a moment for us to realize he wasn’t actually playing the piano. But best of all, we like how he rocks out to AC/DC’s Shoot To Thrill (Iron Man 2 Version). We’re really impressed by how well those robot arms hold up given that this is a first robot.

Continue reading “Skelly The Skeleton Is A Scary Good Musician”