There are plenty of posts floating aroud to help you install and configure Airplay on a Raspberry Pi. This puppet recipe, based on shairport, simply automates the installation process for you. With just three steps, you can turn your Raspberry Pi into an Airplay speaker.
This will install all packages required to run the puppet recipe.
Step 3: Initiate a puppet run from your machine.
git clone email@example.com:railsbob/puppet-pi_shairport.git
That’s it! The puppet run will install shairport and configure it to run on the boot. Reboot the Pi and you should see an Airplay logo on your iTunes status bar. Select ‘Shairport on raspberrypi’ and test the streaming by connecting a speaker to the 3.5mm audio port.
Since past few weeks, I’ve been trying to put my Mimo UM-740 touchscreen monitor to a good use. Sounds old school, but yeah we are talking about pre-ipad age when I used it as a touch screen skypephone device.
Follow this tutorial to configure the monitor as a primary display for raspberry-pi. Although I have explained the steps against Nanovision Mimo UM740, they should work with any displaylink USB monitor.
git clone git://github.com/raspberrypi/linux.git
cp arch/arm/configs/bcmrpi_cutdown_defconfig .config
make ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- oldconfig
#optional#make ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- menuconfig
Make sure that displaylink framebuffer support is enabled:
In this post, I share my experience with raspbmc and making it work with a wifi dongle. If you are looking to get rid of ethernet cable and keyboard, make the xbmc stand alone and control it using the web remote, this post is for you.
Every time the raspbmc boots up, it will automatically connect to the configured wireless access point.
Bye bye keyboard
Xbmc comes with a web interface, this allows us to control it without a keyboard. Just hit http://:8080/ from your ipad or laptop and start controlling. You can even use the official xbmc remotes for apple and android which are much better.
Nice, now you can have a standalone media center connected using wifi.
After a wait of over 4 weeks, I finally received my raspberry pi from RS components. This tiny motherboard comes with a great number of features for a modest price of 30£ and is already being considered as a hacker’s paradise. Getting started with Raspbian ‘Wheezy’ was simple, thanks to the quick start guide. However, I came across raspbmc, which is a minimal distribution of debian linux with xbmc pre-configured and optimized for your raspberry pi. This blog post is about my experience to get raspbmc up and running.
Scandisk SD card
My HTC desire charger to power the board (you can even use an iPad charger)
HDMI to DVI-D adapter, to connect my BenQ monitor
Unlike Wheezy, raspbmc doesn’t come with a complete bootable OS distrubution. Instead, it provides an installer images which requires a working internet connection to download and configure the OS.
Configuring SD card with the installer is simple. Insert the SD card and run:
Proceed with the on screen instructions and select the SD card (for me it was disk1s1). Once it finishes, you’ll see a message ‘Raspbmc is now ready to finish setup on your Pi, please insert the SD card with an active internet connection.’.
Plug the SD card in the pi and power it up. It starts with downloading and installation of kernel modules & libraries, and it reboots. For some reason, the pi wouldn’t come up after the reboot. As suggested by the good eggs from internet, I replaced the bootcode.bin on the SD card with this version and then it booted properly.
Next, I was stuck at the following message:
Downloading a new XBMC build.. (stuck at 21%)
I was looking for a way to send interrupts from Arduino to my macbook, without performing polling on a port. Here is a simple attempt to make it work. em-serialport is eventmachine compatible asynchronous library based on ruby-serialport.
The operation is simple. Whenever data is is available over serial port, on_data callback gets invoked. Similarly send_data writes the data on serial port.
gem install em-serialport
If you are on Mac, you need to set up a virtual USB serial port by installing a driver from http://www.ftdichip.com/Drivers/VCP.htm. Identify your serial port device. For ex: /dev/tty.usbserial-xxxxxxxx
serial = EventMachine.open_serial('/dev/tty.usbserial-xxxxxxxx', 9600, 8, 1, 0)
serial.on_data do |data|
# you got data. Eat it.
The gem comes with a simple command line Serial Monitor. Launch it as:
I bought TM12864L LCD display off ebay, however it came without any datasheet or documentation. After looking for help in forums, I was finally able to make it work. Here is a guide to interface TM12864L LCD display with Arduino Mega (1280).