Mario Environmental

Posted on Wed 16 May 2018 in yeah • Tagged with thats, awesome, ML

Step 2. Making a reinforcement learning environment API

This is were things get exciting. I found a really well documented, well written, python based gameboy emulator - PyBoy

I fired it up and all of the games I tried worked perfectly.

Next step is to have a play with its api …

Continue reading

GBakeBoy Emulator

Posted on Fri 11 May 2018 in yeah • Tagged with thats, awesome, ML

Inspired by various videos of a computer playing game I wanted to see if I could create one for myself.
Keeping things simple the goal would be:

Goal: Create a system that learns to play super mario on the gameboy


This would need a couple of things

  • A gameboy emulator …

Continue reading

Predicting Criminals

Posted on Mon 02 April 2018 in yeah • Tagged with thats, awesome, ml, keras

Using machine learning estimate whether someone is going to commit a crime in the future.

My annotated entry is here or to play with it and run the code in google colab here

Original competition



I haven't updated the site in a while but I have been busy. At …

Continue reading

Go bananas with the BBC Micro:Bit

Posted on Fri 05 August 2016 in microbit • Tagged with fruit, micropython, microbit

I received the microbit a couple of weeks ago and it's a solid device with plenty of scope for fun times. The best thing is that it runs micropython. Yey, go team!

I had a chance for a quick play with the microbit during the butlins science weekend. The weekend …

Continue reading

Wemos OLED Shield

Posted on Tue 02 August 2016 in esp8266 • Tagged with esp8266, micropython, oled

I was going to write about setting up a server with the D1 but got overexcited about the OLED screen so I'm doing that first.


This is a shield for the Wemos D1 mini and built by the same people. It's a 64x48 oled screen that can be mounted on …

Continue reading

Connected to the world

Posted on Fri 29 July 2016 in esp8266 • Tagged with esp8266, micropython

We have the d1 mini and able to run python code on it, yey us!

The big sell of the ESP8266 is the embedded wifi. With this entry we'll go through using this with micropython.

Get Connected


Connect to the D1 and enter the following into the repl. I'll explain …

Continue reading

Getting started with the wemos d1 and micropython

Posted on Wed 27 July 2016 in esp8266 • Tagged with esp8266, micropython

First thing to do is obtain the wemos d1 mini.


Currently they can be bought from the wemos store on ali express for £3.08 each with free p&p.

I've heard there are fake versions on aliexpress that are cheaper but the link above takes you to the manufacturers …

Continue reading

How I got here

Posted on Tue 26 July 2016 in esp8266 • Tagged with micropython, esp8266

I made a new years resolution to get into electronics.
Then I discovered aliexpress and it became a super cheap new hobby. Then the raspberry pi zero arrived and I wasn't so worried about busting it while I learned.

The GPIO python library was pretty easy to learn. A few …

Continue reading