Skip to main content

falkp.no/blog

Tag: Python

RadiOS part 2

# Overview

See RadiOS part 1.

So I started making a prototype to figure out if I could “sense” both selections with GPIO pins, while the designer started modeling and rendering suggestions for the physical design. The solution chosen was to first set all volume control pins to high, and check which channel control points registered as on, then reverse (control points high, check volumes).

# Sound

For sound we tore down a Music Angel portable speaker. It gave us two speakers, an amplifier running on 5V and a battery which we threw away. The built in soundcard gave horrible sound under certain conditions, so a cheap USB soundcard was used instead.

graph.no - Weather forecast via finger

# The idea

Yr.no has a brilliant hour by hour view. A simple picture where you get all info you need for planning your next 48 hours.

Yr.no

They also give out all their weather data for free! Having a special fascination for the command line, I wondered if I could represent the same information in a basic, ASCII, 80x22 terminal.

# Development

Earlier I’d made my first telnet service for keeping an eye on the status of the office coffee pot (coffee.graph.no / telnet graph.no). After that, I pondered for a while on how to allow for choosing location via such a limited protocol. I did not want to make a service that had to be used by hand, like wunderground, which I discovered later, but one that could be used in an automated sense.

RadiOS part 1

# Overview

In my opinion most radios, especially internet radios, have horrible interfaces. Small buttons, small displays, often touch, often several functions for each button.

So Erik and I set out to design a new, better radio for ourselves. Our main requirements were ease of use and a very physical UI. Something you’d want to touch and play with.

# Platform

The Raspberry Pi is our platform of choice at the moment, so we have some physical restrictions and long boot time.