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 ADC mini tutorial – Scan mode using interrupts and DMA

The ADC in the STM32F0 series of microcontrollers is pretty advanced compared to similar costing equivalents, offering features such as continuous conversion, internally and software triggered conversions, channel scanned conversions, amongst much more! This isn’t a proper tutorial but I will be posting the code on how to achieve such a task and how I […]

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

Update 31-3-15

Well! Its been a long time since my last blog post. Its been a pretty hectic year so far with work and general life. I need to start training for the various Bladesoc marathons that we have planned (Le Mans and Preston!) so I’ve not had much blog time to do general electronics! So where […]

MSP430 Value Line – TI Launchpad

Well after feeling quite happy at my current level with the ST microcontrollers, I decided to learn a completely new and upcoming architecture – the MSP430 series of microcontrollers, designed by TI for low power applications. They have loads of features, including advanced timers, ADCs and a 16bit architecture. More info can be found on […]

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

STM32F0 Discovery + AM2302/DHT22

Well tonight has been productive! I’ve managed to get the DS1307 working with my STM32F0 and now the AM2302! I thought that I’d actually done a previous post on interfacing the DHT11 humidity and temperature sensor but it turns out I hadn’t! The method of operation and data transfer is pretty much the same so […]