Controlling A Raspberry Pi With Real Life Redstone

minepi

We’ve seen computers built in Minecraft out of redstone, the game’s version of electricity, circuits, and digital logic. We’ve even seen a few redstone contraptions controlling real-world devices. [Angus]’ build, though, takes things to a whole new level. He’s created a bridge between Minecraft circuits and their real life counterparts using a Raspberry Pi.

[Angus]’ build relies on a mod for Minecraft servers running as a Bukkit plugin. Blocks powered by redstone are labeled with an in-game sign, and messages regarding the state of a block are passed over the network using the MQTT protocol.

The hardware side of the build is a Raspberry Pi with a PiFace expansion board. With this setup, [Angus] can control LEDs on the PiFace by toggling Minecraft levers, or light up redstone lamps using the PiFace’s buttons.

If you’d like to try this out for yourself, you can grab the Bukkit plugin over on [Angus]’s git. Check out the video of the real life redstone in action after the break.

Continue reading “Controlling A Raspberry Pi With Real Life Redstone”

Raspberry Pi Becomes A Guitar Effects Processor

One of the more interesting use cases for the Raspberry Pi is exploiting its DSP capabilities in interesting ways. There’s a lot of horsepower inside the Raspberry Pi, more than enough to do some very interesting things with audio, all while being powered by a small wall wart adapter. [Pierre] over on the Pure Data mailing list has a proof-of-concept working that uses the Raspi as a guitar effects processor. The results are very encouraging – [Pierre] is able to use his Raspi as a delay, pitch shifter, and of course a classic flanger, phaser, and chorus with a latency of about 16 ms.

There are a few steps necessary to get low latency with the Raspi’s audio interface. [Pierre] is running his Pi headless, and allocated more RAM to the CPU.

If you’d like to try this out for yourself, [Pierre] has a tutorial for setting up Pure Data with the Raspberry Pi. He’ll be updating his blog soon with more tutorials and verified USB audio interfaces later.

Check out the processor in action after the break.

Continue reading “Raspberry Pi Becomes A Guitar Effects Processor”

Raspberry Pi Used As A Beacon Transmitter

rpi-beacon-transmitter

[m0xpd] got his hands on an inexpensive AD9850 DDS Module from eBay but needed a way to control it. He took inspiration from the projects that used a PIC microcontroller, but decided to add his own twist by using a Raspberry Pi to build a multi-mode beacon transmitter.

At the center of this breadboarded circuit lies the green AD9850 module. To its left is a level converter he built to get the 3.3V levels from the RPi board to work with the rest of the 5V hardware. The signal then feeds into a QRP amplifier and a low pass filter.

He didn’t start from square one when it came time to write the code for the RPi. Instead he grabbed an Arduino sketch for the very same DDS and ported it over to Python. The first test signal was his call sign sent in Morse code at QRSS speeds. But he also managed to get Hellschreiber messages working, making it a multiple-mode device.

[via Solder Smoke]

Building Your Own Model A Raspberry Pi

A

When the Model A Raspberry Pi is released in the coming weeks or months, you’ll have the opportunity to buy an even cheaper ARM Linux computer that will draw 1/3rd the power of the classic Model B. Some people just can’t wait a month to get their hands on it, so [Blair] decided to make his own.

The Model A Raspberry Pi is nearly the same as the Model B; the only things missing are an Ethernet port, a single USB port, and the associated chips required to drive these ports. In a brave bit of desoldering, [Blair] removed the Ethernet/USB controller with a butane torch.

In part two of [Blair]’s adventures, he removed the Ethernet connector and replaced the two-high USB ports with a single port, greatly decreasing the height of the Raspberry Pi.

As of right now, this is just about the only way to get your hands on the lower power, more compact Raspberry Pi. We can’t wait, though, for the eventual tutorial of how to turn a Model A into a Model B. That’ll be an awesome demonstration of god-like soldering skills.

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.

Replacement Controllers For Slot Car Racing

replacement-controllers-for-slot-car-racing

That blur on the right is a car racing into the frame. But look around the rest of the image and you’ll see the area is littered with extra hardware. [Matthew], [Doug], and [Barry] have been hard at work adding extra functionality and replacing the original controllers on this Scalextric slot car setup. So far it looks like their build log has not caught up with all the work they’ve done. We’re hoping to learn more details as they have time to write about them (this is coursework at University so we’re sure there’s a lot on their plates). But for now there are several videos and a gallery of images to drool over.

The cars are controlled by the voltage level in the track. The team replaced the stock controllers with a Raspberry Pi. It manages that voltage using Pulse-Width Modulation via MOSFETs. This allows the races to be automated but also makes it simple for a human operator to use just about any input device imaginable to control the cars. For good measure they also added a lap counter that uses an IR LED and detector to sense when a car passes the finish line.

After viewing several of their videos we think the goal of the project is to log the fasts times without sending the cars flying off the tracks during the turns.

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.