Internet Radio Project Part 3

I’ve updated the python code having now migrated to RPIO for the GPIO control as its interrupt and debouncing setup is more complete as of v0.10.1 than GPIO 0.5.0a, and should soon make it into the Raspbian repositories. So now you can find the code, including init script and Fritzing breadboard file, here Functionality-wise it now does: Display of band+track or radio station on LCD whilst playing, NTP date+time whilst stopped (may add RSS feed) Button pauses/plays when pressed or stops playback and switches to clock mode when held down for a second, playback can be resumed with another press MPD runs locally and fetches MP3’s and radio playlists over NFSv4 from fileserver, should also work for local files on sdcard or usb drive LCD also reflects the status from external MPC clients like gmpc or MPDroid Volume control is handled via hardware knob or software Speakers can be powered off independently of the RPi Next I’ve got to get some perspex for a case and glue things in place.

Kindle Jailbreaking

I thought I’d have a go at jailbreaking my spare Kindle 3G to use it as a display for my Raspberry Pi (unfortunately it seems you can’t use it like a serial console, you essentially just use the Kindle to SSH over USB to the Pi). Its unregistered and has no wifi configured, so will never get any over-the-air firmware updates from Amazon. Anyway, after remembering that my Kindle is actually a US model, not a UK one as I bought it in France, I downloaded the lastest 3.

Internet Radio Project Part 2

I’ve started to receive my parts and have cleaned up my music collection using Beets, well I say cleaned up, I’ve actually got about half of it nicely sorted and half of it is just a bunch of random MP3’s or rips of old “Best Of” CD’s from Woolworths circa 1990! I’ve installed MPC and MPD, setup autofs to mount the NFSv4 fileserver, and got playback working from the 3.5mm jack by running:

Internet Radio Project Part 1

I’m planning to make an internet radio using my Raspberry Pi. First off I plan to control it entirely using a web interface which I guess I’ll write. The popular alternative is to use MPD with one of its cli/web/Android clients. I don’t fancy all of the bloat of XBMC. Eventually I may add an LCD display and a couple of GPIO buttons at least for play and skip. Edit: I’m really considering this now as I could do with an alarm clock that uses NTP, I could even get it to turn the display off at night until a GPIO button is pressed (which could double as a snooze button).

RPi Traffic Lights Demo

My cables have arrived and I’ve made my first Raspberry Pi hardware demo. If you press the button the computer will send the voltages to the GPIO pins to simulate a traffic light system (red, red & amber, flashing amber, green). I noticed that a few tutorials seemed to leave out the 10K pull-down resistor, 3.3V line and 1K protective resistor (just connecting the button to GND and GPIO) and so the voltage change wasn’t detected on the input pin, also without the 1K resistor you could damage the pin if you accidentally configure the GPIO connected to the switch as an output rather than an input.