STM32 Gyroscope / Accelerometer Demo (Video Included)

A number of the STM32 development boards come equipped with a MEMS gyroscope and accelerometer. As shown in the video below, I've written software which displays values from both of these devices in realtime.


In my example, I'm using an STM32F411 development board. As shown on the databri

Date: December 3rd, 2017 at 6:37pm
Author: Terence Darwen
Tags: Embedded, STM32, STM32F4, ARM-Cortex-M4, STM32F411, Gyroscope, Accelerometer

Various STM32 Projects

I've been working on a number of smaller STM32 projects to get to know the processsor and peripherals better. These include UART communication, DMA, configuring various interrupts, clock speeds and more.

STM32F411 Discovery Board

These projects can be found in my GitHub repo. They're well commented to explain what the c…

Date: November 17th, 2017 at 6:53pm
Author: Terence Darwen
Tags: Embedded, STM32, STM32F4, ARM-Cortex-M4, STM32F411

Audio Output with the STM32F411 Microcontroller

I obtained an STM32F411 development board recently. Among other peripherals, it has a Cirrus CS43L22 audio DAC on the board and a typical 1/8" adapter allowing you to plug in headphones or typical PC speakers as shown below.

STM32F411 Connected to Speakers

Searching the web, I found a couple of code examples using audio with the…

Date: October 18th, 2017 at 7:04pm
Author: Terence Darwen
Tags: Embedded, STM32, STM32F4, ARM-Cortex-M4, CS43L22, Audio

Presenting at St. Louis C++ Meetup on August 9th

I'll be presenting some of my experiences using C++ for embedded development, specifically my ARM Cortex-M4F Synthesizer project, at the St. Louis C++ Meetup next month (August 2017). The meeting is free and open to the public. Please RSVP on the Meetup site here.

St. Louis C++ Meetup

My ARM Cortex-M4F Synthesizer (s…

Date: July 24th, 2017 at 10:10am
Author: Terence Darwen
Tags: C++, C++ Meetup, Embedded, Tiva LaunchPad, TM4C123G, ARM-Cortex-M4, Synthesizer, Synth

My ARM Cortex-M4F Synthesizer (Video Included)

Here's the current status of my ARM Cortex-M4F Synthesizer. Using a Tiva LaunchPad (ARM Cortex-M4F) development board and some various circuitry for MIDI input and audio output I've created a fully functioning synthesizer as shown in the video demonstration below.


The code is written in C…
Date: July 9th, 2017 at 4:59pm
Author: Terence Darwen
Tags: Embedded, Tiva LaunchPad, TM4C123G, ARM-Cortex-M4, Synthesizer, Synth, Sabbatical