Raspberry Pi Becomes A Torrent Box

If you’re making a media server out of a Raspberry Pi, why not add an interface to the biggest torrent sites on the Internet? That’s what [Alan] did when he wanted an automated media downloader that can stream movies and TV shows to any device.

[Alan]’s torrent box is basically a web app running on a Raspberry Pi. By accessing the Pi from the browser of a desktop or mobile device, he can search a collection of torrent sites and download just about everything to the Pi with a touch of a button. Once the files are downloaded, the Pi is able to move them to any directory, either locally or on a network, or just serve them up on a TV with a media player.

While we’re not endorsing  file sharing, we can’t think of a simpler way to set up a seedbox that draws a minuscule amount of power. It’s a great addition to any media server, and a great way to get the latest season of <<Linux Distribution>> streaming to your TV.

Raspi-controlled RGB LED Strip Display

snake

[4RM4] over at the Stuttgart hackerspace Shackspace ran into a guy selling individually addressable RGB LED strips when he attended the 29th Chaos Communication Congress last December. He had a Raspberry Pi with him, and after a little bit of work he rigged up an LED display that wrapped around a trash can. A respectable hack, but not quite ready for prime time.

After getting back to the Shackspace, [4RM4] decided to go in a more classic direction by building an RGB Snake clone. A few neat features were implemented like a high score list, a free play bot, and a clock.

To control his pixel-munching snake, [4RM4] used a Wii Nunchuck controller hooked up to the Raspberry Pi’s GPIO pins. It looks like a whole lot of fun, and given the absurdly high scores shown in the video after the break, it looks like this build is getting a lot of use at the Shackspace.

Continue reading “Raspi-controlled RGB LED Strip Display”

Raspberry Pi Plays MIDI Without An Operating System

[youtube=http://www.youtube.com/watch?v=k6TCysv6AzE&w=580]

For all the interesting DSP functions locked away in the Raspberry Pi, it’s still hard to imagine using the Raspberry Pi as an eminently capable software synthesizer, tracker, or sequencer. Running any of the usual Linux digital audio programs means – surprise – running Linux, and the performance penalty associated with that.

It would be much better if all these audio programs could run directly on the Raspberry Pi without an operating system, and [Joe]’s project is right up that alley. He’s playing MIDI files without an operating system, in effect making the Raspberry Pi a very powerful embedded platform.

[Joe]’s build is the first bare metal audio code for the Raspberry Pi. It’s actually an LV2 plugin host that will load audio plugins, read MIDI files, and shoot the resulting audio out over the 1/8″ jack on the Pi.  This work wouldn’t have been possible without a few Raspberry Pi bare metal tutorials put together by [David Welch].

Hopefully this won’t be the last we’ll see of [Joe] and his code; the Raspberry Pi has more than enough horsepower to be an amazing sampler, synth, beat machine, or the next generation of Akai MPC. All we need are a few brave coders to take up coding bare metal on the Raspberry Pi.

Tired Of Playing The MacBook? Play The Raspberry Pi!

pithingy

Hit up any club, party, or get together where musicians are present and you’ll probably find a DJ booth stacked to the gills with faders, various MIDI devices, and a MacBook. However abundant an OS X-based DJ platform is, we haven’t heard hide nor hare of a Raspberry Pi being used as a sequencer, MIDI device, or MaxMSP box.

[James] over at Illuminated Sound put together a great tutorial for making all those cool electronic music devices play nice with a Raspberry Pi. He used a Novation Launchpad, an 8×8 MIDI controller that can act as faders, a keyboard, or even a functional equivalent to the pads on an MPC.

Hardware is nothing without software, so [James] used Puredata and libusb to turn the MIDI data into notes and audio effects.

[James] added a download that includes the Launchpad driver and a Puredata sketch to test everything out. You can see how it all fits together in the video after the break.

Continue reading “Tired Of Playing The MacBook? Play The Raspberry Pi!”

Raspberry Pi And R

R

[Stephen] picked up a Raspberry Pi to do a little hardware hacking and add a blinking LED to the many feathers in his software development hat. He picked up an analog to digital converter and a temperature sensor that would serve him well in a few projects he wanted to put together, including a weather station and a small Pi-controlled home brewing setup. He ended up not liking Python, and didn’t like the C-ness of wiringPi. He’s a scientist, so he’s most comfortable with R and Matlab. Of course, playing around with a R and a Raspberry Pi means replicating his sensor-reading code in R.

[Stephen] put together a neat little package that will allow him to read his sensors over an SPI bus with his Raspberry Pi. Yes, this functionality can easily be duplicated with Python, but if you’re looking to generate beautiful graphs, or just do a whole lot of statistics on something, R is the tool you need.

It’s a cool project, even if it is only measuring the temperature. Using R for the nerd cred isn’t bad, either.

Raspi Astrophotography Board Also Does Everything Else

FPGA

A few years ago the folks at Astro Designs put together a board that took off-the-shelf CCD sensors from point and shoot cameras and turned them into respectable astrophotography sensors. Since then, the world has seen an explosion of Raspberry Pis, Arduinos, and other microcontroller platforms, making this the perfect time for a hardware revision.

Their PiXi-200, like their previous AstroCam board, is able to take image sensors out of cameras and turn them into telescope mounted cameras. That’s only one of its tricks, though: The PiXi-200 also has accelerometers, gyroscopes, enough UARTs to do just about anything, a four channel ADC and four channel DAC, two dozen GPIO pins, enough LEDs and buttons for any project, and a 200,000 gate FPGA. All this in a board that plugs directly into the GPIO pins on the Raspberry Pi just like an Arduino shield. Needless to say, there’s a lot you can do with this board.

Right now, the design is still in the prototype stage, but once everything is finalized the basic model of the board will sell for £30 GBP ($50 USD). The high-end “Model C” board, with all the bells and whistles, will sell for £45 GPB ($70 USD).

Putting The BBC In Seattle

radio

Among great British traditions, there’s tea, knowing how to lose an empire, tea, Parliament, big ben, tea, incalculable wit, Parliament, big ben, tea, and BBC radio. While Britons in foreign lands may not be able receive BBC radio over the airwaves, there is the remarkable BBC iPlayer that allows online streaming of all those awesome BBC radio stations. Unfortunately, moving away from the Prime Meridian means the BBC radio schedule deviates from the schedule ordained by divine right. In Seattle, for example, a Friday evening comedy would be broadcast in the middle of the afternoon. Basically, it’s like listening to  Prairie Home Companion on Saturday morning. It just feels wrong.

[Adam] came up with a clever solution to this problem. Yes, it’s really just a Raspberry Pi-powered web radio, but there’s a twist to this build: everything from BBC radio is buffered and time shifted. A program that airs at noon in London will now play on [Adam]’s radio at noon in Seattle.

The hardware portion of the build is an exceedingly British radio which [Adam] deftly modified to include an auxiliary input. The software portion of the build uses ffmpeg, mplayer, and a PHP script to stream the iPlayer audio to a file, wait 8 hours (or whatever the offset from GMT is), and start playing the audio.

In the end, the time shifted BBC radio works perfectly, and even caught the attention of a few people at BBC Radio 4. [Adam] was interviewed about his project, and was even able to listen to his interview several hours later.