In this post, we’re developing a Happy Cube solver using a mixed integer linear program (MILP). Previously, we tackled this problem on a micro:bit using dynamic programming and backtracking. Now, we’re trying a different approach by creating a mathematical model to solve this combinatorial challenge. The idea is to structure the MILP so that it… Read more A MILP based Happy Cube©® Solver
Category: tinkering
Solving Happy Cubes® on A micro:bit
In this post I’ll demonstrate the results of my most recent fun project on the micro:bit: An app to solve Happy Cubes®, a set of puzzles created in 1986 by the Belgian toy inventor Dirk Laureyssens. My kids were playing with these cubes and I was wondering, if the micro:bit could solve these cubes in… Read more Solving Happy Cubes® on A micro:bit
Neopixels with micro:bit
In this post I will demonstrate a “Hello, World!” example for the micro:bit to light up some Neopixels. Neopixels are individually-addressable RGB LEDs and can come in various forms. The most common form is the chain having all units connected serially. It was invented by Adafruit, an open-source hardware company based in New York City. Why did I… Read more Neopixels with micro:bit
Happy Birthday Duino
In this post I’ll show you the simplest setup to generate synthetic sound using an Arduino Pro Mini. Of course you can also run it on a Leonardo or on an Arduino UNO R3. The project is inspired from a project from the official arduino project hub and you can get the sourcecode here. What… Read more Happy Birthday Duino
An Arduino based Math Trainer
In this post I’ll show you how to build an arduino based math training console based on simple standard components. The app is suitable for training math in lower and middle school. It allows configuring difficulty level as well as operations and lets the player choose the correct result from a selection of 4 outcomes… Read more An Arduino based Math Trainer
Marquee on a 8×8 LED Matrix Display run by a Battery powered Arduino Pro Mini
In this post I’ll show you how to implement a marquee running on an Arduino Pro Mini (5V). The project uses a slightly adapted version of the C source we developed for running the same project based on a Raspberry Pi 3B+. The main changes werd applied due to the two function void setup() and… Read more Marquee on a 8×8 LED Matrix Display run by a Battery powered Arduino Pro Mini
Font Design for Raspberry Marquee Project
Since the 8×8 LED Matrix Display I used in my marquee project is able to display 8×8 pixel sized letters and I am a great fan of the old Commodore 64 I designed the the font according to the C64 charset visible here: Based on the hardware reference provided here you can get the information… Read more Font Design for Raspberry Marquee Project
Create a Marquee with your Raspberry Pi
The aim of this project is to generate a marquee (scrolling text) using a Raspberry Pi and a 8×8 LED Matrix Display. If you don’t yet have a Pi, get one. I have bought a Raspberry Pi 3B+, which is powerful enough to run a Linux with a graphical UI. There are lots of web-shops… Read more Create a Marquee with your Raspberry Pi
Start programming you Pi
Here I describe the steps needed to start writing simple c programs on your raspberry pi. I did my experiments using a raspberry pi 3b+, you can use whatever model you like. If you don’t have a bootable SD card ready, please first follow the steps provided in this post. I installed ubuntu mate on… Read more Start programming you Pi
Setup a bootable Raspberry SD on Linux
In this post I show you, how to setup a bootable raspberry SD containing an operating system to boot from. The instructions are given using a linux based system, since it’s much faster and easier to perform than on windows based systems. On windows, in the last step you will need to download installers which… Read more Setup a bootable Raspberry SD on Linux