STM32F0 Software UART

Well it certainly has been a long time since I last posted! This however is something I’ve been wanting to try and implement for a long time, I just haven’t got round to it as of yet. So what is it you ask? How about: The ability to use UART on any pin with edge […]

STM32F4 SPI VGA Controller

Well it seems all of my projects recently have been based around my LCD monitor! I think its just because its fun to actually be able to see the outcome of your work as opposed to just seeing a statement change in debug or an LED flash.┬áThis isn’t actually an original idea of mine, I […]

STM32F0 Graphic analyzer part 2.

To all who haven’t had chance to read part 1 yet, it can be found here. So! In the previous post, I designed a pretty simplistic graphic analyzer. I’ve since upgraded it to display the frequency range (dependent on the sample rate), along with redesigning the analog input stage. Playing a bit of Dillinger Escape […]

STM32F0 Audio graphic spectrum analyzer

What’s cooler (than being cool, ice cold? no…) than having the ability to view the spectrum of audio?! A few things I hear you say, to which I also agree. On the other hand, viewing the spectrum of your music can be a fun and “wow factor” way to show off how electronics can do […]

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

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 + ILI9163 LCD!

Well after popular demand (lol two people…)! I’ve revisited some EXTREMELY old code and got it working for my ILI9163 LCD, its not pretty, its code I’ve not used in a LONG time and probably won’t use for a long while more but as far as I know, the driver is pretty sound. Its uncommented […]

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