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 [2019/11/05 21:55] – mithat | ||
---|---|---|---|
Line 4: | Line 4: | ||
===== Setup ===== | ===== Setup ===== | ||
- | |||
- | ==== Arduino environment ==== | ||
- | |||
- | Do once: | ||
- | |||
- | * Under //Files > Preferences//, | ||
- | * Under //Tools > Board > Boards Manager ...//, find " | ||
==== Hardware ==== | ==== Hardware ==== | ||
- | You'll need a "Blue Pill." | + | In addition to a "Blue Pill," |
<WRAP center important 90%> | <WRAP center important 90%> | ||
- | Lots of pins on the STM32F103C8T6 are purported | + | Be careful! Some serial converter boards put out 5V as VCC even when set to 3.3V mode. Applying |
- | 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. | + | 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. | ||
</ | </ | ||
- | * Connect | + | * Connect ground from the serial converter board to the '' |
- | * 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 '' | ||
+ | |||
+ | ==== Arduino environment ==== | ||
+ | |||
+ | Do once: | ||
+ | |||
+ | * Under //Files > Preferences//, | ||
+ | * 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