User Tools

Site Tools


arduino:stm32_blue_pill

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
arduino:stm32_blue_pill [2021/07/02 18:46] – [Hardware] mithatarduino:stm32_blue_pill [2022/06/26 01:18] (current) – [STM32 "Blue Pill"] mithat
Line 3: Line 3:
 Some quick notes about setting up a STM32F103C8T6 [[https://wiki.stm32duino.com/index.php?title=Blue_Pill|"Blue Pill"]] for development on Arduino.((I got mine from https://www.ebay.com/itm/STM32F103C8T6-ARM-STM32-Minimum-System-Development-Board-Module-for-Arduino-US/191896085961)) Some quick notes about setting up a STM32F103C8T6 [[https://wiki.stm32duino.com/index.php?title=Blue_Pill|"Blue Pill"]] for development on Arduino.((I got mine from https://www.ebay.com/itm/STM32F103C8T6-ARM-STM32-Minimum-System-Development-Board-Module-for-Arduino-US/191896085961))
  
-<WRAP center round important 60%>+<WRAP center round info 60%>
 This page describes the process for settings things up with the [[https://github.com/rogerclarkmelbourne/Arduino_STM32|Arduino_STM32]] tools originally developed by Roger Clarke. **These tools are now effectively unsupported**. This page describes the process for settings things up with the [[https://github.com/rogerclarkmelbourne/Arduino_STM32|Arduino_STM32]] tools originally developed by Roger Clarke. **These tools are now effectively unsupported**.
  
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://www.sparkfun.com/products/14050|SparkFun Serial Basic]] configured for 3.3V. Only the TX and RX pins and, optionally, power will be used, so you should be able to use a standard FTDI board as well.+In addition to a "Blue Pill," you will need a **3.3V USB to serial converter**
 + 
 +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://www.sparkfun.com/products/14050|SparkFun Serial Basic]] configured for 3.3V. Only the TX and RX pins and, optionally, power will be used, so you should be able to use a standard FTDI board as well.
  
 <WRAP center round alert 90%> <WRAP center round alert 90%>
-=== Mind the voltages! === 
  
-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. +=== Mind the voltages! ===
  
-Lots of pins on the STM32F103C8T6 are purported to be 5V tolerant, but the main DC isn'tI don't know if TX/RX are.+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. //Carefully check your 3.3V serial converter board// to see whether the VCC output is 3.3V or 5V.
  
 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.
Line 30: Line 31:
   * Connect the serial converter's RX to the Blue Pill's ''A9''.   * Connect the serial converter's RX to the Blue Pill's ''A9''.
   * Connect the serial converter's TX to the Blue Pill's ''A10''.   * Connect the serial converter's TX to the Blue Pill's ''A10''.
-  * If you will be powering the Blue Pill from the serial converter board, connect VCC from the serial converter board to the ''3.3'' pin of the Blue Pill (or ''5V'' if your serial converter board only puts out 5V VCC).+  * If you will be powering the Blue Pill from the serial converter board, connect VCC from the serial converter board to the ''3.3'' pin of the Blue Pill if your serial converter board provides a 3.3V VCC output or the ''5V'' pin if your serial converter board only puts out 5V VCC.
  
 ==== Arduino environment ==== ==== Arduino environment ====
arduino/stm32_blue_pill.txt · Last modified: 2022/06/26 01:18 by mithat

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki