arduino:stm32_blue_pill
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
arduino:stm32_blue_pill [2019/10/02 13:13] – [Resources] mithat | arduino:stm32_blue_pill [2021/07/02 18:45] – [STM32 "Blue Pill"] mithat | ||
---|---|---|---|
Line 3: | Line 3: | ||
Some quick notes about setting up a STM32F103C8T6 [[https:// | Some quick notes about setting up a STM32F103C8T6 [[https:// | ||
- | ===== Setup ===== | + | <WRAP center round important 60%> |
+ | This page describes the process for settings things up with the [[https:// | ||
- | ==== Arduino environment ==== | + | The main alternative that //is// supported is the [[https:// |
+ | </ | ||
- | Do once: | + | ===== Setup ===== |
- | + | ||
- | * Under //Files > Preferences//, | + | |
- | * Under //Tools > Board > Boards Manager ...//, find " | + | |
==== Hardware ==== | ==== Hardware ==== | ||
- | In addition to your "Blue Pill," you will also need a **3.3V USB to serial converter**. I used a [[https:// | + | In addition to a "Blue Pill," you will need a **3.3V USB to serial converter**. I used a [[https:// |
- | <WRAP center | + | <WRAP center |
- | Some serial converter boards put out 5V as VCC even when set to 3.3V mode. Be careful! | + | **Mind the voltages!** |
- | Applying 5V to the 3.3V main supply line of Blue Pill will kill it. | + | Some serial converter boards put out 5V as VCC even when set to 3.3V mode. Applying 5V to the 3.3V main supply line of a Blue Pill will kill it. |
- | There is a 5V input on the Blue Pill and a USB connector that can power the board from 5V. These go through a small 3.3V regulator. | + | Lots of pins on the STM32F103C8T6 are purported to be 5V tolerant, but the main DC isn't. I don't know if TX/RX are. |
- | Lots of pins on the STM32F103C8T6 are purported to be 5V tolerant, but the main DC isn't! I don't know if TX/RX are. | + | There is a 5V input on the Blue Pill and a USB connector that can power the board from 5V. These go through a small 3.3V regulator. |
</ | </ | ||
- | | + | === Connections === |
- | * Connect the serial converter' | + | |
+ | | ||
+ | * Connect the serial converter's RX to the Blue Pill's '' | ||
+ | * Connect the serial converter' | ||
+ | * If you will be powering the Blue Pill from the serial converter board, connect VCC from the serial converter board to the '' | ||
+ | |||
+ | ==== Arduino environment ==== | ||
+ | |||
+ | Do once: | ||
+ | |||
+ | * Under //Files > Preferences//, | ||
+ | * Under //Tools > Board > Boards Manager ...//, find " | ||
==== Project config ==== | ==== Project config ==== | ||
Line 41: | Line 51: | ||
===== Programming ===== | ===== Programming ===== | ||
- | * Move the top jumper (i.e., the one furthest from the Reset button) to the 1 position (i.e., closest to the microcontroller IC). | + | * Move the BOOT0 jumper (i.e., the one furthest from the Reset button) to the 1 position (i.e., to the 3.3V pin, closest to the microcontroller IC). |
* Push reset. | * Push reset. | ||
- | * Upload the sketch. | + | * Upload the sketch. It should start running. |
- | | + | |
+ | To re-upload, push reset and upload. | ||
- | To put the device into " | + | To put the device into " |
===== Pinout ===== | ===== Pinout ===== | ||
- | From [[https:// | + | From [[https:// |
{{: | {{: | ||
===== Resources ===== | ===== Resources ===== | ||
- | Note that the stm32duino.com domain | + | |
+ | ==== STM32duino ==== | ||
+ | <WRAP center round info 80%> | ||
+ | The [[https:// | ||
+ | </ | ||
* [[http:// | * [[http:// | ||
- | | + | |
- | * [[https:// | + | * [[https:// |
* [[https:// | * [[https:// | ||
- | * [[https://wiki.stm32duino.com/images/ | + | * [[https://github.com/rogerclarkmelbourne|GitHub repositories]] for Roger Clarke' |
- | * [[https://github.com/stm32duino|GitHub repositories]] | + | * [[https://github.com/ |
+ | |||
+ | |||
+ | |||
+ | ==== Other ==== | ||
+ | * [[https://stm32-base.org| STM32-base]] isn't directed at people using Arduino for STM32 development, | ||
+ | * [[https://stm32-base.org/boards/ | ||
+ | * [[https://stm32-base.org/boards/ |
arduino/stm32_blue_pill.txt · Last modified: 2022/06/26 01:18 by mithat