[Sprite_TM] Puts Linux in a Clock Radio

clock

[Sprite] needs an alarm clock to wake up in the morning, and although his phone has an infinitely programmable alarm clock, his ancient Phillips AJ-3040 has never failed him. It’s served him well for 15 years, and there’s no reason to throw it out. Upgrading it was the only way, with OLED displays and Linux systems inside this cheap box of consumer electronics.

After opening up the radio, [Sprite] found two boards. The first was the radio PCB, and the existing board could be slightly modified with a switch to input another audio source. The clock PCB was built around an old chip that used mains frequency as the time base. This was torn out of the enclosure along with the old multiplexed LCD.

A new display and brain for the clock was needed, and [Sprite] reached into his parts drawer and pulled out an old 288×48 pixel OLED display. When shining though a bit of translucent red plastic, it’s can be a reasonable facsimile of the old LEDs. The brains of the clock would be a Carambola Linux module. After writing a kernel module for the OLED, [Sprite] had a fully functional Linux computer that would fit inside a clock radio.

After having a board fabbed with the power supplies, I2C expanders, USB stereo DAC, and SPI port for the OLED, [Sprite] had a clock radio that booted Linux on an OLED screen. In the video below, [Sprite] walks through the functions of the clock, including setting one of the many alarms, streaming audio from the Internet, and changing the font of the display. There’s also a web UI for the clock that allows alarms to be set remotely – from a phone, even, if [Sprite] is so inclined.

[Read more...]

Minecraft clock radio puts a creeper head next to your bed

minecraft-alarm-clock

This clock radio plays tunes from Minecraft and it’s decorated to look just like a creeper head. In the game mob heads are available as decoration and [Young_Maker] liked to spice up his virtual bedside table with a creeper head. But we think it looks just as good in its physical form.

The main part of the clock is an Arduino with a character LCD screen. A DS1307 real-time clock makes sure the device is accurate. We called this a clock radio in the title of the post, but it’s more of a clock MP3 player. The uMp3 board is used to play random music from the game. We would categorize the soundtrack as minimalism, which is a reasonable way to gently wake in the morning. But if time runs out the boom of an exploding creeper is played to make sure you’re not late for work.

We’ve embedded [Young_Maker's] demo video after the jump.

[Read more...]

Follow

Get every new post delivered to your Inbox.

Join 96,710 other followers