[5 Volt Junkie] has built his share of Arduino projects, but never anything with Python, and certainly never anything with a GUI. After listening to Internet radio one day, a new idea for a project was born: a Raspberry Pi with a small touchscreen display for a UI and displaying soma.fm tracks. It’s finally finished, and it’s a great introduction to Python, Pygame, and driving tiny little displays with the Pi.
Playing soma.fm streams was handled by mpd and mpc, while the task of driving a 2.8″ TFT LCD was handled by the fbtft Linux framebuffer driver. This left [5 Volt Junkie] with the task of creating a GUI, some buttons, and working out how to play a few streams. This meant drawing some buttons in Inkscape, but these were admittedly terrible, so [5 Volt Junkie] gave up and turned on the TV. Tron Legacy was playing, giving him the inspiration to complete his Tron-themed music player.
The result of [5 Volt Junkie]’s work is a few hundred lines of Python with Pygame and a few multicolor skins all wrapped up in a Tron theme. It looks great, it works great, and it’s a great introduction to Python and Pygame.
Continue reading “Learning Python With Tron Radio”
If you’re the type who enjoys passing idle time by keeping up with podcasts or listening to web stations but don’t always want to occupy your laptop or tablet, this Arduino based radio player will provide a base station for tunes.
The Web Radio project by [Vassilis Serasidis] outlines in a pleasing amount of detail exactly how to wire up a short list of four modules. These including an Ethernet shield, LCD screen, MP3 decoder, and USB serial converter, with an Arduino Mini in order to bookmark and play fourteen of your favorite channels. His hand-soldered board couples everything into one neatly stacked package. The instructional video shows this off and he even explains how to locate your favorite stations on internet-radio.com and copy their port and IP number directly into an example sketch which is provided for use. If you’ve been wanting to build a self contained radio node for your desk free of extra baggage, this is a no-sweat project for both the hardware savvy and those more oriented with code writing.
If you’re going to build your own radio, it’s always cool to disguise your high-tech creation as something more rustic. Check out this project by [Dominic Buchstaller] for a great example of a vintage radio given a second calling.
Continue reading “Build Your Own Stand Alone Web Radio”
Do you ever miss your gaming system of yesteryear? [yv3] did so he built a retro gaming console. Even though [yv3] likes his old school games, he didn’t want to be stuck listening to old school 8-track tapes while playing those games. The solution for him was to build a retro gaming console with integrated internet radio.
The gaming portion of the build relies on RetroPie. The RetroPie disk image contains all of the software and emulators needed to turn a Raspberry Pi into a dedicated retro gaming system. The RetroPie project supports a lot of gaming systems, [yv3] chose to include Atari, Sega Master System and Genesis, NES, SNES, and Turbografx-16.
Raspberry Pi Internet Radio manages the radio portion of this project and is set up to start playing automatically when the unit is powered on. There are 5 buttons to change the station, volume and settings. The radio stations are managed by a text file residing on the SD card. Audio from the radio can be directed to either the HDMI or the analog out of the RaspPi.
Continue reading “Retro Gaming Console, Now With Internet Radio”
Avid Hackaday reader [Matthias] told us he takes a lot of inspiration from our site. That’s quite a compliment, because his work is both inspiring and beautiful. [Matthias] wanted to build a UI using JavaFX, so he made a really nice-looking Raspberry Pi-based Internet radio. We featured his previous radio build a few months ago when he modified an old Bakelite unit.
The Mephisto III is enclosed in a handsome oak cabinet built by [Matthias]’ father. Like his previous build, this one uses the Google Music interface to play MP3s and streams radio from the web. He also added weather and a clock, which is a nice touch. In addition to the Raspi and a USB WLAN stick, [Matthias] is using two relays. One relay powers the amplifier and the other enables the display. [Matthias] is impressed with the JavaFX API, but found that the performance of the Raspberry Pi is insufficient for smooth multithreading. He considered switching to a BeagleBone Black, but it has no component out.
If you want to be able to listen to vinyl, too, check out this killer media center. If you have lost your taste for Pi, build yourself a web radio from a tiny router.
At first glance you might not even notice that this 1934 radio has been altered. But close study of the tuning dial will tip you off that changes have been made. It still scrolls through stations just like the original. But it’s not a wheel with some numbers on it. The rotary motion is an effect produced by an LCD screen.
This is the second time we’ve seen one of [Florian Amrhein’s] Internet radio projects. The first used guts from a Laptop paired with an Arduino to pull everything together. This time he’s chosen to wield a Raspberry Pi board. It feeds a USB sound card for a bit better quality. A small amplifier board us used to power one large speaker behind the original grill of the radio.
Check out the demo video to see that radio dial in action. It’s delightful that he went to the trouble to emulate a rotating disc to keep with the theme of the project.
Continue reading “Simple looking Antique Internet Radio has a lot under the hood”
[Florian Amrhein] made use of some old hardware to build his own internet radio in a 1930’s radio case.
The original hardware is a tube-amplified radio which he picked up on eBay. There’s tons of room in there once he removed the original electronics and that’s a good thing because he crammed a lot of new parts into the build. The main one being an old laptop he had on hand. It’s got a 10″ screen which is too large for the opening, but that ended up being okay. He coded an interface with C and SDL which give him a visual representation of his favorite online streams. The knob to the right moves the red line when turned and causes the Debian box to change to the new stream using the Music Player Daemon. Two potentiometers control the tuning and volume, and there is also a rotary encoder which is not yet in use. All three are connected to the laptop via an Arduino.
Check out the finished product in the video after the break. It sounds quite good thanks to the small automotive speaker and amplifier also crammed into the old case.
If you don’t have a laptop lying around to use in a project like this consider a microcontroller and character LCD based system.
Continue reading “Internet radio occupies an 80-year-old radio case”