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 [2018/10/26 22:13] – [STM32 "Blue Pill"] mithat | arduino:stm32_blue_pill [2020/02/27 18:00] – mithat | ||
---|---|---|---|
Line 5: | Line 5: | ||
===== Setup ===== | ===== Setup ===== | ||
- | ==== Arduino environment | + | ==== Hardware |
- | Do once: | + | In addition to a "Blue Pill," you will need a **3.3V USB to serial converter**. I used a [[https:// |
- | * Under // | + | <WRAP center round important 90%> |
- | * Under //Tools > Board > Boards Manager ...//, find " | + | 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. |
- | ==== Hardware ==== | + | 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. |
- | You'll need a "Blue Pill." You will also need a **3.3V | + | There is a 5V input on the Blue Pill and a USB connector that can power the board from 5V. These go through |
+ | </ | ||
- | <WRAP center important 90%> | + | * Connect ground from the serial converter board to the '' |
- | Lots of pins on the STM32F103C8T6 are purported | + | * 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 '' | ||
- | There is a 5V input on the board and a USB connector that can power the board. These are purported to go through a small 3.3V regulator. | + | ==== Arduino environment ==== |
- | </ | + | |
- | | + | Do once: |
- | * Connect | + | |
+ | | ||
+ | * Under //Tools > Board > Boards Manager ...//, find " | ||
==== Project config ==== | ==== Project config ==== | ||
Line 29: | Line 33: | ||
* //Board// : " | * //Board// : " | ||
- | * //Variant// : " | + | * //Variant// : " |
* //Upload method// : " | * //Upload method// : " | ||
+ | * //CPU Speed(MHz)// | ||
* // | * // | ||
* //Port// : wherever the serial converter is plugged into | * //Port// : wherever the serial converter is plugged into | ||
Line 36: | Line 41: | ||
===== Programming ===== | ===== Programming ===== | ||
- | * Move the top jumper to the 1 (right) position. | + | * Move the top jumper |
* Push reset. | * Push reset. | ||
* Upload the sketch. | * Upload the sketch. | ||
Line 43: | Line 48: | ||
To put the device into " | To put the device into " | ||
- | + | ===== Pinout ===== | |
+ | From [[https:// | ||
+ | {{: | ||
+ | |||
+ | |||
+ | ===== Resources ===== | ||
+ | |||
+ | ==== STM32duino ==== | ||
+ | Note that the stm32duino.com domain has [[https:// | ||
+ | |||
+ | * [[http:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | |||
+ | ==== Other ==== | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// |
arduino/stm32_blue_pill.txt · Last modified: 2022/06/26 01:18 by mithat