Getting Started With Stm32 Using Arduino IDE

by electronicGURU in Circuits > Microcontrollers

109759 Views, 28 Favorites, 0 Comments

Getting Started With Stm32 Using Arduino IDE

STM32 Arduino IDE Tutorial Getting started with stm32

STM32 Is quite powerful and popular board supported by Arduino IDE.

But to use it you need to install the boards for stm32 in Arduino IDE so in this instructables i'll tell how to install stm32 boards and how to program it.

Install STM32 in Arduino IDE

menu_bm.png
Screenshot_20180714-174536.png
Screenshot_20180714-174624.png
Screenshot_20180714-174637.png

BUy STM32 :
https://www.utsource.net/itm/p/8673525.html

BUY USB CABLE:

https://www.utsource.net/itm/p/8566534.html

BUY FTDI:"
https://www.utsource.net/itm/p/7958953.html

//////////////////////////////////////////////////////////////////////////////

1- Launch Arduino.cc IDE. Click on "File" menu and then "Preferences".

The "Preferences" dialog will open, then add the following link to the "Additional Boards Managers URLs" field:

"http://dan.drown.org/stm32duino/package_STM32duino_index.json"

Click "Ok"

2- Click on "Tools" menu and then "Boards > Boards Manager"

The board manager will open and you will see a list of installed and available boards.

Select the "STM32 F103Cxxx" and click on install.

After installation is complete an "INSTALLED" tag appears next to the core name.

You can close the Board Manager.

Now you can find the STM32 boards package in the "Board" menu.

Select the desired boards series : STM32F103Cxxx

Select the board

Connection for Programming

arduino_stm32f103c8t6.jpg

To program the stm32 you need to follow these given circuit .To program it you need to get Stm32 obviously and other one is usb to ttl converter, you can get it from the given link :-

https://www.banggood.com/STM32F103C8T6-Small-Syste...

https://www.banggood.com/STM32F103C8T6-System-Boar...

Usb to ttl :

https://www.banggood.com/FT232RL-FTDI-USB-To-TTL-S...

https://www.banggood.com/3_3V-or-5_5V-USB-Programm...

Upload the Code

Screenshot_20180714-180145.png
Screenshot_20180714-180206.png
STM32 Arduino IDE Tutorial Getting started with stm32

so if everything is done now to go to tools and set everything according to your board as i did you can see the pic and hit upload and if you code will get uploaded you'll Onboard LED will be blinking as mine and if having problem then refer video for help.

Thanks for taking a look at my instructables.