arduino:stm32_blue_pill
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
arduino:stm32_blue_pill [2020/09/20 20:42] – [STM32 "Blue Pill"] mithat | arduino:stm32_blue_pill [2021/10/03 19:53] – [Hardware] mithat | ||
---|---|---|---|
Line 3: | Line 3: | ||
Some quick notes about setting up a STM32F103C8T6 [[https:// | Some quick notes about setting up a STM32F103C8T6 [[https:// | ||
- | <WRAP center round info 60%> | + | <WRAP center round important |
- | This describes the process for settings things up using the now **unsupported** and obsolete | + | This page describes the process for settings things up with the [[https:// |
- | An alternative that is currently | + | The main alternative that //is// supported is the [[https:// |
</ | </ | ||
Line 13: | Line 13: | ||
==== Hardware ==== | ==== Hardware ==== | ||
- | In addition to a "Blue Pill," you will 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**. |
- | <WRAP center round important 90%> | + | Lots of pins on the STM32F103C8T6 are purported to be 5V tolerant. The main DC isn't, and I don't know if TX/RX are. So, play it safe and use a 3.3V serial converter. I used a [[https:// |
- | **Be careful!** | + | |
- | 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. | + | <WRAP center round alert 90%> |
- | Lots of pins on the STM32F103C8T6 are purported | + | === Mind the voltages! === |
+ | |||
+ | Some serial converter boards put out 5V as VCC even when set to 3.3V mode. Applying | ||
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. | 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 ground from the serial converter board to the '' | * Connect ground from the serial converter board to the '' | ||
* Connect the serial converter' | * Connect the serial converter' | ||
* Connect the serial converter' | * 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 '' | + | * If you will be powering the Blue Pill from the serial converter board, connect VCC from the serial converter board to the '' |
==== Arduino environment ==== | ==== Arduino environment ==== | ||
Line 49: | Line 52: | ||
===== 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 ===== | ||
Line 64: | Line 68: | ||
==== STM32duino ==== | ==== STM32duino ==== | ||
- | The [[https:// | + | <WRAP center round info 80%> |
+ | The [[https:// | ||
+ | </ | ||
* [[http:// | * [[http:// | ||
Line 76: | Line 82: | ||
==== Other ==== | ==== Other ==== | ||
- | * [[https:// | + | * [[https:// |
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
arduino/stm32_blue_pill.txt · Last modified: 2022/06/26 01:18 by mithat