Micropython LCD menu: upymenu

I’ve published my first library to PyPi! It is a simple utility function you can use in micropython to build menus for LCD displays. I was used to the Liquid Crystal and Liquid Menu while developing on an Arduino. When I made the switch towards micropython I saw no such thing existed. But having a statemachine like menu is quite easy in Python and I wanted to abstract it a bit into a library, this way it is easier to use for other people!

My setup for Python projects

Inspired by a few blogs that I follow I wanted to share my current setup for Python projects that I use personally. This setup might vary based on clients that I have, but for my own projects this is what I mostly use: iTerm, zsh & oh-my-zsh with my own coloured theme. VSCode, with the following plugins: Python for VSCode autopep8 Bracket pair colorizer 2 Indent rainbow Git Lens Virtualenv (with virtualenvwrapper) All environments are saved in the ~/.

Creating the Intelligence Room

Over the past few months I’ve been steadily involved with a project that aims to recreate an war/control/intelligence room that you see in movies. The one difference is that the room is ment for decision-makers within bigger companies. Often, urgent en relevant questions go unanswered, but the Intelligence Room helps fixing this. During the Big Improvement Day we showcased our concept and I’ve created a little Django app that matches all attendees based on topics they provided when signing up for the event.

3D printing lampshades or any object based on data.

Last week I stayed at Herman’s place for a couple of days. While there we primarily discussed buttons, 3D printers and other nerdy stuff. As it happend I’d look over on his desk and found some test prints for lampshades made of ABS. That got me thinking.. Just a few hours later I was knees deep in code trying to generate something that would look like a 3D model: A 3D model in Openscad

Learning about power-usage data from my home

I recently moved to a new home, and I got a freshly installed new electricity meter that’s a little bit more intelligent. It was now possible for me to sign up for, that let’s you access the power-usage data from the meter by a 15 minute window. That’s quite some data to play with! Being interested in the data, I wrote a little scraper that collects it for me and stores it in a SQL database, from there on, with Flask and Peewee it was quite simple to create a little API for my own dataset.

Lessons learned building Django projects

I’ve been using Django as my go-to framework for the past few months. So far I’ve enjoyed the ride, but have learned some things that I’d like to share with you: During project setup, create a virtual environment for yourself to work in. Use the ‘pip freeze’ for creating a requirements.txt that helps you manage dependencies. Don’t use any paths within the views. Instead, use the reverse function for looking up routes that correspond to the url.

The Curious Corner of the Internet

I’ve been walking around with a newsletter idea for some months now. It all started at Permanent Beta where I gave a talk together with my twin. Basically it wasn’t really a talk, just a roadshow of awesome stuff we come across on our daily surf on the web. The audience loved it! Why not curate this content into a newsletter? That’s just what I did with The Curious Corner of the Internet, a monthly newsletter stocked with the stuff I find during that last month.

A Jawbone API Python library

I’ve been wearing a Jawbone UP for the last few months. There are things I like about it, the app, the sleep interface and the options you have for notifications. Some other things I dislike, the 3.5mm jack for syncing for example… It’s annoying. They have it solved with the next version though.

As with all the other devices that I’ve been wearing I wanted to get the data out of it.

A python library for the Moves App API

For Quantified Self starters I recommend the really nice Moves App. The interface is really nice and the battery drain isn’t that bad if you recharge it twice a day. They recently opened up their API enabling developers like me to create apps based on their platform. For me the first step towards creating an app is a easier way to communicate with the API. As with the fitbit, I’ve written a open-source library for you to use!

Generating Mondrian like art with D3 & Javascript

SETUP is holding a competition to get programming known as modern day craftwork. I whole-fully agree to this and decided to enter the contest! With a small part of my time spend while traveling I and finally finishing up I’ve gotten my last version up and running. I use javascript and D3 (SVG) for drawing the elements as this is a library that I wanted to explore. The ease of use and adoption rate of it made a good starting point for me to quickly get to a result.