STM32F0 – High sample rate ADC usage

My current university project is based around non destructive evaluation using ultrasonics. I’ve been delegated the task of trying to design a suitably cheap (cheap being my speciality 😉 ) low end ultrasonic evaluating system. This involves designing the high voltage supply, the output driver, a high speed amplifier system AND the whole digital domain […]

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:, as per off the magical eBay (Example – Link will expire: 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 […]