Brian Lavery

Recent Archives:

GitHub Code

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

Note all my github code projects are no longer actively maintained.


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.  NO LONGER RELEVANT – THE OFFICIAL SOFTWARE NOW HAS SUPPORT FOR HIS BOARD.

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.  This 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.

Samd21 M0 Mini with Arduino or CircuitPython

Notes on running either Arduino sketches or Adafruit’s CircuitPython on Chinese SAMD21 M0 Mini “Arduino Zero Compatible” board. The MCU is ATSAMD21G18 with 256K of flash, which proved JUST enough to run CircuitPython.

Older Archives:

All Deleted.  Life moves on!