4DCu.be
a blog about programming, gaming, technology, ...
-
Tiny MIDI controller with Raspberry Pi Pico
With a MIDI library available for the Raspberry Pi Pico making a little MIDI “piano” is relatively easy. The MacroPad which I build last month is the perfect little device to play around with this. If you are interested in how to connect buttons and LEDs to a Pi Pico,...
-
Altair + Vega + Justcharts = Interactive Visualisations in Static Websites
Despite being a huge proponent of using interactive plots when publishing data visualisations on the web, the plots on this blog are all static. Using Altair, Vega and a little library justcharts all pieces finally fell into place to start practicing what I’ve been preaching on this blog as well!...
-
Printing Rise of the Keyraken with PrinterStudio/MPC
Do you want some professionally printed cards for Rise of the Keyraken? Here is how to prepare the Print-and-Play assets from Fantasy Flight Games for printing through a service like PrinterStudio or Make Playing Cards (MPC). FFG has previously released Print-and-Play decks for KeyForge. The idea is that these PDFs...
-
Expanding Zigbee Range with Ikea Tradfri Repeaters
My brand new Aqara Sensors were on the very edge of my Zigbee range, resulting in unwanted disconnects every few days. Fortunately Sweden’s largest contemporary designer has a cheap solution … though getting it to run with Home Assistant was a bit of a challenge. The temperature, humidity and pressure...
-
Fighting Batch Effects with pyComBat
Even high-end scientific equipment can have a bad day! Machine performance can be affected by ambient temperature, humidity, … so when samples are measured in different batches, this needs to be corrected for. In this post we’ll have a look at the Python package pyComBat which does this elegantly and...
-
A Python powered MacroPad/StreamDeck
I decided to put left-over parts from my mechanical keyboard and a Raspberry Pi Pico to good use and build a MacroPad. This is a small keypad, where each switch can be programmed with a certain button or combination of buttons to quickly execute often needed shortcuts. Streamers often have...
-
Adding Aqara Sensors to Home Assistant
Home Assistant is running great! It is time to add some more devices to my setup, and since all groundwork to add Zigbee devices using Zigbee2MQTT was done previously (check out this post) it makes sense to add more devices that support this protocol. For this post I picked up...