Hackaday Munich — Get Your Ticket Now!

If you’re anywhere remotely near Munich in November you’re not going to want to miss this. Hackaday is throwing our first European event! The fun runs from 12:30-23:30 on Thursday, November 13th, 2014.

Take the afternoon off of work

Tell your boss this is professional development, then grab all your hacking gear and head on down to Technikum at the Munich Kultfabrik.

Our set of workshops will test your embedded skills whether you’re a beginner or seasoned veteran. These include controlling small robots, working with audio processing from a Moog synth, reverse engineering some mystery hardware, and trying your hand at machine vision.

Try win the afternoon’s challenges. Implement the fastest and most reliable robot brain, design the best Moog synth add-on circuit. Or prove your logic skills by coding a perfect Computer Vision game solver. We’ll bring some prizes for those that show the most clever and impressive skill.

Take in the talks and learn the winner of The Hackaday Prize

Beginning at 19:00 we present a couple of talks about embedded hardware sure to impress the most discerning of hackers. Immediately following we will announce the Grand Prize winner of the 2014 Hackaday Prize. This Open Hardware build is the project that made it through more than 800 entries to secure a trip into space and eternal recognition from the Hackaday community.

Finish the day with a party

Finally, we’ll dim the lights and turn up the music for The Hackaday Prize Party. Enjoy some food and beverages, get yourself 3D scanned, try your hand at some vintage video games, and enjoy the company of the Hackaday Community. In attendance will be [Mike Szczys], [Brian Benchoff], [Aleksandar Bradic], [Jasmine Brackett], and [Ben Delarre].

We’ll see you there!

Robotic Terminator Teddy Will Protect You While You Sleep

This animatronic teddy bear is the stuff of nightmares… or dreams if you’re into mutant robot toys. In either case, this project by [Erwin Ried] is charming and creepy, as he gives life to an unassuming stuffed animal by implanting it with motorized parts.

[Erwin] achieves several degrees of motion throughout the bear’s body by filling the skin with a series of 3D printed bones, conjoined by servo motors at its shoulders, elbows and neck. The motors are controlled via an Arduino running slave to a custom application written in C#. This application uses the motion tracking and facial recognition features of the Xbox Kinect, mapping the input from the puppeteer’s movement to the motors of the doll’s skeleton. Additionally, two red LEDs illuminate under the bear’s cheeks in response to the facial expression of the person controlling it, as an additional reminder that teddy feels what you feel.

bearSkeleton

In [Erwin’s] video, he demonstrates what his application sees through the Kinect’s camera side-by-side with the mechanical skeleton its controlling. The finished product isn’t something I’d soon cuddle up to at night, but looks amazing and is fun to watch in action :

Continue reading “Robotic Terminator Teddy Will Protect You While You Sleep”

Goldilocks Climate Box Keeps Lager Fermentation Environment Just Right

September was warmish in many places around the world including [Ole]’s native Denmark. But that did not stop him from brewing lager flavored with plums from his own garden, and neither did his indifference to lagers in general.

Lager fermentation requires a consistent, low temperature. While many homebrewers might modify an electric refrigerator, [Ole] wasn’t interested in the cost of running a second one just for brewing beer. Instead, he built a climate box to work with the cool temperature in his garage. Starting with scrap wood from other projects, he lined the walls with polystyrene and put a layer of wood on the floor to help support the fermentation bucket.

Maintaining a consistent temperature in the box called for both heating and cooling. He pulled the Peltier from a 12V cooler meant to run off a car’s cigarette lighter, and used a spare ceramic heater that was lying around in case his primary reptile warmer went on the fritz.

An Arduino and a custom shield drive separate PID controllers for the Peltier and the heater. The shield has a temperature probe, and he extended the USB outside the climate box so the PIDs can be adjusted without disturbing the inside temperature. The schematic, board file, and code are all available in a zip you can get from his post.

The Peltier couldn’t quite compensate for the overly warm weather and the heat caused by the fermentation, but it was stable enough to produce a nice, plum-flavored lager he has dubbed Lektor Blom­mes malt­bol­che, which is a triple Danish pun he explains in the write-up.

Palatable Pallet Procurement Procedures

Wooden pallets are a versatile and widely-available starting point for a multitude of projects. Best of all, they can usually be acquired free of charge. But choose the wrong kind of pallet and you could end up paying dearly. [Eric] has compiled a great deal of useful information about pallets that will help you find ideal candidates and prepare them for whatever project you have in mind, be it a coffee table or a backyard roller coaster.

Pallets come in several styles and loader configurations. Some are made with space between the boards, and others are closed. If you take nothing else away from his article, just remember to look for plain, untinted pallets with no markings and you’ll be fine.

No markings means the pallet was used domestically, so markings aren’t required. Marked pallets from abroad should feature the IPPC logo as well as a treatment code indicating the method used on the material. Debarked (DB), heat treated (HT), and pallets with the European Pallet Association logo (EPAL) are all safe choices. Pallets labeled (MB) were treated with methyl bromide, which is a poisonous fungicide. Colored pallets should be avoided as well. If you find one in a cool color, take a picture of it and find some paint in a similar hue.

Safe pallets can be had from many places ranging from hardware stores to feed and tack supply stores. Find someone you can ask for permission to take pallets—they might even help you load them. Keep some gloves in your trunk to avoid splinters.

