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
Next revisionBoth sides next revision
arduino:stm32_blue_pill [2018/11/05 22:06] – [Resources] mithatarduino:stm32_blue_pill [2019/01/03 04:26] – [Programming] mithat
Line 14: Line 14:
 ==== Hardware ==== ==== Hardware ====
  
-In addition to your "Blue Pill," you will also 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 power, TX and RX pins will be used, so you should be able to use a standard FTDI board as well. (You probably don't have to power it from the board either.)+In addition to your "Blue Pill," you will also 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 power, TX and RX pins will be used, so you should be able to use a standard FTDI board as well.
  
 <WRAP center important 90%> <WRAP center important 90%>
-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.+Some serial converter boards put out 5V as VCC even when set in 3.3V mode. Be careful!
  
-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.+Applying 5V to the 3.3V main supply line of 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.
 </WRAP> </WRAP>
  
-  * Connect VCC and ground from the serial converter board to the ''3.3'' and ''GND'' pins of the Blue Pill.+  * Connect VCC and ground from the serial converter board to the ''3.3'' and ''GND'' pins of the Blue Pill (or ''5V'' and ''GND'' if your serial converter board puts out 5V even in 3.3V mode).
   * Connect the serial converter's RX to the Blue Pill's ''A9'' and TX to ''A10''.   * Connect the serial converter's RX to the Blue Pill's ''A9'' and TX to ''A10''.
  
Line 36: Line 40:
 ===== Programming ===== ===== Programming =====
  
-  * Move the top jumper to the 1 (rightposition.+  * Move the top jumper (i.e., the one furthest from the Reset button) to the 1 position (i.e., closest to the microcontroller).
   * Push reset.   * Push reset.
   * Upload the sketch.   * Upload the sketch.
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