Alexa coffee maker robot

Alexa Robot Coffee Maker Brews Coffee, Speaks For Itself

To keep hackers fueled and hacking, why not hack a coffee maker into a coffee brewing robot? [Carter Hurd] and [David Frank] did just that at The Ohio State’s Hack OHI/O 24 hour Hackathon. They even won the “Best Hardware Hack”. The video below shows it in action but the guys sent us some extra details on how it’s made.

To give it a voice they put Alexa on a Raspberry Pi. Using an audio splitter they have the voice go both to a speaker and to an Arduino. The Arduino then uses the amplitude of the audio signal’s positive values to determine how much to open the “mouth”, the coffee maker’s hinged cover. As is usually the case, there’s some lag, but the result is still quite good.

The brewing is also controlled by the Arduino. They plan to add voice control so that they can simply ask, “Alexa, make me coffee”, but for now they added a switch on the side to start the brewing. That switch tells the Arduino to work one servo to open the cover, another to insert a coffee filter, and two more to scoop up some coffee from a container and dump it into the filter.

They replaced the coffee maker’s on/off switch with a relay so that after the Arduino closes the cover again, it uses the relay to start the brewing. The result is surprisingly human-like. We especially like the graceful movement achieved by the two servos for scooping up and dumping the coffee. Full disclosure: they did admit that it would often either not scoop enough coffee or scoop enough but spill a bunch on the group.

Continue reading “Alexa Robot Coffee Maker Brews Coffee, Speaks For Itself”

Pick-And-Place Machine For Candy

Every December and May the senior design projects from engineering schools start to roll in. Since the students aren’t yet encumbered with real-world detractors (like management) the projects are often exceptional, unique, and solve problems we never even thought we had. Such is the case with [Mark] and [Peter]’s senior design project: a pick and place machine that promises to solve all of life’s problems.

Of course we’ve seen pick-and-place machines before, but this one is different. Rather than identifying resistors and capacitors to set on a PCB, this machine is able to identify and sort candies. The robot — a version of the MeARM — has three degrees of freedom and a computer vision system to alert the arm as to what it’s picking up and where it should place it. A Raspberry Pi handles the computer vision and feeds data to a PIC32 which interfaces with the hardware.

One of the requirements for the senior design class was to keep the budget under $100, which they were able to accomplish using pre-built solutions wherever possible. Robot arms with dependable precision can’t even come close to that price restraint. But this project overcomes the lack of precision in the MeArm by using incremental correcting steps to reach proper alignment. This is covered in the video demo below.

Senior design classes are a great way to teach students how to integrate all of their knowledge into a final class, and the professors often include limits they might find in the real world (like the budget limit in this project). The requirement to thoroughly document the build process is also a lesson that more people could stand to learn. Senior design classes have attempted to solve a lot of life’s other problems, too; from autonomous vehicles to bartenders, there’s been a solution for almost every problem.

Continue reading “Pick-And-Place Machine For Candy”

Improving Raspberry Pi Disk Performance

Usually, you think of solid state storage as faster than a rotating hard drive. However, in the case of the Raspberry Pi, the solid state “disk drive” is a memory card that uses a serial interface. So while a 7200 RPM SATA drive might get speeds in excess of 100MB/s, the Pi’s performance is significantly less.

[Rusher] uses the Gluster distributed file system and Docker on his Raspberry Pi. He measured write performance to be a sluggish 1MB/s (and the root file system was clocking in at just over 40MB/s).

There are an endless number of settings you could tweak, but [Rusher] heuristically picked a few he thought would have an impact. After some experimentation, he managed 5MB/s on Gluster and increased the normal file system to 46 MB/s.

Continue reading “Improving Raspberry Pi Disk Performance”

Jukebox Gets Raspberry Pi Update, But It’s Not For Streaming

Here’s a retro-electronic rehab with a twist. Normally we’d expect a jukebox Raspberry Pi project to replace the obsolete electromechanical guts with streamed music, but an intact jukebox with a Raspberry Pi remote control is a nice change.

Old-time jukes like [revnhoj]’s 1954 AMI F120 are electromechanical marvels. Stocked with 60 45-rpm discs in a horizontal rack, an arm mounted on a track would retrieve the correct disc and place it on the turntable to play the selected song. The unit in the video below was the main jukebox, which supported “wall boxes” mounted at booths so patrons could select tunes without leaving their tables. [revnhoj] simulated a wall box with a Raspberry Pi connected to the original wall box interface through relays. The Pi serves up a GUI that can be accessed via a tablet, the correct contacts are tickled, and [revnhoj]’s collection of 45s is played through the original mechanism and amplifier, in all its “Sonoramic Sound” majesty. It’s a pretty neat hack that adds new functionality while being true to the original platform.

The chatter on the reddit thread where we spotted this hack was trending toward adding streaming audio, but we truly hope the juke stays intact and serving only vinyl. We’ve seen jukeboxes gutted before, and while it might make sense for some, we like the old school approach better.

Continue reading “Jukebox Gets Raspberry Pi Update, But It’s Not For Streaming”

Raspberry Pi And Alexa Make Teddy Ruxpin Smarter Than The Average Bear

Behold the unholy union of Amazon’s Alexa and that feature-limited animatronic bear from the 80s, Teddy Ruxpin. Alexa Ruxpin?

As if stuffing Alexa inside a talking fish weren’t bad enough, now Amazon’s virtual assistant can talk to you through the creepy retro plush thanks to [Tinkernut]’s trip down memory lane. Having located a Teddy Ruxpin on eBay for far less than the original $70 that priced it out from under his childhood Christmas tree, [Tinkernut] quickly learned that major surgery would be necessary to revive the Ruxpin. The first video below shows the original servos being gutted and modern micro servos grafted in, allowing control of the mouth, eyes, and nose via an Arduino.

With the bear once again in control of its faculties, [Tinkernut] embarked on giving it something to talk about. A Raspberry Pi running AlexaPi joined the bear’s recently vacated thorax with the audio output split between the bear’s speaker and the analog input on the Arduino. The result is a reasonable animation, although we’d say a little tweaking of the Arduino script might help the syncing. And those eyes and that nose really need to get into the game as well. But not a bad start at all.

This isn’t the first time that Teddy Ruxpin has gone under the knife in the name of hacks, and it likely won’t be the last. And the way toy manufacturers are going, they might just beat us hackers to the punch.

Continue reading “Raspberry Pi And Alexa Make Teddy Ruxpin Smarter Than The Average Bear”

Raspberry Pi Software Comes To PC, Mac

The Raspberry Pi Foundation has put a lot of work into their software stack. You need only look at a few of the Allwinnner-based Pi clones for the best evidence of this, but the Pi Foundation’s dedication to a clean and smooth software setup can also be found in Noobs, their support for the Pi Hardware, and to a more limited extent, their open source GPU driver offerings.

Now the Pi Foundation is doing something a bit weird. They’re offering their default Raspberry Pi installation for the Mac and PC. Instead of Flashing an SD card, you can burn a DVD and try out the latest the Pi ecosystem has to offer.

A few months ago, PIXEL became default distribution for the Raspberry Pi. This very lightweight distribution is effectively the Knoppix of 2016 – it doesn’t take up a lot of resources, it provides enough software to do basic productivity tasks, and it’s easy to use.

Now PIXEL is available as a live CD for anything that has i386 written somewhere under the hood. The PC/Mac distribution is the same as the Pi version; Minecraft and Wolfram Mathematica aren’t included due to licensing constraints. Other than that, this is the full Pi experience running on x86 hardware.

One feature that hasn’t been overlooked by a singular decade-old laptop in the Pi Foundation is Pixel’s ability to run on really old hardware. This is, after all, a lightweight distribution for the Raspberry Pi, so you shouldn’t be surprised to see this run on a Pentium II machine. This is great for a school in need of upgrading a lab, but the most interesting thing is that we now have a new standard in Linux live CDs and Flash drives.

Raspberry Pi Camera Flash

The Raspberry Pi Camera is a great tool; it allows projects that require a camera to be put together quickly and on a budget. Plus, having a Linux back end for a little processing never hurt anybody. What can be difficult however, is imaging in low light conditions. Most smartphones have an LED flash built in for this purpose. [Wim Van Gool] decided to follow suit and build an LED flash for the Raspberry Pi.

The project consists of a custom PCB with surface-mount LEDs in an attractive concentric layout. This is a good way to get a nice even distribution of light, particularly when taking photos close up. The board is designed around the Texas Instruments TPS61169 LED driver, which is controlled by a PWM signal from the Raspberry Pi. The flash mounts as a Raspberry Pi HAT, and there’s a hole routed in the centre to allow the camera to fit in nice and snug when using standard 11mm standoffs. It might seem simple, but it’s an impressively tidy piece of engineering and a testament to [Wim]’s abilities.

The Raspberry Pi Camera turns up in all sorts of projects — like these far-seeing PiNoculars.