Bit Banging VGA From An SD Card Slot

If you’ve got some favorite electronic device that includes an SD card slot but doesn’t have a video out port you may be able to push VGA signals through the card reader conductors. That’s exactly what’s going on above with the Ben NanoNote, a sub-$100 Linux device which we’ve seen using its SD card slot as general I/O before.

The hardware to capture the signals includes a breakout board for the card slot. Free-formed on the other end of that connector card is a gaggle of resistor which handle level conversion for the VGA color signals, with a VGA cable taking it from there to the monitor. The software that makes this happen is a dirty hack, blocking all other functions while it displays a still image. But we’re sure that it can be cleaned up somewhat. Just don’t hold out hopes for full-motion video, this little guy just doesn’t have it in him.

[via Dangerous Prototypes via Slashdot]

Gitbrew Brings OtherOS Back To The PS3

otheros

Instead of simply watching the days pass by while the PSN network continues to be unavailable, why not do something useful with your PS3 console? [MS3FGX] wrote in to share some news regarding efforts to bring the OtherOS option back to the PS3.

The team at gitbrew.org have been diligently working to bring Linux back to the console for a little while now, and have released a dual-boot firmware they are calling OtherOS++. This firmware has two huge benefits over Sony’s original attempt at Linux support for the console. It can be run on the original “fat” PS3s as well as the newer “slim” models – something that was not possible until now. Additionally, it gives the Linux install full access to the PS3’s hardware rather than running the OS inside a virtual machine.

The project is relatively new, so the installation procedures and associated documentation are not suitable for the less experienced individuals out there, so consider yourself warned.

We love that there are people doing all they can to bring this awesome feature back to the PS3 – it’s a huge step in the right direction.

[Image via gitbrew]

Writing Python Drivers For Input Devices

[Stealth] put together a post explaining how he writes drivers for input peripherals. He’s using Python which makes the process fairly painless (we’ll get to that in a minute) but the value of his post is in the explanation surrounding how to interpret the data. Once you know how the communications are coming in from a device you can write the driver using any language you want. [Stealth] wrote in to let us know about this post after reading the PlayStation 3 Sixaxis controller sniffing hack. He’s pretty much doing the same thing but the background information is much more bountiful.

There are a couple of prerequisites to the process. First, [Stealth] is working in a Linux environment. That’s not to say you couldn’t do this on another OS, but you’re going to need to do some research to find out how to tap into the data stream from the device. Secondly, the input you are working with must already be set up and working on the machine. That means if there isn’t any support at all for the peripheral (in this case a USB joystick) you’re not going to be able to sniff the commands. That being said, a short Python snippet is all you need to dump the raw data coming in from the device. With data in hand it’s time to do some pattern hunting. As you start to figure out the size and scope of the incoming packets you can try out your own code to make sure you’ve got it right. Check out the demo video after the break which features a joystick button mapper written in Python.

Continue reading “Writing Python Drivers For Input Devices”

The Basics Of Controlling An Arduino With PHP

You can easily add Internet-based control for your Arduino if it is close enough to your server to be connected via USB. This tutorial will give the basics you need to get it working.

The gist of this method involves a webpage that includes PHP elements. When one of those elements is manipulated, a command is sent via serial connection to the Arduino which then reacts based on what it received. This example uses an Ubuntu box that is running an Apache server. The Arduino sketch sets up the serial connection and then listens for incoming traffic. Whenever it receives a non-zero character an LED will blink. On the server side of things you’ll need to make sure that the system user that runs Apache (www-data) has permission to write to a serial port.

This base example may seem extremely simple, but there’s no end to what you can build on top of it. Different PHP events can be added to push new commands over the serial connection with matching test conditions added to the sketch.

[Thanks Jarryd]

Recover Acer Aspire One From “failed To Initialize HAL” Error

The Acer Aspire One is a netbook that often ships with a Linux OS preinstalled. This is great for fans of open source as market share is calculated based on units shipped, not what users install after they buy the hardware. Unfortunately there is a pretty major flaw that can cause a “failed to initialize HAL” error as seen above. [Michael Crummy] came up with a set of steps you can use to recover from this error.

So what is this error? HAL stands for Hardware Abstraction Layer and it’s what allows one user interface to communicate with many different types of hardware. If you’re the proud owner of an Aspire One and are struck with this error you will suddenly find that you can no longer use the USB ports, card readers, wired or wireless network connectors, or the sound card. So you can’t connect to the Internet, and you can’t get any files on or off of the device using the currently installed operating system. For an OS that [Neal Stephenson] once described as “like the M1 tanks of the U.S. Army, made of space-age materials and jammed with sophisticated technology” this is a very big problem.

We know what you’re thinking… boot into a live session on a thumb drive and get what you need from the hard disk. Well that’s all fine and dandy, but you shouldn’t ever be forced to clean install Linux to fix a problem. So check out [Michael’s] method and make sure you turn off the Acer live update server which was mostly likely the cause of the problem in the first place.

Earthquake Alert System

 

[Roteno’s] submission for the 555 timer design contest is an Internet connected earthquake alert system. It monitors the USGS website for earthquake data and plays a tune when an earthquake occurs. The data is available as a feed in the form of a TXT file which is pretty easy to parse using cURL. He chose an LPCXpresso board (which is an ARM development platform that can run a Linux kernel) along with an XPORT module to handle the Ethernet traffic.

So where does the 555 timer see some action? It is responsible for playing the tone when an earthquake is detected. But playing just one pitch isn’t much fun. Instead, [Roteno] built the circuit above which creates a resistor network switched by a series of transistors. This way he can use GPIO from the microcontroller to choose different pitches. Check out the video after the break to hear the results. At power-up all eight pitches are played as a test, and the alert sound varies in pitch and tempo based on the magnitude of the earthquake.

Continue reading “Earthquake Alert System”

Walking Motion Analysis Using Wii Remotes

WiiGait is not a political scandal, it’s a project that records motion data while walking. [Bilal Chishti] and [Zassa Kavuma] are strapping a Wii remote onto each leg and recording the sensor data while making video of the walker at the same time. The two are using an Ubuntu box to pull the sensor data from the Bluetooth-enabled devices and utilizing its built-in webcam for the video. They graph the data for each axis and we’re sure that syncing up data anomalies with the video is just a matter of matching timestamps.

So what good is this? The creators are keeping us in the dark about an end-goal for collected data; this may just be for the experience of using the hardware. But we could see it having uses in making distance runners more efficient, or teaching that bipedal robot how to balance.

Continue reading “Walking Motion Analysis Using Wii Remotes”