Brian Lavery

Live Sites:

GitHub Code

Check all repositories, or see below some recent additions to github:


Very lean software-based Serial substitute on Arduino IDE. This library was designed for $3 STM32F030F4P6 ARM M0 board, which is limited to 16k of flash. This “baby” board has difficulty compiling the regular Serial function into your sketches. MiniSerial has a minimal flash footprint, and uses no interrupts. Its functions are simple, a subset of the “print()” type functions of regular Serial. Arduino_Core_STM32.


A lean library for Arduino STM32, to use the ubiquitous SSD1306 0.96″ I2C Oled display. Derived out of Daniel Turton’s OzOled project 2014/2015. The main target for this library was the $3 STM32F030F4P6 board, using Arduino IDE. This chip has small flash memory, and the established oled libraries are too large to compile into flash. miniOled has minimalist code (just enough to be useful). Arduino_Core_STM32

STM32F030F4P6 Arduino

This is an interim project for getting the STM32F030F4P6 Cortex-M0 “Minimum System Dev” or “Demo” board up and running on Arduino_Core_STM32. eBay and AliExpress are flooded with these boards for $2. This may be a capable 32-bit chip at 48MHz, but it is the baby of the STM32 line because of limited flash memory.

STM32F103C8T6 Arduino

Notes on using Arduino_Core_STM32 with “Bluepill”. Merely some personal jottings/observations/experiences using STM32F103, mostly as “Bluepill” 64k flash ‘F103C8T6. The ‘F103 is ST’s version of the arm M3 CPU.

STM32F407VG Arduino

Notes on getting the “DIY” / “DIY-MORE” Chinese ‘F407VG 1024k board working on Arduino_Core_STM32. bThis is an interim project for getting the $10 STM32F407VG Cortex-M4 Chinese board up and running on official STM32 core for Arduino IDE. This chip has a massive 1024k of flash and zillions of GPIO. The board is a breakout with zero frills.

STM32F407VG Micropython

Notes on putting micropython on STM32F407VG $10 bare board. A pyboard on steroids? Well, it has more GPIO pins, anyway. The DIY board MCU is ‘407VG. This is the same MCU as on the STM32 F4 Discovery board, which has a micropython firmware build. We can load that micropython binary on our DIY board.

The Other Story:

Falling Down To Earth 2010 (PDF 2.1MB)


2009-2010 – Free Radicals U3A

2013 – “Whitehats” – U3A class – Raspberry Pi

Virtual Gpio 2014

2014 – Arduino Geeks (U3A class)

2014-2015 – Bot Software – Raspberry Pi and Arduino

2016 – Bot Software – Internet of Things

Kinky Komputing 2017-18

In Praise of Idleness 2018