STM32F0 – Software capacitive touch

Capacitive touch is “rad”. By utilizing one of the simplest physical characteristics of an object – charge storage, one is able to measure the presence of a grounded object including touch and pressure. There are a couple of capacitive touch libraries that I’ve seen around but many require dedicated hardware, for example the TSC peripheral […]

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 with the GY-GPS6MV2

Well! On another of my eBay whims, I decided to get a GPS receiver module. They’re normally relatively cheap (<£10 from the far lands! http://goo.gl/DGdbl0 – Link will expire!) and are surprisingly easy to use. I’d found a fair few Arduino versions but couldn’t really find anything on how they’re interfaced. My module literally has 4 […]

HD44780 Library update!

Since printing floating points is probably much more important than the speed of this library, I’ve included a new function that allows the printing of floating point numbers! The function explanation is really simple and here it is: int8_t PNumF(float Num, uint8_t X, uint8_t Y, uint8_t Prec)Just like with the standard PNum function, this function […]

Interfacing the HC-SR04 ultrasonic distance sensor and the STM32F0 Discovery board!

A few months back, I bought myself a cheap SR04 ultrasonic rangefinder (Datasheet: http://goo.gl/LBZeDG), as per off the magical eBay (Example – Link will expire: http://goo.gl/h9j79O). As you can imagine, these things are ridiculously cheap at a mere 99p inc. p+p. How that is even profitable, I’ll never know! They’re actually pretty nice devices and allow for […]