Skip to main content

falkp.no/blog

Tag: Raspberrypi

Ninjabox

# Overview

Untrickable laser alarm, with an easy-to-knock-out fusebox.

A tribute to (the alarms in) Mark of the Ninja.

Fusebox

# Background

In the game you have to sneak into buildings with high tech alarms. Some of the laser traps can be deactivated by knocking out the fuse box with a dart.

So I made a laser alarm with a fusebox that can be knocked out. This is mainly to keep kids occupied, and motivated to practice throwing.

Car-logger - part 3

# Overview

A self-hosted, real-time, inexpensive open source car tracker built with Raspberry Pi Zero W, Nextcloud, and optionally Home Assistant.

Plan

I’ve had a few earlier tries at car position logging, read those first if you’re interested: Car logger 2.

# Background

Goal: logging and sharing location of my non-connected car, for practicality and fun.

Earlier tries was using a phone, but that had problems. No Android phone will switch back on if it runs out of power without manual intervention.

Volumio based radio with NFC

# Overview

Volumio based internet radio, controlled by NFC, built in an old speaker.

Complete speaker

# Background

Inspired by the extreemly good looking Spotify Box and QR based systems like Audiosphere, I wanted to make something similar for my kids. I’ve earlier built a few radios based on small, cheap bluetooth speakers like music angel, but wanted something with better sound this time.

# Prototype

QR are fast and cheap, so I made a quick prototype. It turned out they are unreliable when there’s no display to give feedback on how the camera sees them. Both lighting and focus was a problem.

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.

Your own Ruter.no realtime monitor

# Overview

By request, a quick how-to on setting up your own realtime monitor for ruter.no, Oslos public transit.

Ruter realtime example

# As simple as possible

Done!

# Background

Ruter has an API, so you can go crazy and implement your own client easily, like I’ve done with rutercli. But there’s a much simpler solution. They’ve got a website in the same style as their public monitors, mon.ruter.no. You can start with the link above, and find the numbers and names you need from a normal ruter.no search. You’ll also find NSB stuff there. See ruter.no/reiseplanlegger/sanntid/egen-sanntidsskjerm for more info.