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”

Chair Dances Like No One Is Watching

Although it might be more accurate to say that this chair dances because no one is watching, the result is still a clever project that [Igor], a maker-in-residence at the National Museum of Decorative Arts and Design in Norway, created recently. Blurring the lines between art, hack, and the ghosts from Super Mario, this chair uses an impressive array of features to “dance”, but only if no one is looking at it.

In order to get the chair to appear to dance, [Igor] added servo motors in all four legs to allow them to bend. A small non-moving dowel was placed on the inside of the leg to keep the chair from falling over during all of the action. It’s small enough that it’s not immediately noticeable from a distance, which helps maintain the illusion of a dancing chair.

From there, a Raspberry Pi 3 serves as the control center for the chair. It’s programmed in Python and runs OpenCV for face detection and uses pigpio for controlling the leg servos. There’s also a web interface for watching the camera’s output and viewing its facial recognition abilities. The web interface also allows a user to debug the program. [Igor]’s chair can process up to 3 frames per second at 800×600 pixels.

Be sure to check out the video after the break to see the chair in action. It’s an interesting piece of art, and if those dowels can support the weight of a person it would be a great addition to any home as well. If it’s not enough chair for you, though, there are some other more dangerous options out there.

Continue reading “Chair Dances Like No One Is Watching”

Possible Fire Hazard: Wanhao Duplicator i3 3D Printer

A while ago Wanhao was reaching out to its customers and resellers, warning them of a design flaw in their Duplicator i3 that may cause fires. The printers suffered from an issue that caused crimp connections of the nozzle heater cartridge’s supply line to fail due to the mechanical stress in the cable drag chain. In their “Recall” titled note, Wanhao provides instructions on how to fix the issue.

Now, [Chuck Hellebuyck] released an unboxing video on the Duplicator i3 Plus, during which the heated bed emitted magic smoke that could be rationally explained as another design flaw.

Continue reading “Possible Fire Hazard: Wanhao Duplicator i3 3D Printer”

[Geohot] Selling His “Self-Driving” Car Tech for $1k by New Year

This week [Geohot] announced the launch of his self-driving car hardware. This is the natural extension of his proof-of-concept shown off in December which he parlayed into a Silicon Valley startup called comma.ai. [Geohot], whose real name is [George Hotz], is well known for jailbreaking the iPhone and making Sony look like idiots when they retroactively crippled Linux support on PS3. He has hardware chops.

Initial self-driving add-on hardware only works with Honda and Acura models that already have lane-keeping assist features because those vehicles already have built-in front radar. The package, which replaces the rear view mirror, adds a front facing camera. Those lucky (or brave, foolish, daring?) beta users can trade $999 and $24/month for what is currently a green 3D printed enclosure with some smartphone-like hardware inserted.

The company has taken an interesting approach to acquiring data needed for this particular flavor of self-driving. [Hotz] is teasing a chance at beta test invites to those who contribute driving data to the company. This is as simple as downloading an app to your phone and letting it roll from your windshield as you go bumper to bumper from Mountain View to San Francisco. That’s right, the plan is to support just that stretch of the nation’s highway system — although [Hotz] did make a brazen estimate of 90% of commutes for 90% of users within a year. Hey, it’s a startup so it’s either that, selling to a bigger fish, or closing their doors.

That narrow route support is actually an interesting constraint. In fact, the company is most interesting because of its chosen constraints: a small subset of cars, a chosen stretch of highway, and dare we say sanity when it comes to self-driving expectations. Grandiose claims have the general public thinking a vehicle with no human driver will slide up to your stoop and take you anywhere you want to go. That is a dauntingly difficult engineering challenge (dare we say impossible). What [Hotz] is selling is a more stress-free commute, not a nap in the back seat. You still need to be paying attention at all times.

Will this system work? Undoubtedly the engineering is possible (Tesla is already doing it). The biggest question mark that remains is human nature. This system demands your attention even though you’re doing nothing. That seems unrealistic — users are bound to lapse in attention much more frequently than if they were the primary driver. The question then becomes, will people pay attention at the very rare yet very crucial moments, and can a system like this prevent more fatal accidents than it causes?

[via Engadget]

Ask Hackaday: Are Gaming PCs Hard to Build?

No. No they’re not. But let’s talk about it anyway.

The endless trenches of digital worlds are filled with hardcore gamers from all walks of life. They can be found exploring post-apocalyptic Boston in Fallout 4, and commanding Sgt. Recker through a war-torn landscape in Battlefield 4 for hours on end. Their portal into these vast digital worlds come via some sort of computer system.

What type of computer system used is a point of contention between many gamers, and is typically divided between console versus PC. I will not dare to drag you into the captious arguments between the two, but instead we will focus on something that has something in common with our world — how does a previously non-technical console enthusiast cross over and build a gaming PC?

Many hackers have built computers from scratch and [Adam Fabio] just covered a bunch of custom laptop builds this morning. People with such skills can easily build a high-end gaming PC. But what about people without such skills? Can a console gamer with no technical background build a high-end PC gaming system?

Inspiration for this article came after reading something [Emanuel Maiberg] published over the summer on Motherboard. Why someone writing for a publication called Motherboard would have trouble building a gaming rig is beyond me. Certainly I think his starting assumptions are questionable. He asserts that you need an unreasonable amount of time and money to attempt one of these projects. But gaming rigs can be purchased fully-assembled — those that build them are doing it out of passion.

The question is this:  How far should engineers go to make a technical product easier to use for a non-technical person?  If I order an engine for a hot rod, it can be assumed that I know to hook up the gas line without specifically being told to do so. After all, a person who’s going to put an engine in a hot rod probably knows a thing or two about engines.

