Hackaday Prize Entry: AutoFan Saves Tired Drivers With Face Recognition

Long distance driving can be tedious at times. The glare of the sun and the greenhouse effect of all your car’s windows make it hot and dry. You turn on the fan, or air conditioning if you have it, and that brings relief. Soon enough you’ve got another problem, the cold dry air is uncomfortable on your eyes. Eventually as you become more tired, you find yourself needing the air on your face more and more as you stay alert. You thus spend most of the journey fiddling with your vents or adjusting the climate controls. Wouldn’t it be great if the car could do all that for you?

AutoFan is a project from [hanno] that aims to automate this process intelligently. It has a fan with steerable louvres, driven by a Raspberry Pi 2 with attached webcam. The Pi computes the position of the driver’s face, and ensures the air from the fan is directed to one side of it. If it sees the driver’s blink rate increasing it directs the air to their face, having detected that they are becoming tired.

The build logs go into detail on the mathematics of calculating servo angles and correcting for camera lens distortion in OpenCV. They also discuss the Python code used to take advantage of the multicore architecture, and to control the servos. The prototype fan housing can be seen in the video below the break, complete with an unimpressed-looking cat. For those of you interested in the code, he has made it available in a GitHub repository.

Continue reading “Hackaday Prize Entry: AutoFan Saves Tired Drivers With Face Recognition”

SNES Micro Is A Pi Z Of Art

Clay is a shapeless raw material that’s waiting to be turned into awesomeness by your creativity. So is the Raspberry Pi. [Dorison Hugo] brought the two together in his artfully crafted SNES micro – a tiny retro gaming console sculpted from clay.

Continue reading “SNES Micro Is A Pi Z Of Art”

Raspberry Pi Plays All That Jazz

[James Bellafaire] wanted a good looking old radio with a modern sound. Granted, you could hollow the case out and replace it with an iPod. Or you could convert the thing to an Internet radio. But where’s the fun in that?

[James] took a different approach. Part woodworking project, part Raspberry Pi project, and part microcontroller project, he wound up with a hard drive-based music player in a 1930’s case with knobs that control the playback.

Continue reading “Raspberry Pi Plays All That Jazz”

Landscape Lighting That Also Texts

Your local hardware store or garden supply center probably has everything you need to install landscape lighting all around your property. What’s a little less likely is coming out of that situation with fewer holes in your wallet than in your yard. And even then, it’s pretty much guaranteed that any off-the-shelf equipment won’t send you a text message when your landscape lighting isn’t working properly. [Mark]’s landscape lighting system does, though!

Powered by a Raspberry Pi, this landscape lighting system has every feature imaginable. It can turn the lighting on at sunset and turn it off at a set or random time later in the evening. There’s a web interface served from the Pi that allows further user control. The Raspberry Pi also monitors the lighting and can sense when one of the lights burns out. When one does, the Pi uses Twillo to send a text message notification.

There’s not many more features we can imagine packing into a setup like this. Of course, if you don’t have a spare Pi around you can probably manage to get the job done with an ESP8266, or even an old-fashioned Arduino.

Raspberry Pi Radio Streaming Service Guts Yamaha Shelf System

There are dozens — dozens! — of options to meet your music and streaming needs these days.  Looking to make something of his own that retains that 90’s vibe of having a dedicated stereo system but with modern wireless integration, [thk4711] turned an old Yamaha hifi into a Raspberry Pi streaming client.

As far as the case goes, a few modifications allowed [thk4711] to use all of the existing buttons, and a quick-swap of the back-plate and screen gave him a better enclosure than one he could fabricate himself. The power supply proved to be the most difficult part of the project due in part to some “digital noise” interference between the digital and analog components while they were wired to a common ground. This was solved by implementing two transformers, a LM2596 voltage regulator and a LT1084 low-noise power supply to smooth things out.

The Raspberry Pi 2-centered device supports internet radio, Spotify connect, Airplay, USB and auxiliary inputs.

Continue reading “Raspberry Pi Radio Streaming Service Guts Yamaha Shelf System”

Hackaday Prize Entry: Boots And Cats And Boots And Cats

Electronic drums are pricey, but the drums themselves are actually very easy to make. By simply putting a few piezos on some rubber mats, you can make a set of electronic drums. The real trick, and the expensive bit, is in the drum module. This module has inputs for the high hat, snare, toms, and bass drum to turn the repetitive thwaking of a stick on a rubber mat into drum sounds.

For his Hackaday Prize entry, [Jeremy] isn’t building a set of electronic drums. He’s building a drum module, complete with touchscreen interface and a GUI.

This isn’t [Jeremy]’s first go at building a drum module – his first implementation was RaspiDrums, an add-on for the Raspberry Pi that used accelerometers instead of piezos. The software works well enough with a USB sound card to serve as a set of real electronic snare.

Now [Jeremey] is moving up to a full kit, and the power of the Raspberry Pi means he can easily add a touch screen to his device. Right now the efforts are going into building a GUI using Gtkmm, and wrapping everything up into a front panel that makes sense and is easy to use. The drums themselves are a solved problem, making this Hackaday Prize entry a fantastic polish on an already great project.

31415926 (That’s Roughly Π Times 10 Million Raspberries)

The Raspberry Pi Foundation founder Eben Upton has announced that their ten millionth eponymous single-board computer has been sold since their launch back in February 2012. It’s an impressive achievement, especially so since their original sales expectations were for a modest ten thousand. For those of us who watched the RS and Farnell websites crumble under the strain of so many would-be purchasers on that leap day morning four and a half years ago their rapidly exceeding that forecast came as no surprise, but still, it’s worth a moment’s consideration. They passed the Sinclair ZX Spectrum’s British record of 5m computers sold back in February 2015, leaving behind the Pi’s BBC Micro spiritual ancestor on 1.5m sold long before that.

Critics of the Pi will point out that its various versions have rarely been the most powerful small single board computer on the market, or even at times the cheapest. They will also point to the closed-source nature of the Broadcom binary blob that underpins Pi operating systems, and even the sometimes unpredictable nature of the Pi Foundation with respect to its community, product availability and launches. But given that the Pi Foundation’s focus is not on our side of the community but on using the boards as a tool to introduce young people to computing, it’s fair to say that they’ve done a pretty good job of ensuring that a youngster can now get their hands on a useful and easily programmable computer much more easily than at any time in the past.

Would we be in the same position of being able to buy a capable Linux computer for near-pocket-money prices had the Raspberry Pi not been released? Probably so, in fact certainly so. The hardware required to deliver these products has inevitably fallen into a more affordable price bracket, and we would certainly have plenty of boards at our fingertips. They would probably have Allwinner or maybe Mediatek processors rather than the Pi’s Broadcom part, but they would be very likely to deliver equivalent performance at a similar cost. Where the Raspberry Pi’s continued success has come from then has not necessarily been from its hardware but from its community and software. The reliability and ease of use delivered by the Raspbian Linux distribution that Just Works for the parent putting a Pi in front of their child, and the wealth of expert information on the Raspberry Pi forums to get them through any Pi-related troubles are what has given the Pi these sales figures. The boards themselves are almost incidental, almost any hardware paired with that level of background information would likely have met with similar success. Comparing the Pi software experience with for example one of their most capable competitors, it’s obvious that the software is what makes the difference.

It’s likely that Raspberry Pi sales will continue to climb, and in years to come we’ll no doubt be reporting on fresh milestones on ever more powerful revisions of their product. But it’s also likely that their competition will up their software game and their position in the hearts and minds of single board computer users might be usurped by a better offering. If this increased competition in the single board computer market delivers better boards with more for the hardware developer community, then we’re all for it.