The first Raspberry Pi build is a MAME machine

The Raspberry Pi was launched nearly a month ago, but these wonderful cheap single-board computers are still on their way from China to the workbenches of hackers and builders around the globe. Although they haven’t shipped yet, plenty of people are chomping at the bit to do something useful with the Raspi. [Nicholas] figured he should hit the ground running, so he emulated a Raspberry Pi to get everything ready for the MAME machine he’ll build when his new toy arrives.

[Nick] found a Raspi VirtualBox image on the official Raspberry Pi forums. After getting a web browser up and running with a few console keystrokes, he turned his attention to a MAME emulator. It’s a relatively simple install (although it did take six hours to compile), but we’re sure the Raspi will be featured in quite a few MAME builds so it was time well spent.

Sure, the Raspberry Pi you ordered a month ago is probably on a container ship in the middle of the ocean right now, but that doesn’t mean you can’t start planning your build. Just load up a VirtualBox image, check out a few of the tutorials, and you’re ready to go.

Android rolled into Linux kernel 3.3

The latest version of the Linux kernel was just released on Sunday, and there’s a little bonus which we think is worth considering. It seems that many changes from Android made their way into version 3.3 of the Linux kernel.

This may not sound like much, but it’s a great example of the power of open source. Since device specific changes based on the Linux kernel must be released under the same license, hardware manufactures are compelled to release their sources. But normally this would only help you if you have the expertise to slog through their code and find the parts that you need for whatever purpose you have in mind. But with these changes being rolled into the main kernel you should be able to run your own distributions on Android devices relatively easy; hardware support is already in there. Of course there’s still a lot of expertise that goes into cross-compiling an OS.

This may have the potential to open up old Android hardware as a development platform. Think of how Chumby hardware has been used in robotics projects. Now what if your old Bluetooth and WiFi enable cellphone had a stock kernel that was as easy and open to use in your own projects?

[Thanks Adam]

Twiddling an LED using the BeagleBone's embedded Linux

If you comfortable working with 8-bit microcontrollers, the thought of moving to a hardware platform running embedded Linux may be a bit daunting. After all, there’s a lot going on between you and the chips on a board like the BeagleBone seen above. But [Matt Richardson] shows how easy it can be to get at the pins on this device. He put together a primer on hardware control from the embedded shell.

You will remember that the BeagleBone is the newest generation of the BeagleBoard. The ARM processor and other goodies make it a powerful tool, and those already familiar with Linux will be able to get up and running in no time. Just connect the board to your network and SSH into it to get started. [Matt] outlines this setup process in the clip after the break. He then hits the reference manual to find the pinout of the female headers on either side of the board. Each available I/O pin is mapped to the /sys directory and can easily be controlled by echoing your commands to the appropriate files. But [Matt] went a step further than that, writing his own Python library that implements Arduino-style syntax like the digitalWrite() function.

This example should give you enough of a shove to start porting your own libraries over for use with the device. Don’t forget to document your projects and tip us off about them. [Read more…]

A simple touch interface for Music Player Daemon and more

mpd-controller

[Andrew] recently got the authorization to install Linux on his work PC, and he was looking for a way to control his music without relying on keyboard shortcuts to do so. Additionally, he wanted an unmistakable visual cue when he received messages in Pidgin, so he decided to build an external input/notification box.

The control box, quite literally, is a cardboard box in which [Andrew] crammed some components he got way back when from the crew at Seeed Studio. A Seeeduino serves as the brains of his control panel, interfacing with his PC over USB. He uses a set of 4 touch sensors and a potentiometer to control the MPD, allowing him to easily switch tracks, pause his music, control the volume, and lock his computer with a simple touch. A side-mounted RGB LED lights green to show that the system has received his commands successfully, pulsing a bright blue whenever a message arrives via Pidgin.

While the case isn’t exactly pretty, it is small, recycled, and takes up very little desk space. [Andrew] says that it works great, and he has made his code available on github if anyone is interested in using it.

Freedom Toaster dispenses FOSS… for free

The Seneca College Linux Club figured out a fantastic way to help promote Linux to a wider audience. They took some surplus hardware and made an Open Source software vending machine. That is and isn’t a play on words. The project itself is an open source project, and the goal is to dispense other open source software in the form of CDs and DVDs.

Their build page shares all of the details. They acquired an older server cabinet which was on the way out from the IT department. It’s more than large enough to fit a person inside, which is overkill but it makes it much less likely that someone will try to walk off with the thing. Inside you’ll find a computer, two monitors (one is a touch screen for consumer use, the other is just an extra hidden inside for maintenance.

You must bring your own blank CD-R or DVD-R (but the burning is free). You can see the DVD shelf at waist-level on the fully painted kiosk above. The only thing we think is missing here is a USB port for brewing up a bootable USB stick.

[Thanks MS3FGX]

Using the parallel port as a logic sniffer

[Fernando] wrote in to share his take on building a logic analyzer. He’s using the parallel port to capture data and feed it to the display software of your choice.

The method depends on a custom kernel which alters the way the parallel port works. The kernel he compiled includes a method of intercepting the signals coming in from the hardware, passing that data to the /dev/parport* as it should, but also sending a copy to /dev/parportsnif*. It also creates a log file which is in the OpenBench Logic Sniffer format for easy use with various display software.

Of course this is easiest to use with a Linux system, but can also be run as a virtual machine under Windows. We’d plan on using a virtual machine within Linux as well since this is a custom kernel and will probably only see occasional use.