STM32 Arduino IDE Tutorial Getting started with stm32

preview_player
Показать описание
In this Arduino Tutorial, we are going to take a first look at the STM32 Arduino Compatible Board. This board is powerful and inexpensive. Let's see what it has to offer!

The board I bought, which is also called the blue pill because of the blue color of the PCB, features the STM32F103C8T6 chip, which is powerful, ARM processor! The board is tiny. It is slightly bigger than the Arduino Nano board. Apart from the chip itself, on the board, we can find an 8Mhz Crystal and a 32KHz crystal to drive the internal Real Time Clock. The board uses 3.3V logic levels, but most of its pins are 5V tolerant. Let’s now take a closer look at the heart of the board the STM32 chip.

The chip is a 32bit ARM processor which is clocked at 72MHz! The chip does not offer WiFi or Bluetooth, but it offers, 20KB of RAM and 64KB of Flash memory which is enough to build large projects. It also provides 37GPIO pins, 10 ADC pins, SPI, I2C, CAN, UART buses and a DMA controller. These are impressive specs for a chip that costs 3$. If we compare the specs of the STM32 with the specs of the Arduino Uno, we can see that this small board outperforms the Arduino Uno in every field. The frequency at which the STM32 chip operates is 4.5 times higher than the frequency that the Arduino Uno operates. So, we expect the STM32 to be at least 4.5 times faster than the Arduino Uno.

First of all, to upload a program to the board, we need a USB to Serial module like this one which uses the FTDI chip. We connect Vcc from the module to the 5V pin of the board. Next, we connect GND to GND. Now we need to connect the RX pin of the module to pin A9 of the board and the TX pin of the module to pin A10 of the board. The last step we have to do is to place this jumper to position one, so the module to enter the program mode. We press the RESET button once, and we are ready. Let’s go to the computer now.

instructables guide link-

STM32 BUYING LINK-

My previous Videos-Top 10 Basic electronics projects for beginner | Arduino Projects by electronic GURU

How to use Arduino on proteus | Arduino simulation on proteus by electronic GURU

Top 10 Arduino Projects for Beginners by electronic GURU

Arduino game project | Replica Flappy Bird game | 2 4"TFT Touchscreen SPFD5408 by electronic GURU

WLtoys A959 Vortex Review and Run | 50kmph speed cheapest and best RC car by electronic GURU

Arduino NRF24L01 transitter receiver project | NRF24L01 2 4GZ tutorial by electronic GURU

LED programmable message fan | DIY programmable message usb fan | usb message LED fan | pov fan pers

Homemade Powerbank | make a powerbank at home | make a powerbank very easy

What is Arduino?Arduino Projects? Explained in hindi Must watch

Make an Android app very easy tutorial #5 using processing ide by electronic GURU

Homemade bluetooth portable mini speakers very easily DIY

Robotics competition yantragene 2017 at a glance

Make in india or Made in india or made in china explained in hindi

BTS 06 Waterproof Bluetooth speaker Review

Homemade Portable Speaker cheap and easy DIY

bluetooth speaker unboxing BTS mini

Top 10 Arduino projects by genius YouTubers

RC car first jump -50kmph

Make an Android app very easy tutorial #4 using processing ide make pong game by electronic GURU

Finally, my bird flew

Make an Android app very easy tutorial #3 using processing ide. by electronic GURU

YANTRAGENE 2k17

FROG robot Basic Biped robot

Рекомендации по теме
Комментарии
Автор

will you make STM32 lessons on Arduino IDE as series?

onurolce
Автор

I watched a few videos but your demonstration was the easiest to follow and i was able to setup the Generic STM32f103 board. thank you for sharing

ECOENERGI
Автор

I was able to follow the instructions and program the device with the FTDI programming device. Thanks for the video.

henninb
Автор

Saved me some stress during 3 hours. Thanks

NewYorkeez
Автор

Hi GURU, very nice video, Dear GURU I'm from Afghanistan and I'm totally new in India, Can you please tell me where can I find Electronics shops or where are the shops in Delhi for electronics parts please.

ghafoorsamadi
Автор

Are you left-handed?
I am also left-handed :)

sergioares
Автор

wow sir
it's very interesting
great concept

technolabcreation
Автор

thanks, very much helpful.... love u.. :)

batcircuit
Автор

I follow you all the way until you cut and paste(where did you get the address in ure Notepad)I’m lost up until that point

asulliv
Автор

Arduino: 1.6.4 (Windows 8.1), Board: "Generic STM32F103C series, STM32F103C8 (20k RAM. 64k Flash), Serial, 72Mhz (Normal), Smallest (default)"

Cannot run program (in directory "."): CreateProcess error=2, The system cannot find the file specified

This WAS THE ERROR MASSAGE FROM ARDUINO IDE, WHAT SHULD I DO??

puneetmudgal
Автор

hi friend nice tutorial. i have purchased one STM 32 but i am stucked at a place. STM 32 do not have AREF pin. or may be i dont know which pin serves as aref loke in arduino nano. can you help me please.

santoshbabu
Автор

Its great that people from India are great at tech. but it is a problem to understand. If you guys could speak slower and try to generate the words so most of us could understand it that would be great, dont miss understand me, i am Mexican, but i speak english slowly so everyone can understand me! thanks for your understanding, transmit info along fellow friends.

fecheverria
Автор

Please stm32 led pixel led design software detail

samirdas
Автор

Hi really interesting video and I wanted to congratulate. If it was possible I wanted to ask you a technical support regarding the connection of esp8266 to stm32, since I would have to program it to manage relays with Blynk App via an I2C multiplex, it would be the mcp23017 chip. Thank you very much for your attention I await your response if possible.

Elettronica-xtnm
Автор

Can work any touch screen on this module?

davidb
Автор

hi, , , Have any idea why I can not see my stm32 board?

buiciucdaniel
Автор

Hi. Can we program it using Cube MX or any other software than Arduino IDE?

ashishbhardwaj
Автор

Hello electronic GURU. I am new to this" micro-things" so I have to ask you a question. On this STM32F103C8T6 board has a built-in Micro-USB port to supply power. Is there anyway to use that Micro-USB port to upload sketch from Arduino IDE? I have follows some post from google by uploaded a USB boot loader "generic_boot20_pc13.bin" to the board via ST-LINK V2 & STM32 ST-LINK Utility but it seem not working. If you ever tried this successful please make a video step by step for beginner! Thanks in advance.

hieuphan