Cov txheej txheem:

Yuav Ua Li Cas Program ESP32 M5Stack StickC Nrog Arduino IDE thiab Visuino: 12 Kauj Ruam
Yuav Ua Li Cas Program ESP32 M5Stack StickC Nrog Arduino IDE thiab Visuino: 12 Kauj Ruam

Video: Yuav Ua Li Cas Program ESP32 M5Stack StickC Nrog Arduino IDE thiab Visuino: 12 Kauj Ruam

Video: Yuav Ua Li Cas Program ESP32 M5Stack StickC Nrog Arduino IDE thiab Visuino: 12 Kauj Ruam
Video: Как подключить встроенный Bluetooth ESP32 к смартфону 2024, Kaum ib hlis
Anonim
Image
Image
Koj Yuav Tsum Tau Dab Tsi
Koj Yuav Tsum Tau Dab Tsi

Hauv qhov kev qhia no peb yuav kawm paub yuav ua haujlwm ESP32 M5Stack StickC nrog Arduino IDE thiab Visuino li cas.

Saib daim vis dis aus.

Kauj ruam 1: Yam Koj Yuav Tsum Tau

Koj Yuav Tsum Tau Dab Tsi
Koj Yuav Tsum Tau Dab Tsi
  1. M5StickC ESP32: koj tuaj yeem tau txais nws ntawm no
  2. Visuino program: Rub tawm Visuino

Kauj ruam 2: Nruab Arduino IDE

Nruab Arduino IDE
Nruab Arduino IDE
Nruab Arduino IDE
Nruab Arduino IDE
Nruab Arduino IDE
Nruab Arduino IDE
Nruab Arduino IDE
Nruab Arduino IDE

Qhib koj tus browser, thiab mus ntsib Arduino lub vev xaib raug cai

  1. nyem "Windows installer, rau Windows XP thiab nce" download Arduino IDE
  2. nyem JUST DOWNLOAD (lossis pab yog tias koj nyiam)
  3. Ob npaug nias Arduino installer (Nws yog qhov yooj yim tshaj plaws los khaws qhov kev xaiv ua tiav thoob plaws cov txheej txheem no, suav nrog txoj kev teeb tsa.)

Kauj Ruam 3: Hauv Arduino IDE: Nruab ESP32 Boards Manager

Hauv Arduino IDE: Nruab ESP32 Boards Manager
Hauv Arduino IDE: Nruab ESP32 Boards Manager
Hauv Arduino IDE: Nruab ESP32 Boards Manager
Hauv Arduino IDE: Nruab ESP32 Boards Manager
Hauv Arduino IDE: Nruab ESP32 Boards Manager
Hauv Arduino IDE: Nruab ESP32 Boards Manager
  1. Qhib Arduino IDE, thiab mus rau Cov Ntaub Ntawv -> Nyiam -> Chaw
  2. Ntxiv ESP32 Tus Thawj Saib Xyuas Haujlwm URL Luam qhov txuas no rau ESP32 Tus Thawj Saib Xyuas Haujlwm URL rau Tus Thawj Saib Xyuas Ntxiv URLs ESP32 Tus Thawj Saib Xyuas Haujlwm url: https://dl.espressif.com/dl/package_esp32_index.json Tom qab ntawv nyem OK
  3. Nkag mus rau Cov Cuab Yeej -> Pawg Thawj Coj: -> Tus Thawj Saib Xyuas Haujlwm …
  4. Nrhiav ESP32 hauv Boards Manager qhov rai, nrhiav nws thiab nyem Nruab

Kauj ruam 4: Nruab Visuino IDE

Nruab Visuino IDE
Nruab Visuino IDE
Nruab Visuino IDE
Nruab Visuino IDE
  1. Mus ntsib nplooj ntawv rub tawm, thiab rub tawm qhov hloov tshiab kawg
  2. Extract thiab khiav qhov teeb tsa

Qhov ua tsis tiav yuav tsum ua haujlwm zoo

  • Nws yuav sim txheeb xyuas qhov chaw ntawm Arduino Library Path. Tshwj tsis yog tias koj hloov nws nws yuav tsum yog nyob hauv C: / Cov neeg sivCov ntaub ntawv thiab tus nruab yuav pom nws raug.
  • Tua tawm Visuino!

Kauj ruam 5: Txuas M5Stick-C rau Computer

Txuas M5Stick-C rau Computer
Txuas M5Stick-C rau Computer

Txuas M5Stick-C rau koj lub khoos phis tawj Windows ntawm suav nrog USB-C cable Windows yuav tsum pom nws thiab teeb tsa cov tsav tsheb cia-koj yuav xav tau rov pib dua. Yog tias tus neeg tsav tsheb teeb tsa kom raug koj yuav pom nws tshwm nyob rau hauv Device Manager li USB Serial Port

- Windows yuav tsum txheeb xyuas nws thiab teeb tsa cov tsav tsheb cia - koj yuav xav tau rov pib dua. Yog tias tus neeg tsav tsheb teeb tsa kom raug koj yuav pom nws tshwm nyob rau hauv Device Manager li USB Serial Port

- Yog tias koj nyob ntawm qhov Windows ua ntej Windows 10 ces koj yuav xav tau teeb tsa tus tsav tsheb, txawm hais tias kuv xav kom koj hloov kho! [Legacy Windows tsav tsheb]

Kauj Ruam 6: Pib Visuino, thiab Xaiv M5 Stack Stick C Board Type