The Joys Of Shipping From China

A few months ago, news of a new PCB fab service headed up by [Ian] over at Dangerous Prototypes leaked onto the Internet. It’s extremely cheap – $14 USD for a 5cm square board with free worldwide shipping. [Ian] admits the boards aren’t the greatest quality, that’s not the point; the site’s motto is simply, ‘No bull, just crappy PCBs.’

What began as an internal website to handle all of DP’s PCB orders was now on the Internet, and orders were flying in. At first, shipping a few dozen PCBs around the globe every week was easy, but since Dirty PCBs hit the big time, customers rightfully or not, started freaking out because of the oddities of Chinese shipping and logistics companies.

[Ian] is using Espeed Post for all their shipping, and if you’ve ever ordered anything from China off of Ebay, it’s possible you’ve had something shipped through Espeed before. Because of the oddities of shipping, and the fact that Shenzhen and Hong Kong are right next to each other, even the people at Dangerous Prototypes don’t know which countries your PCBs will go through on the trip from the fab house to your front door. This has caused much consternation with DirtyPCB customers that don’t seem to realize they’re getting custom PCBs for under two dollars a board, shipped to them across the world in a week for free. Some people’s children, huh?

Things get significantly, ahem, dirtier, when Chinese holidays are taken into account. China has a lot of them, and they’re long. They’re just wrapping up the National Day holiday, 10 days in the first week of October. Everyone is backlogged, and the China/Hong Kong border is the mess of trucks seen above.

If a holiday isn’t bad enough, the new President of China is cracking down on corruption. 500 officials were fired at the largest land border with Hong Kong, due in no small part to vans full of meth and tons of counterfeit currency. Every package leaving China is inspected individually, and shipping times have exploded.

To deal with this, Dangerous Prototypes has posted a big red warning on the dirtypcb site, but experience in dealing with people on the Internet tells them this won’t be a viable solution. They’re now dealing directly with DHL, and are apparently getting priority clearance through customs. It’s not fun, as DP will now have to figure out how to work with DHL’s API. It’s a lot of work and a lot of trouble, but DP still has a few tricks up their sleeve – they’re working on an online schematic entry and PCB layout site and the extremely interesting DirtyCables – custom cables shipped to your door.

Remote Control For An Elevator

Electric_Imp_elevator_hack_overview

The elevator at [Alex]’s office building has some quirks which make it very inconvenient to everyone in the building. The major problem was that the doors of the elevator at each floor stay locked until someone walks down the hall to hit a button. Obviously this was a hassle, so [Alex] built a controller that can remotely call and unlock the elevator. (Part 2 of the project is located on a separate page.)

The first step was to source the hardware and figure out exactly how the controls for the elevator worked. [Alex] decided to use an Electric Imp for this project, and after getting it connected to the Internet, he realized that he could power it directly off of the elevator’s 10V supply. From there, he used relays to interface the Electric Imp with the “elevator call” and “elevator unlock” buttons inside the elevator’s control panel.

Once the hardware side was completed, it was time to move on to the software side. [Alex] wrote a mobile app for a user interface that can be accessed from anywhere, and also wrote the code for the Electric Imp agent and the code that runs on the Electric Imp itself. Now, a simple tap of a button on a mobile device is enough to call the elevator or unlock it, rather than in the past where someone had to run down a hall to hit the button.

We hope there is some security on the mobile app, otherwise anyone in the world will be able to call the elevator and turn it into a passenger-less useless machine!

Ask Hackaday: What Are Invariant Representations?

Your job is to make a circuit that will illuminate a light bulb when it hears the song “Mary Had a Little Lamb”. So you breadboard a mic, op amp, your favorite microcontroller (and an ADC if needed) and get to work. You will sample the incoming data and compare it to a known template. When you get a match, you light the light. The first step is to make the template. But what to make the template of?

“Hey boss, what style of the song do you want to trigger the light? Is it children singing, piano, what?”

Your boss responds:

“I want the light to shine whenever any version of the song occurs. It could be singing, keyboard, guitar, any musical instrument or voice in any key. And I want it to work even if there’s a lot of ambient noise in the background.”

Uh oh. Your job just got a lot harder. Is it even possible? How do you make templates of every possible version of the song? Stumped, you talk to your friend about your dilemma over lunch, who just so happens to be [Jeff Hawkins] – a guy whose already put a great deal of thought into this very problem.

“Well, the brain solves your puzzle easily.” [Hawkins] says coolly. “Your brain can recall the memory of that song no matter if it’s vocal, instrumental in any key or pitch. And it can pick it out from a lot of noise.”

“Yea, but how does it do that though!” you ask. “The pattern’s of electrical signals entering the brain have to be completely different for different versions of the song, just like the patterns from my ADC. How does the brain store the countless number of templates required to ID the song?”

“Well…” [Hawkins] chuckles. “The brain does not store templates like that”. The brain only remembers the parts of the song that doesn’t change, or are invariant. The brain forms what we call invariant representations of real world data.”

Eureka! Your riddle has been solved. You need to construct an algorithm that stores only the parts of the song that doesn’t change. These parts will be the same in all versions – vocal or instrumental in any key. It will be these invariant, unchanging parts of the song that you will look for to trigger the light. But how do you implement this in silicon?

Continue reading “Ask Hackaday: What Are Invariant Representations?”