I think that building a desktop PC has never been easier. We’ve now had 30 years of evolution to help weed out the “slow learners” when it comes to manufacturers. The Internet is a lot easier to use for answers than it used to be, and we have faster means of connecting with communities of experts than ever before.

That said, the neighborhood computer store is beginning to go the way of the dodo. There is an entire generation of “mobile-first” users who will give you a blank stare if you start talking about “desktop computing”. And familiarity with the fact that computer customization is even possible is beginning to fade; if all you’ve ever used are tablets and smartphones “upgrade” and “customization” are software terms, not hardware possibilities.

So we turn it over to you. Are gaming PCs hard to build? Have engineering practices and design choices made it easier than it used to be to get into it? What do you think is happening with the average skill level for working with computers now compared to when you had to open the case to add a modem to your machine? Let us know what you think in the comments below.

Portable Workbench Crams An Entire Workspace Into One Box

Making on the go is sometimes required in today’s busy lives, and if you find yourself traveling — say, off to university like [ZSNRA] — then a convenient solution is required. To that end, a portable electronics workbench was built in the shape of a relatively nondescript plywood box.

Plywood and foam-core are the main materials used in building this maker’s bug-out box, with two fir runners along the bottom so the case is not resting on the hinges. Inside, [ZSNRA] has packed a staggering amount of hardware which results in an 11kg suitcase.

Power StackHere goes — deep breath now: wires, solder, resistors, transistors, capacitors, diodes, clips, switches, logic chips, non-logic chips, an Arduino, ATmegas, fuses, pliers, wire strippers and cutters, angle cutters, tweezers, a 66-piece screwdriver set, a desoldering pump, 12 needle files, a hacksaw blade, a multi meter, oscilloscope, power source, four outlets built into the case(!), steel wool, a third hand, a soldering station, two handbooks, and a breadboard.



The work surface is an ESD mat on the inside of the case’s front face that is comfortable enough to work with, though we are surprised that it doesn’t also fold out somehow to create an even larger work-space.

For an elegant — if slightly less mobile — workbench solution, check out The Tempel. Now if you’re looking for ideas on how and what to carry we still think [Kenji Larsen] has the ultimate hacking kit.

[Thanks for the tip, Zaphod! via /r/electronics]

Hacklet 125 – DIY Laptops

In the old days of the 1970’s, the only way to get your own computer was to build one from scratch. Thanks to an army of hackers like [Woz], PC’s are no commodity objects that can be bought for a couple of hundred dollars. The magic of building your own still is there though – especially when we’re talking about portable machines. Laptops, notebooks, netbooks take quite a bit of skill to assemble. Stuffing a keyboard, screen, and battery into a small clamshell case takes a bit of planning. Our last look at DIY laptops was exactly 100 Hacklets ago, so it’s time for a refresh. This week we’re checking out some of the best DIY laptops and portable computers on Hackaday.io!

piberryWe start with [Sahas Dinesh Chitlange] and Pi-Berry Laptop. [Sahas] found just the right mix of simple and elegant with this build. A Raspberry Pi 2 is the brains of the operation. The Pi sits in a case built from a mix of MDF and regular wood. The display is a 10.1″ HDMI LCD. The keyboard was pulled from a tablet case. Power was easy — a USB power bank provides enough for 4-5 hours of runtime. [Sahas] covered his laptop in Italian leather for a polished look. He planned out his parts layout well enough that the power-hungry Pi stays cool without a fan.

pivenaNext up is [Tim] with PIvena. [Tim] took his inspriation from [Bunnie Huang’s] Novena open laptop. Rather than roll his own ARM board, [Tim] went with a Raspberry Pi. His original design was for the Raspberry Pi model B. Last time we looked at PIvena, the model B+ was still pretty new. As we hoped, [Tim] modified his design to accept the new Pi layouts. This means it will physically work with the B+, Pi 2, and Pi 3 boards. [Tim] didn’t stop there though. He also upgraded from an 800 x 480 LCD to an 1200 x 800 LCD. He managed to do that while keeping the same bolt pattern on the travel cover. Nice work [Tim]!

elloNext we have [KnivD] with ELLO 2M. The most striking thing about ELLO 2M is the construction. The entire laptop is made from 6 PCBs which sandwich all the other parts. The keyboard is PCB material with keys routed out. The processor is a Microchip PIC32MX470-120. Software is loaded from one of 3 microSD cards. The 7 inch touchscreen LCD and 4500 mAh LiPo battery are nestled in between PCB layers. A true hacker, [KnivD] included a generous pin grid for debugging add-on circuits. The whole setup looks great with white silkscreen. As [Mark Sherman] mentioned in the comments, this machine reminds us of a modern-day TRS-80 Model 100.

pipdaFinally we have [pdrift86] with Mini rpi2 laptop. Palmtop might be a better name for this. [pdrift86] took his inspiration (and his keyboard) from the old HP Jornada Personal Digital Assistant (PDA). The housing is Masonite, cut from a clipboard. A Raspberry Pi 2 hides inside, along with a 4 cell 18650 Li-Ion battery. The screen is a 5″ LCD with a composite input. The display isn’t a touchscreen, so a Playstation Portable analog stick is on-board, and will eventually be connected for mouse control. [pdrift86] even managed to sneak the Pi camera on the back of his machine, so it can take pictures cellphone style.

If you want to see more DIY laptop projects, check out our new DIY Laptops notebooks, and portables list. Notice a project I might have missed? Don’t be shy, just drop me a message on Hackaday.io. That’s it for this week’s Hacklet, As always, see you next week. Same hack time, same hack channel, bringing you the best of Hackaday.io!