Cov txheej txheem:

Pib Nrog Stm32 Siv Arduino IDE: 3 Kauj Ruam
Pib Nrog Stm32 Siv Arduino IDE: 3 Kauj Ruam

Video: Pib Nrog Stm32 Siv Arduino IDE: 3 Kauj Ruam

Video: Pib Nrog Stm32 Siv Arduino IDE: 3 Kauj Ruam
Video: Pib Tshiab Nrog Kuv- hu: CM XIONG Feat.NIKKI THAO [ Official Audio] 2023 2024, Kaum ib hlis
Anonim
Image
Image

STM32 Yog lub zog muaj txiaj ntsig zoo thiab tau txhawb nqa los ntawm Arduino IDE.

Tab sis txhawm rau siv nws koj yuav tsum teeb tsa cov laug cam rau stm32 hauv Arduino IDE yog li hauv cov lus qhia no kuv yuav qhia yuav ua li cas teeb tsa stm32 cov laug cam thiab yuav ua li cas rau nws.

Kauj Ruam 1: Nruab STM32 hauv Arduino IDE

Nruab STM32 hauv Arduino IDE
Nruab STM32 hauv Arduino IDE
Nruab STM32 hauv Arduino IDE
Nruab STM32 hauv Arduino IDE
Nruab STM32 hauv Arduino IDE
Nruab STM32 hauv Arduino IDE

YUAV STM32:

MUAJ USB CABLE:

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

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

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

1- Tua tawm Arduino.cc IDE. Nyem rau ntawm "File" menu thiab tom qab ntawv "Preferences".

Qhov "Nyiam" cov lus sib tham yuav qhib, tom qab ntawd txuas qhov txuas hauv qab no mus rau "Ntxiv Cov Thawj Tswj Xyuas URLs" teb:

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

Nyem "Ok"

2- Nyem rau ntawm "Cov cuab yeej" ntawv qhia zaub mov thiab tom qab ntawd "Boards> Boards Manager"

Tus thawj tswj hwm pawg thawj coj yuav qhib thiab koj yuav pom cov npe teev npe thiab muaj cov laug cam.

Xaiv "STM32 F103Cxxx" thiab nyem rau nruab.

Tom qab kev teeb tsa ua tiav ib qho "INSTALLED" tag tshwm nyob ib sab ntawm lub npe tseem ceeb.

Koj tuaj yeem kaw Tus Thawj Saib Xyuas Haujlwm.

Tam sim no koj tuaj yeem pom STM32 cov laug cam pob hauv "Board" ntawv qhia zaub mov.

Xaiv cov laug cam uas xav tau: STM32F103Cxxx

Xaiv lub rooj tsavxwm

Kauj Ruam 2: Kev Sib Txuas rau Programming

Kev sib txuas rau Programming
Kev sib txuas rau Programming

Txhawm rau program stm32 koj yuav tsum ua raws cov kab lus no muab rau. Txhawm rau program nws koj yuav tsum tau txais Stm32 pom tseeb thiab lwm qhov yog usb rau ttl hloov pauv, koj tuaj yeem tau txais nws los ntawm qhov muab txuas:-

www.banggood.com/STM32F103C8T6-Small-Syste…

www.banggood.com/STM32F103C8T6-System-Boar…

Usb to ttl:

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

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

Kauj ruam 3: Upload Code

Image
Image
Rub tawm Txoj Cai
Rub tawm Txoj Cai

yog li yog txhua yam ua tiav tam sim no mus rau cov cuab yeej thiab teeb tsa txhua yam raws li koj lub rooj tsav xwm ib yam li kuv tau ua koj tuaj yeem pom daim duab thiab ntaus upload thiab yog tias koj tus lej yuav raug xa tawm koj yuav Onboard LED yuav ntsais muag li kuv thiab yog tias muaj teeb meem ces xa video rau kev pab.

Ua tsaug rau kev saib kuv cov ntawv qhia.

Pom zoo: