Normalised HMC5883L Compass

Fueling off my desire for wearable navigation, I’ve decided to try and use the simple HMC5883L magnetometer module to create a simple non tilt-compensated compass. As the name suggests, it currently only works on flat surfaces and tilting it will give a pretty erroneous result! None the less, on a flat surface it pretty much […]

STM32F0 Mini tutorial – Using the I2C peripheral to communicate with a HMC5883L digital compass IC

Well! I’ve had a fair few requests in the past few weeks about how I got the HMC5883L digital compass IC working with my STM32F0 discovery board (as shown in a previous post:¬†https://hsel.co.uk/2014/05/29/hmc5883l-magnetometer/). I’m really not a fan of the I2C implementation on the STM32F0 discovery board as many things don’t seem particularly apparent at […]