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

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

Designing a 555 timer wannabe

As I’ve previously said I’m not actually very good at analog design – due to a mixture of not really being taught past the basics and maths not being my strong point! Nonetheless, I enjoy doing it and when the circuits I design work as I intend, its a great feeling of achievement, much more […]

Monotonous Wednesdays – Creating an extremely simple waveform viewer using the STM32F0 Discovery board and ILI9163 LCD

Well! Today, I didn’t feel like doing anything particularly productive so libraries were pretty much not an option. Instead, I decided to make a really simple oscilloscope which merely displays the current sample voltage and a trace of the samples on the screen using my ILI9163 and graphics libraries. The input voltage is specified from […]

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

HD44780 LCD with PWM LED Backlight control

And voila! As I said in one of the last two posts (Initial post: https://hsel.co.uk/2014/08/14/stm32f0-discovery-board-and-the-hd44780-lcd/ and integrating a charge pump for backlight control: https://hsel.co.uk/2014/08/14/stm32f0-discovery-board-with-hd44780-and-integrated-charge-pump/), I’ve now included a generic LED backlight PWM controller using one of the standard GPIO pins. I’m using GPIOA Pin 6 to drive the LED backlight and I’ve integrated a 4bit (16 step) backlight […]