johnridley: (Bender)
[personal profile] johnridley
I've had one of these sitting around for over a year but never did anything with it.

Thanks to GreatScott! on YouTube, I'm playing with it now. I support GreatScott! on Patreon and suggest you consider it as well.

Link to GreatScott!'s video

I'm just going to put down the steps that he followed here, because it's more convenient for me to have the steps in print rather than on a video.

The board




Get a USB to serial converter, set it to 3.3V - IMPORTANT. The STM32 is NOT 5V tolerant, 5V will kill it!

Ground -> ground
3.3v -> 3.3v
TX -> A10
RX -> A9

Connect to computer
Start Arduino

File -> Preferences, then put this URL in Additional Board Manager URLs:
http://dan.drown.org/stm32duino/package_STM32duino_index.json
Click OK

Tools ->Boards -> Board Manager

Find and select this link:



Click "install"

Click OK.

Enter this sketch:

void setup() {
pinMode(PA6, OUTPUT);
}

void loop() {
digitalWrite(PA6, HIGH);
delay(1000);
digitalWrite(PA6, LOW);
delay(1000);
}

Attach an LED and resistor in series between ground an A6 (positive to A6)

Move BOOT0 jumper (the one on the opposite side from the reset button) to 1
Tools -> Board -> Generic STM32F103C series
Tools -> Variant -> STM32F103C8
Tools -> CPU speed: 72 MHz (normal)
Tools -> Upload method: Serial
Tools -> Port (whichever one your serial board is on)

Compile and upload

To save the sketch on the board, move BOOT0 back to 0. If you don't the sketch disappears as soon as the board is power cycled or reset.

Resources:
MUST HAVE: The Generic STM32F103 pinout diagram
GreatScott!'s video is here
LeafLabs documentation

February 2026

S M T W T F S
123456 7
891011 121314
15161718192021
22232425262728

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Feb. 14th, 2026 08:51 am
Powered by Dreamwidth Studios