Tag: Raspberry Pi

  • How to close an unresponsive SSH session

    If you work on embedded Linux systems, those Docker container thingies, play around with Raspberry Pi or anything in between, you may occasionally find yourself on your main computer connected to the target via SSH when it suddenly hangs or gets rebooted, rendering your SSH session unresponsive. Sometimes when this happens, the SSH session gets…

  • Kodama Trinus 3D-printer upgrades

    At work, we recently got the Kodama Trinus combined 3D-printer and laser engraver. I’m pretty happy with the overall quality of the printer so far, but for our use I immediately identified some areas of improvement: No power switch – the only way to turn the printer off is by unplugging the cord. No lights…

  • Alarm Clock v0.1.0

    We wanted to try banning phones from the bedroom (you should try, I recommend it!). Clearly, a suitable hardware replacing the alarm clock app was needed. Having thought about building my own alarm clock for a while, I quickly determined it was not a viable option to just go buy one – there simply did…

  • Wake-up Light Part 3: Hardware

    This is the third part (part 1, part 2) of my write-up on building a Raspberry Pi-based wake-up light. At this point, the Pi was capable of switching 433 MHz remote controlled outlets and can be scheduled to do this at certain times. I had a few ideas on how to roll my own light…

  • Wake-up Light Part 2: Scheduling

    Last time, we had managed to get a command for controlling the lights up and running on the Raspberry Pi. The obvious choice for scheduling such a command in Linux is Cron. To automatically turn on the lights using Cron, we need to edit the root-user’s crontab: $ sudo crontab -e This will launch a…

  • Wake-up Light Part 1: Flipping switches

    I’ve had the idea to build my own wake-up light for quite some time. This winter i finally got around to it. This is the first part of my write-up of the project. In simple terms, the point of a wake-up light is to gently wake you up by slowly turning up the light before…