STM32F0 Data Transmission – Half Duplex Pulse Width Encoded

Well there’s the title! I’ve been working on creating a pretty simplistic half duplex data transmission through PWM. The protocol is currently half duplex because I’ve only just started writing it! Currently, data is encoded into the pulse width of the square wave sent between the two microcontrollers (currently an STM32F051 discovery for the receiver and […]

STM32F0 Capacitance meter!

Yet another project with my STM32F0 discovery board… A simple capacitance meter! The value of capacitance can be determined by the time that it takes for a capacitor to charge through the resistor. A precise way to do this would involve using two comparators, 4 precision resistors (three for a precise biasing source and one […]

STM32F0 Tutorial 3 – Timers Pt1

On any microcontroller, timers are arguably one of the most useful peripherals, probably along with GPIO. What is a microcontroller without the ability to measure time reasonably accurately?! Timers on the STM32 series of chips are quite complex and will be spread across multiple tutorials, each hopefully demonstrating one useful section of timers. The tutorial […]

STM32F0 Graphic Equalizer

Another cool buy that I’ve found on eBay is a 8×8 LED matrix powered by the MAX7219 (Example: http://goo.gl/lkyY4c). Its really easy to interface and uses SPI which I’m beginning to think is my favourite protocol! The STM32F0 is a pretty high quality processor based on the ARM Cortex M0 and doing a simple 8 point […]

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