Use Ruby To Make Any Window A Blinken Window

[Akhil Stanislavose] wanted to spice up his window decorations for the holidays. Inspired by blinkenlights, he decided to make his front window interactive. The Blinken Window is a grid of 6 x 10 programmable LEDs running on a Raspberry Pi. Since a RasPi doesn’t have enough GPIO pins for 60 LEDs, [Akhil] built an expander board using 8 daisy chained standard CD4094 (74HC595 could also be used) shift registers to accommodate them.

[Akhil] designed a PCB to replace the expander board for future use. It is modular in nature so that many of them can be connected together to provide as many outputs as one needs, allowing any size window to become a Blinken Window. The PCBs are still being fabricated, but the Eagle files are available for download (zip file). Ruby was used to implement the API. You can find the project files on GitHub, which also features a simulator that you can run on your computer to see how an animation or game will end up looking on the window. In the demo video, [Akhil] demonstrates how you can use the Blinken Window to play a version of Pong using your smartphone as the controller. [Akhil] has also provided a few basic animation examples that can be expanded upon. We’d enjoy seeing an implementation of Tetris. There’s so many fun ways to turn regular windows into dynamic displays, we’re starting to look scornfully at our own lazy, air leaking windows.

See the Blinken Window in action after the break.

Continue reading “Use Ruby To Make Any Window A Blinken Window”

White Oyster Mushroom

Automated Mushroom Cultivation

Lots of people have developed their own systems for automating the growth of plants. Keeping the environment under tight control leads to better yield, and computers are better than humans at remembering to water the plants regularly. [Kyle] is into growing mushrooms (the legal, edible type) and automating things. This led to his system for automated mushroom cultivation.

We’ve seen an automated system for growing fungi before, but [Kyle]’s project is a bit bigger. He’s built a sealed room for growing mushrooms. The room is sealed with a plastic sheet, using magnetic strips to create a doorway. Within the room, a heater, humidifier, and circulation fan control the environment. Temperature, humidity, and dew point in the chamber are constantly monitored and adjusted as necessary.

The entire system is controlled with a Raspberry Pi and custom software, which is available on Github. GNUPlot is used to generate graphs, which are accessible through a web server. The web interface also allows the parameters of the chamber to be tweaked remotely. Based on the settings, the Raspberry Pi controls a set of relays to keep the chamber in an ideal state.

Photonic Reset Of The Raspberry Pi 2

For the past month, the Raspberry Pi 2 has only been available to the Raspi Foundation, and for about 2 weeks, select members of the media who have worn the Raspi 2 on a necklace like [Flavor Flav] wears a clock. That’s not many people with real, working hardware and when a product is released, the great unwashed masses will find some really, really weird bugs. The first one to crop up is a light-sensitive reset of the Raspberry Pi 2.

[PeterO] on the Raspberry Pi forums took a few pictures – with flash – of a running Raspberry Pi 2. It took a little bit of deduction to realize that a camera flash will either reset or turn the Raspi 2 off. Yes, this is weird, and experiments are ongoing.

A short video from [Mike Redrobe] confirms the finding and a reddit thread offers an explanation. U16, a small chip located in the power supply part of the Raspi 2, is sensitive to light. Putting enough photons will cause the Pi to shut down or restart.

There’s still some research to be done, however, I can confirm a cheap green laser pointer will reset a Raspberry Pi 2 when the beam is directed at the U16 chip. This is the chip that is responsible, and this is not an EMP issue. This is a photon/light issue with the U16 chip. The solution to this bug is to either keep it in a case, or put a tiny amount of electrical tape over the chip.

Thanks [Arko] for staying up until an ungodly hour and sending this to me.

A Raspberry Pi SID Player

Of all the vintage chiptune machines out there, the Commodore 64 is the most famous. Even 30 years later, there are still massive gatherings dedicated to eeking out the last cycle of processing power and graphics capability from the CPU and the infamous synth-on-a-chip, the SID. [Bob] wanted to build a SID jukebox. A C64 is capable of the job, but if you want to have every SID composition on an SD card and connect that to a network, a Raspberry Pi is the way to go.

The SID chip, in its 6581 or 8580 versions, is controlled directly by poking registers on the chip through the address and data busses. This means a lot of pins, too many for the original Raspi expansion header. That’s not a problem that can’t be solved with a few shift registers, though. The rest of the circuit is an LM386 audio amplifier, an LCD that displays the current song, and a can crystal oscillator for the SID.

Right now everything is wired up on a breadboard, but making this a Raspberry Pi hat would be a rather simple proposition. It’s only a matter of finding a SID with working filters, and if you can manage that, it’s a pretty easy build to replicate. Video below.

Continue reading “A Raspberry Pi SID Player”

Hacklet 33 – Minecraft Projects

Minecraft hit the PC gaming scene as an alpha release on May 17, 2009. Something about the open world, the crafting system, and the various modes of gameplay made it an instant hit. Since then Minecraft become one of the best selling video games of all time, inspiring thousands of hacks, mods, and projects. This week’s Hacklet highlights some of the best Minecraft projects on Hackaday.io!

clawWe start with [Toulon] and his MineCraft Sidecar Keypad. The Mystify Claw was originally designed as an alternative input device for First Person Shooter (FPS) games. It may look like a mouse, but the claw has no balls or lasers. It provides a 10 button “cradle” for the left hand. Some folks liked the claw, but for many it quickly became a dust collector. [Toulon] resurrected this old input device as an awesome Minecraft controller. He started by yanking all the old electronics, replacing the claw’s brain with the Teensy 2.0, a favorite of keyboard hackers everywhere. New buttons and a slew of new Teensy code made things perfect for mining.

