Powering A RPi With Hydrogen

raspberryHy

Looking for a new way to power your Raspberry Pi? The raspberryHy project aims to develop a small fuel cell designed for powering the credit card sized computer. It adds a proton exchange membrane (PEM) fuel cell, a battery, and custom control electronics to the Pi.

The system takes hydrogen in from a compressed hydrogen cartridge and feeds it through a regulator. This passes the hydrogen into the PEM fuel cell at the correct pressure, and creates a potential. The control electronics boost that voltage up to the 5 V required on the Pi’s USB port. There’s also an electronically controlled purge valve which periodically exhausts the fuel cell.

There’s a few reasons you might want to run your Pi with hydrogen. Run time of the fuel cell is limited only by the amount of hydrogen you can store. In theory, you could connect a large cylinder for very long run times. Combined with a battery, this could be quite useful for running Pis in remote locations, or for long-term backup power. The raspberryHy will be presented at Hannover Fair 2014 this month.

Raspberry Pi UPS Using Supercapacitors

What happens when you want to integrate a Raspberry Pi into some kind of project that gets turned on and off with mains voltage? Do you power the Pi separately, or make a UPS for it?

[Lutz Lisseck] decided he wanted to turn his ambient-lamp (Rundbuntplasma) on and off with only the main power switch in his Hackerpsace. He could build a traditional UPS using a battery pack (it’s only 5V after all!) but decided to take it a step further. He picked up a pair of 50F supercapacitors. This way his UPS would last longer than his Pi would! The caps store just enough power that when the main supply is cut, a GPIO notices, tells the Pi, and it begins a shutdown sequence lasting about 30 seconds.

While [Lutz] is using two 2.7V supercapacitors, he mentions it would be a lot cheaper to use a step-up converter instead of putting them in series — but he had the caps on hand so decided to use both.

If you need it to last a bit longer, you could make one with rechargeable batteries…

WS2812b Ambilight Clone For The Raspi

For how often the Raspberry Pi is used as a media server, and how easy it is to connect a bunch of LEDs to the GPIO pins on the Pi, we’re surprised we haven’t seen something like Hyperion before. It uses the extremely common WS2812b individually controllable RGB LEDs to surround the wall behind your TV with the colors on the edges of the screen.

One of the big features of Hyperion is the huge number of LEDs it’s able to control; a 50 LED strip only eats up about 1.5% of the Pi’s CPU. It does this with a “Mini UART” implemented on the Pi running at 2MHz.

There’s only one additional component needed to run a gigantic strip of RGB LEDs with a Pi – an inverter of some sort made with an HCT-series logic chip. After that, you’ll only need to connect the power and enjoy a blinding display behind your TV or monitor.

Thanks [emuboy] for sending this one in.

 

Woodhouse Controls Your House, Avoids Danger Zone

woodhouse

[Pat] may not be the world’s most dangerous secret agent, but he does have Woodhouse taking care of his home. [Pat] has been upgrading his sonic screwdriver home automation system these past few months. Waking up to a chilly room led him to start hacking a thermostat interface. [Pat] found that his furnace only needed one 24VAC wire to be shorted to a common during a call for heat. [Pat] was lucky in that his thermostat was low voltage. While researching a thermostat hack, we made the painful discovery that our thermostat is 120VAC, so watch for that if you try this one at home.

[Pat] connected his thermostat leads to a relay controlled by a Raspberry Pi. The Pi would read a temperature sensor and set the relay accordingly. That was fine for a quick hack, but opening an SSH window to change the temperature isn’t the most convenient thing in the world. Enter an old Asus Transformer Prime tablet. [Pat] coded up an Android Holo style interface using AJAX along with HTML/CSS/jQuery and PHP. OpenMic+ constantly listens for voice commands, and fires them off to Tasker tasks as needed. He calls the results Woodhouse, and the interface is very slick. The tablet controls and graphs temperature, [Pat’s] media center, and his lights. Woodhouse is even [Pat’s] right hand man when getting ready for those intimate moments. We can’t wait to see what [Pat] comes up with next.

Continue reading “Woodhouse Controls Your House, Avoids Danger Zone”

Raspberry Pi GPU Goes Open Source! $10,000 Bounty For Quake 3

raspberrypi_logo

One of the thorns in the side of the Raspberry Pi crowd has been the closed source GPU. Today that all changes. [Eben Upton] reports that Broadcom is opening the source to the VideoCore® IV 3D graphics subsystem. In Broadcom’s own words:

The VideoCore driver stack, which includes a complete standards-compliant compiler for the OpenGL® ES Shading Language, is provided under a 3-clause BSD license; the source release is accompanied by complete register-level documentation for the graphics engine

Full documentation is available on Broadcom’s support site. To celebrate this, The Raspberry Pi Foundation is offering $10,000 to the first person to run Quake III at a playable frame rate on Raspberry Pi with open source drivers. The competition is worldwide. Full rules available here.

This release doesn’t cover everything, as there are still parts of the Pi’s BCM2835 which are hiding behind the blob files. However, it is a very big step for open source. Congrats to the Raspberry Pi Team, and good luck to all the entrants.

Wireless AC Control With The Raspberry Pi

We’ve seen some of [Connor]’s work before, and it looks like he’s now turning to product design. He’s come up with an adapter for the Raspberry Pi to control a few wireless wall socket relays, allowing anyone with a Pi to control lights, coffee makers, TVs, and anything else that falls under the very broad home automation banner.

The system uses a 315MHz radio breakout board for a Raspberry Pi to control the relays in one of three wall socket adapters. There’s a script running on the Pi with a very nice GUI to turn the lights on and off.

[Connor]’s product is extremely similar to a certain WiFi-enabled wall-plug relay system controlled by a smartphone, and to that end, he’s decided to call his device the Belchin’ Emo Switch. The name might need work, but he’s selling three Raspberry Pi-controlled wall plugs for the same price of one wall plug from Brand A.

Below you’ll find [Connor]’s videos for his device. You can also check out this reddit thread where he shows off just how open source he can be; there are part suppliers and even how he’s packaging this system for shipment.

Continue reading “Wireless AC Control With The Raspberry Pi”

Vintage DACs And A Raspberry Pi

DAC

Before the days of iPod docks in every conceivable piece of audio equipment, most devices were actually built very well. Most shelf top equipment usually came with well designed circuits using quality components, and late 90s CD players were no exception. [Mariosis] heard of some very nice DACs found in some of these units and decided to take one out for a spin. He’s using a Raspberry Pi to play audio with the DAC found in a late 90s Kenwood CD player.

After fortune favored a CD player with a dead drive on [Mariosis]’ workbench, he dug up the service manual and found some interesting chips – a PCM56 DAC, a little bit of logic, and an SM5807 oversampling chip that does all the conversion for the DAC.

This oversampling chip uses an I2S – not I2C – bus to carry the data from the CD to the DAC. There is, of course, an I2S driver for the Raspi, but the first attempts at playing audio didn’t result in anything. It turned out there was a problem with what the oversampler expected – the ‘standard’ I2S signal delays the data one tick behind the LRCLK signal.

There are two ways to fix this problem: programming a kernel driver, or building some custom logic to fix the problem. Obviously breaking out some flip-flops and NOR gates was the cooler option, giving [Mariosis] a great sounding stereo with a vintage DAC.