Pib Visuino, thiab Xaiv M5 Stack Stick C Board Type
Pib Visuino, thiab Xaiv M5 Stack Stick C Board Type
Pib Visuino, thiab Xaiv M5 Stack Stick C Board Type
Pib Visuino, thiab Xaiv M5 Stack Stick C Board Type

Pib Visuino raws li pom hauv thawj daim duab Nyem rau ntawm "Cuab Yeej" khawm ntawm Arduino tivthaiv (Daim duab 1) hauv Visuino Thaum qhov kev sib tham tshwm, xaiv "M5 Stack Stick C" raws li qhia hauv daim duab 2

Kauj Ruam 7: Hauv Visuino Ntxiv Cheebtsam thiab Txuas Rau Lawv

Hauv Visuino Ntxiv Cheebtsam thiab Txuas Rau Lawv
Hauv Visuino Ntxiv Cheebtsam thiab Txuas Rau Lawv
Hauv Visuino Ntxiv Cheebtsam thiab Txuas Rau Lawv
Hauv Visuino Ntxiv Cheebtsam thiab Txuas Rau Lawv
Hauv Visuino Ntxiv Cheebtsam thiab Txuas Rau Lawv
Hauv Visuino Ntxiv Cheebtsam thiab Txuas Rau Lawv
  1. Los ntawm cov khoom sib xyaw xim xaiv Pulse Generator
  2. Txuas lub Pulse Generator rau tus pin LED

Kauj Ruam 8: Tsim, Ua Ke, thiab Tshaj Tawm Arduino Code

Tsim, Sau, thiab Tso Tawm Arduino Code
Tsim, Sau, thiab Tso Tawm Arduino Code
Tsim, Sau, thiab Tso Tawm Arduino Code
Tsim, Sau, thiab Tso Tawm Arduino Code
  1. Nyem rau Arduino lub cim ntawm lub cuab yeej, qhov no yuav tsim cov cai thiab qhib Arduino IDE. Lub pob nyob ib sab ntawm nws yuav suav sau thiab xa cov cai ncaj qha mus rau lub cuab yeej. Koj yuav xav qhib IDE thawj zaug kom ntseeg tau tias qhov chaw nres nkoj COM tau teeb tsa raug. Tom qab ntawd Arduino IDE yuav txuag koj cov chaw.
  2. Ib zaug hauv Arduino IDE xyuas kom tseeb tias koj lub Rooj Tswjhwm Saib, Kev Ceev, thiab Chaw Nkoj tau teeb tsa kom raug. Koj yuav zoo li yuav tsum teeb tsa COM chaw nres nkoj los ntawm cov ntawv qhia zaub mov, tab sis lwm qhov yuav tsum tau teeb tsa cia. Yog tias koj muaj ntau dua ib qho chaw nres nkoj COM sim tshem koj li M5Stick, saib thiab pom cov chaw nres nkoj twg tseem nyob, tom qab ntawd rov txuas M5Stick thiab pom qhov twg rov qab los. Qhov ntawd yog nws qhov chaw nres nkoj COM.
  3. Tom qab ntawd nyem Upload. Qhov no yuav Txheeb Xyuas (suav sau) thiab Tshaj Tawm.

Kauj ruam 9: Ua si

Yog tias koj siv lub zog M5Sticks, cov LEDs yuav tsum pib ntsais muag.

Nrog koj zoo siab! Koj tau ua tiav koj txoj haujlwm M5Sticks nrog Visuino. Kuj txuas nrog yog Visuino qhov haujlwm, uas kuv tau tsim rau qhov Qhia Qhia no. Koj tuaj yeem rub tawm thiab qhib nws hauv Visuino:

Kauj ruam 10: Teeb meem

Teeb meem
Teeb meem

Kuv tau sim thiab them tag nrho M5Sticks lawm, tab sis qee zaum yog tias lub roj teeb ntws tag lawv tsis xav qhib thiab them. Cov kauj ruam no yuav rov ua haujlwm ib txwm muaj (tseem kuaj cov kauj ruam no).

  • Luv BAT rau GND.
  • Ntxig rau USB cable.
  • Tom qab lub vijtsam raug teeb, nres kom luv thiab USB txuas ntxiv them lub cuab yeej.

Kauj Ruam 11: Cov Lus Qhia Ntxiv

Ntau tshaj li cov ntaub ntawv txaus los cuam tshuam koj txog M5Stick thiab Visuino!

Nov yog M5Stick-C Phau Ntawv Qhia Pib Pib sai rau Windows Arduino kev txhim kho

Nov yog cov ntaub ntawv ntxaws M5Stick-C

7 Part Beginner Visuino series

Cov ntaub ntawv Visuino

Mitov Software thiab Visuino Blog (xov xwm zoo li Hloov Kho thiab tshaj tawm tshiab)

Piv txwv Visuino:

www.instructables.com/id/Programming-Arduino-With-Visuino/https://www.youtube.com/playlist?list=PLymDIvwzJQlvPOzc3AdtzO6LXbnk-NFPThttps://hackaday.io/projects?tag=visuino

Visuino MeWe zej zog

Kauj Ruam 12: Ua tsaug ntau

Txhua qhov txiaj ntsig rau qhov kev qhia no mus rau Jim McKeeth (Tus sau ntawm thawj qhov kev qhia) thiab Boian Mitov (Tus tsim tawm Visuino).

Pom zoo: