RPi Video With Pygame

Adafruit has a new tutorial on creating video with an RPi and pygame. The goal is to create custom user interfaces on low cost hardware, powered by the easy to use pygame library. The tutorial walks through getting your RPi set up to run pygame, creating a basic pygame script that controls the framebuffer, and drawing an oscilloscope display on the screen.

This tutorial uses Adafruit’s WebIDE as a development environment. This is an excellent solution for working on video display, since you can develop the code on a networked computer and view the shell while running your graphical application. This is very useful for debugging, since you can just print information to your WebIDE console.

There’s a lot of potential for this setup. It would be ideal for creating any kiosk application. Maybe an announcement display, interactive kiosk, or even a programmable logic controller type user interface? What else could you build with a RPi attached to a LCD touchscreen?

Check out a video of Adafruit’s display in action after the break.

Continue reading “RPi Video With Pygame”

SNES Emulator Has It’s Slot Sealed Shut

If you look closely you’ll notice there’s nowhere to put the game cartridge on this Super Nintendo system. That’s because this is a Rasberry Pi based SNES emulator that plays ROMs, not cartridges. Since the RPi board is used the only limit to what you can play is the board’s RAM and which ROMs you have on the SD card.

The case has basically been gutted and the unused cartridge slot was sealed with some Bondo before painting. In addition to the Rasberry Pi you’ll find a 7-port powered USB hub and a Teensy microcontroller board. The hub allows for the controllers to be connected via USB. The Teensy is recognized as a USB HID device and is used to connect the reset button to a functions on the emulator program. The power switch still works too. To make this happen [MIDItheKID] spliced a USB connector and a microB USB connector to the power switch. We think this draws power from the hub but we’re not 100% sure.

[MIDItheKID] mentions in the Reddit comments that he’s thinking of grabbing that new RPi that has more memory and doing some similar work on his dead PSX.

APRS IGate Built Using A Raspberry Pi

The hardware seen above is used to bridge a local RF radio network to the APRS-IS network. The APRS-IS is an Internet Service that uses a web connection to communicate between APRS networks in different parts of the world. The Raspberry Pi is perfect for this application because of its ability to connect to a network, and its native use of Linux.

On the software side the majority of the work is done by a Python script. It is responsible for setting up and monitoring a connection with an APRS-IS server. To connect to the handheld radio unit a USB sound card was used. The Multimon package is used to send and receive audio packets through this hardware.

[Sunny] has a few upgrades planned for the system. The device needs to report its location to the APRS-IS server and the plan is to add functionality that will look of the WiFi AP’s location automatically. It may also be possible to get rid of the radio all together and use a DVB dongle as a software defined radio.

Building A Raspi Case In True Hackaday Fashion

[Ben] needed a case for his Raspberry Pi. Instead of going the usual laser-cut plastic or 3D printed route, he took a path far more familiar to us here at Hackaday. His case is built out of aluminum found in his basement, providing a neat reuse for some old aluminum extrusion he had lying around.

Part one of [Ben]’s thoroughly documented build goes over the process of acquiring some of this very handy aluminum extrusion. Part two covers a very neat feature of [Ben]’s scrap of aluminum: because of a pair of internal chamfers, [Ben] was able to mount his Raspi and USB hub to a separate piece of PVC and slide the whole assembly in.

The final assembly included dremeling a piece of aluminum plate for the Raspi and USB hub ports and wiring the whole thing together.

Right now the newly enclosed Raspi is working happily as [Ben]’s home server. Not exactly the use case a rugged aluminum case would see the best use from, but it looks great all the same.

Hacking Beer Cans For Fun And Publicity

beer-keyboard

Although beer is generally a good way to get people to come to your trade show booth, [Robofun.ru] decided to put a new spin on things. Instead of (or possibly in addition to) giving out beer, they decided to turn 40 Staropramen beer cans into a keyboard.

This was done using an Arduino hooked up to four Sparkfun MPR121 Capacitive Touch Sensor Breakout Boards, allowing them to act as keys. These inputs are translated via the Arduino into a standard output (we assume USB) that can be plugged into any computer.  Additionally, a Sparkfun MP3 trigger board was used to control the sound effects.  Rounding out the build, a Raspberry Pi computer was used to run the human machine interface, a large plasma display.

Be sure to check out this keyboard in action after the break. If this isn’t enough alternative input fun, why not check our post about how to make a banana piano and giant NES controller. Continue reading “Hacking Beer Cans For Fun And Publicity”

Android Debug Bridge Released For The Raspi

Over on the XDA developers forums, something really cool is happening. Android hacker extraordinaire [AdamOutler] has managed to port the Android Debug Bridge to the Raspberry Pi.

The Android Debug bridge allows hardware tinkerers full access to their Android device. This feature has been used to build everything from telepresence robots to connecting a MIDI keyboard to a phone. With this port of the Android Debug Bridge, anyone can take advantage of the existing hacks and hardware written around the ADB to build something completely new.

Of course, the port of the Android Debug Bridge is only useful if your Raspi is running Android. Current Android builds for the Raspberry Pi are janky at best, but the current rate of progress does look encouraging. Hopefully with the most useful Android tool ported to everyone’s favorite credit-card sized computer, the progress of the Raspi/Android builds will pick up their pace.

Raspis With Double The RAM In The Wild

There is buzz all over the reddits and Element 14 discussion boards about an updated version of the Raspberry Pi that bumps the amount of RAM from 256 MB to 512 MB.

This new update comes after the announcement of an upgraded version of the yet-to-be-released Raspi Model A (from 128 MB of RAM to 256 MB), and a few slight modifications to the Model B that include fixing a few hardware bugs (nothing serious) and adding mounting holes.

After perusing the Element 14 and Raspberry Pi discussion boards, a few things become apparent. Firstly, it appears this new upgrade to double the amount of RAM was initiated by manufacturers. It seems 512 MB RAM chips are cheap enough now to include in the Raspi without impacting the cost of components. Secondly, 512 MB seems to be the upper limit for the Raspberry Pi, at least for this iteration of hardware. Not enough address lines, they say, but you’re welcome to try and hack your own RAM to a Raspi CPU.

So far, attentive Raspi enthusiasts have found Raspberry Pis with double the amount of RAM on the UK Farnell site and the Australian Element 14 site. Nothing so far on the US Element 14 site, although we’ll gladly update this post when a Hackaday reader finds the relevant link.

EDIT: Here’s the link for the US version of Newark. No, there aren’t any in stock. Also, Hackaday beat the official Farnell/Element 14/Newark press release and the Raspberry Pi blog to the punch. Woo, go us.