Recent Posts

More Posts

go get has a nice feature where it will fetch the package URL and, based on a meta tag, redirect to the actual location. Here’s the nginx config I use to redirect go get juju.net.nz/x/package to either my private repo (for unreleased stuff) or my cgit instance for everything else. This is similar to how golang.org/x/... and gobot.io/x/... operate. server { ... location ~ /x/(.*) { if (-d /home/juju/p/git/$1.git) { return 200 '<meta name="go-import" content="$host$uri git ssh://juju@$host/~juju/p/git/$1.

CONTINUE READING

I ordered two FIT0441 brushless motors for use in v2 of my balancing robot. The DFRobot wiki page on the motor is incorrect so I thought I’d blog about it so someone else can find it 🙂 The motor comes with a 5 pin JST-SH cable with a white end and a black end. The white end goes to the motor. When looking from the back of the motor with the socket at the 6 o’clock position, the wires are:

CONTINUE READING

github.com/eriksl/esp8266-universal-io-bridge looks cool – it exposes the I/O of a ESP8266 wifi module including the GPIO, I2C, PWM, ADC, and UART via a line based telnet interface.

CONTINUE READING

I’ve released a toy compiler for the PL/0 educational language at https://juju.net.nz/src/cgit.cgi/pl0.git/ or https://github.com/nzmichaelh/pl0.

I did this as, despite working with compilers for a fair part of my life, I’d never written one from scratch. I chose PL/0 as it was designed by a local legend, Niklaus Wirth, who is also the creator of Pascal and Modula-2.

CONTINUE READING

We went to Maker Faire Bodensee on the weekend. The kids spent so much time with Paula Pongratz’s Post-apocalyptic jewlery that they missed most of the rest (heh).

Other standouts were the breadboard / pus pin based electronic organ from [

Elektronikmuseum Tettnang]3 and the marshmallow building challenge by Toolbox BODENSEE. I also want to have a look into the Minecraft smart-home, Nodebots, and Freifunk.

CONTINUE READING

Projects

pipoint

A rover tracking camera

Citizen

A balancing robot written in Go and running on ARM Linux.

Ideas

Ideas for future projects.

Others

Some things I’ve hacked on.

PL/0 implementation

A toy compiler for the PL/0 educational language.

Templates

Markdown templates for project plans, etc.

nppilot

The Never complete; often never started autopilot.

ser2neo

ser2neo makes it easier to drive a NeoPixel ring

Contact