

- ARDUINO MINI USB ADAPTER SPARKWIRE INSTALL
- ARDUINO MINI USB ADAPTER SPARKWIRE CODE
- ARDUINO MINI USB ADAPTER SPARKWIRE SERIES
NOTE: Using JLink / ST-Link dongle to program the board will erase the Arduino bootloader.ĭownload and install STM32CubeProg from ST.com:

STM32 Emulator And Programmer Dongle (Windows only) You should see the blue LED blink at 0.1 second interval.Ģ.
ARDUINO MINI USB ADAPTER SPARKWIRE CODE
PinMode(PB2, OUTPUT) // LED connect to pin PB2ĭigitalWrite(PB2, HIGH) // turn the LED on (HIGH is the voltage level)ĭigitalWrite(PB2, LOW) // turn the LED off by making the voltage LOWĬlick on the upload button to compile and upload the code to STM32 Blue Pill. initialize digital pin PB2 as an output. For Windows, you can check the assigned COM port in Device Manager.Ĭreate new sketch and copy / paste the code below: USB Support, select CDC (generic "Serial" supersede U(S)ART)įinally select COM port that is assigned to the STM32 Blue Pill. Tools > Board Part Number > Blue Pill F103C8
ARDUINO MINI USB ADAPTER SPARKWIRE SERIES
Tools > Board > STM32 Board, select Generic STM32F1 series Setup Arduino IDEĬonnect STM32 Blue Pill to your computer USB port. NOTE: Using JLink / ST-Link dongle or USB to 3.3V TTL adapter to program the board will erase this bootloader. The STM32 Blue Pill is pre-flashed with Arduino bootloader which allows you to download the sketch through the Type-C connector. Once the installation is completed, quit and restart the Arduino IDE.ġ. There are a few megabytes of data to download and install, so be patient. STM32, select latest version and click Install. If the text box is not empty, you can separate the URLs with a comma. You can get the latest version from the official Arduino website:įollow the link below to install the Arduino IDE: The first thing you need to do is to download and install the Arduino IDE to your computer. ST-Link compatible emulator and programmer.In the following guide, we will cover three common methods of downloading the sketch in Arduino IDE: There are several ways to program the STM32 Blue Pill with Arduino IDE - some require external hardware, others just need an USB cable. Unlike the common Arduino board which is easy to use, programming the STM32 Blue Pill can be confusing especially for a new user. STM32 Blue Pill is a feature-rich development board based on STM32F103C8T6 processor - a 32-bit ARM Cortex M3 processor running at 72MHz frequency.