rappiNext up is [Thomas] and his Raspberry Minecraft Server. The Raspberry Pi has long been a hacking platform for Minecraft. The official Raspberry Pi edition of Minecraft is easy to get running, and great for hours of fun. You can also run a Minecraft server on the Pi, which is exactly what [Thomas] is doing. He’s set his Raspberry Pi up with a WiFi dongle and a battery pack. With a bit of configuration, this allows the Pi to become the center of a wireless Lan party. On batteries, the Pi will run for about five hours of continuous gaming. Details for [Thomas’] project are a bit light right now, but that’s only because he just literally started documenting and uploading his project as we’re going to press. Give him a few days and he’ll have everything filled in!

gppk[GPPK] brings a bit of Minecraft into the real world with Full Size Wireless Redstone Lamp. Inspired by smaller models of the Minecraft redstone lamp, [GPPK] decided to build a life-sized version. “Life-sized” in this case is about 1 cubic meter. That’s a BIG lamp! [GPPK] designed the shell of the lamp in Sketchup, and cut the sides out using a gantry style CNC machine. The structure will be held together with 3D printed connectors, while a Raspberry Pi will provide the brains. Turning the lamp on will be as simple as turning on a switch in-game in Minecraft. [GPPK] has been a bit slow lately with updates on the project. If you know [GPPK] let ’em know that we’re anxiously awaiting some info!

pipyFinally, we have [Simon] and Raspberry Pi Python Controller. One of the best ways to get kids hooked on hacking and electronics is to show them how simple circuits can lead to big changes. What better way to do that than wiring up a simple push button controller for Minecraft? [Simon] used an Arduino paired to a Raspberry Pi with a serial over USB connection. Buttons wired to the Arduino are sent through the serial link to the Pi, where a python script fires off actions based on the serial data. [Simon] has tested his script with Mincraft Pi Edition, and is happy to report back that it works great.

Do you know what’s missing from this Hacklet? Your Minecraft project! It’s not too late though – upload your info to Hackaday.io, and we might just add it to our brand new Minecraft Projects List!

Well, it’s just about quitting time here in the Hackaday Mine. As long as the creepers don’t get us, we’ll be back next week. Same hack time, same hack channel, bringing you the best of Hackaday.io!

Benchmarking The Raspberry Pi 2

The Raspberry Pi has only been available for a few days, but already those boards are heading through the post office and onto workbenches around the world. From the initial impressions, we already know this quad-core ARMv7 system boots in about half the time, but other than that, there aren’t many real benchmarks that compare the new Raspberry Pi 2 to the older Raspi 1 or other similar tiny Linux dev boards. This is the post that fixes that.

A word of warning, though: these are benchmarks, and benchmarks aren’t real-world use cases. However, we can glean a little bit of information about the true performance of the Raspberry Pi 2 with a few simple tools.

For these tests, I’ve used Roy Longbottom’s Raspberry Pi benchmarking tools, nbench, and a few custom tools to determine how fast both hardware versions of the Raspberry are in real-world use cases.

Continue reading “Benchmarking The Raspberry Pi 2”

Introducing The Raspberry Pi 2

TL;DR It’s called the Raspberry Pi 2 Model B. Quad core ARM Cortex A7 with one Gig of RAM. It’s the same form factor as the Raspberry Pi Model B+. Available now at Newark, Element 14, Allied, and RS Components. It’s the same price as the old one. You’re not a child and you should learn to read.


The original Raspberry Pi released, three years ago, was looking a bit long in the tooth when it was first launched. That’s to be expected for a computer that sells for $35 USD. Three years is a long time in the world of electronics, and the Pi is due for an update. It’s here, now, and the biggest change is a faster quad-core chip, a better processor architecture, and 1GB of RAM.

The Raspberry Pi 2 Model B features a quad-core ARM Cortex A7 running at 1GHz with 1GB of RAM. This chip uses the ARMv7 architecture instead of the ARMv6 of the original Raspi. When playing around with it, it was noticeably zippier than my months-old Raspi Model B in web browsing tasks. Very, very cool, and something that opens up a few doors for CPU-intensive applications.

Although the CPU has been updated, there isn’t much else on the Pi that has changed. USB and Ethernet is still handled by the LAN9514 USB/Ethernet controller. If you’re looking for Gigabit Ethernet, sorry that’s not going to happen. We’re not going to get eMMC Flash, SATA ports, or anything groundbreaking other than the CPU with this hardware update. It’s pretty much just a CPU and RAM upgrade.

All the original ports found on the Raspberry Pi Model B+ are found on the Raspi 2; HDMI, audio, analog video, Ethernet, USB, CSI, the as-for-now unused DSI, and GPIO ports haven’t changed. Again, we’re looking at a CPU and RAM upgrade with this hardware release.

Instead of the odd Package On Package CPU and RAM stack featured in previous Raspberry Pis, the RAM has now moved to the back on the Raspi 2:

raspiback

The RAM chip is an Elpida EDB8132B4PB-8D-F, an eight gigabit DDR2 RAM that has the same clock rate as the RAM in the original Raspi. Don’t look for an increase in memory performance or speed. Instead, just be glad there’s now a full gigabyte of RAM on the Raspi.

A few of you may remember the ‘upgrade’ all those Raspberry Pi early adopters missed out on. After the first few hundred thousand Raspberry Pi Model Bs shipped, someone realized they could upgrade the RAM from 256 MB to 512 MB. It is not yet known whether the Raspberry Pi 2 will be upgraded as easily. Sixteen gigabit RAMs do exist, but now that the CPU and RAM aren’t on the same package, there’s more to consider than just plopping down a new RAM chip.

Continue reading “Introducing The Raspberry Pi 2”