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 […]

Servo tester part 2.

So! I decided that I wanted to properly test my servo tester (testing a tester… wuhhh?) so I bought myself some really cheap servo’s on eBay. When I say really cheap, I mean REALLY cheap! I spent a whopping £3.99 on a pair and that was with postage included (eBay Item: http://goo.gl/fACHpo as per usual, link […]

STM32F0 Tutorial 2 – SysTick

One of the most cool features of the ARM Cortex series of processors is the SysTick. The SysTick is a 24 bit timer with a user configurable prescalar which can be used for simple variable incrementing tasks such as incrementing a second counter or similar. For the example of done, I’ve made the SysTick counter […]

128×64 eBay OLED display based on SSD1306

Finding cool electronic parts on eBay is great and buying them from asian countries is even better, one of these is an 128×64 pixel OLED display! (Example: http://goo.gl/4nL2eL) I’ve got an SPI version of this display and with lots of help from the data sheet, I’ve made a library suitable for the STM32F0 discovery board, its […]