Hi Guys since a lot of people use arduino boards but as we know they have some limitations so few other boards came into light as an arduino alternative which can deliver better performance and better features than an Arduino and one of them is STM32. STM32 board is even cheaper than Arduino uno and its capabilities are way better than An arduino uno but since they are not natively supported by Arduino IDE we need to add them manually to Arduino IDE. So in this instructables we will add STM32 boards to Arduino IDE & we will program this board using Arduino IDE.
Step 1: Things You Need
For this instructables we will need following things :
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
Step 4: Connections for Programming the Board
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, so get a USB to TTL converter and follow the shown schmatics.
Step 5: Programming the Board
Now open the blink sketch in your arduino IDE and change the pin no to "PC13" because the onboard led of stm32 is on PC13 pin then select the settings in tools section ( like : boards,com port, upload method etc. According to shown image) & Upload the code to your stm32 and the onboard pc13 led will start blinking as mine in images ( sorry about the image quality ) and even to see it blinking propely you can add a external LED to PC13 as well. So have fun making projects with STM32 BOARD.