Cov txheej txheem:

Pib Nrog Esp 8266 Esp-01 Nrog Arduino IDE - Txhim Kho Esp Boards hauv Arduino Lub Tswv Yim thiab Kev Ua Haujlwm Esp: 4 Cov Kauj Ruam
Pib Nrog Esp 8266 Esp-01 Nrog Arduino IDE - Txhim Kho Esp Boards hauv Arduino Lub Tswv Yim thiab Kev Ua Haujlwm Esp: 4 Cov Kauj Ruam

Video: Pib Nrog Esp 8266 Esp-01 Nrog Arduino IDE - Txhim Kho Esp Boards hauv Arduino Lub Tswv Yim thiab Kev Ua Haujlwm Esp: 4 Cov Kauj Ruam

Video: Pib Nrog Esp 8266 Esp-01 Nrog Arduino IDE - Txhim Kho Esp Boards hauv Arduino Lub Tswv Yim thiab Kev Ua Haujlwm Esp: 4 Cov Kauj Ruam
Video: Nraug txuj kev hlub 2024, Kaum ib hlis
Anonim
Image
Image
Sau Koj Cov Cheeb Tsam
Sau Koj Cov Cheeb Tsam

Hauv cov lus qhia no peb yuav kawm yuav ua li cas txhawm rau teeb tsa esp8266 cov laug cam hauv Arduino IDE thiab yuav ua li cas rau phiaj xwm esp-01 thiab muab cov lej tso rau hauv.

Txij li esp cov laug cam tau nrov heev yog li kuv xav txog txoj cai hais qhia rau qhov no thiab feem ntau ntawm cov neeg ntsib teeb meem hauv kev ua haujlwm esp-01 yog li kuv yuav qhia koj txoj hauv kev zoo tshaj plaws rau program esp-01.

Kauj Ruam 1: Sau Koj Cov Cheeb Tsam

Sau Koj Cov Cheeb Tsam
Sau Koj Cov Cheeb Tsam
Sau Koj Cov Cheeb Tsam
Sau Koj Cov Cheeb Tsam

MUAJ XEEM:

ESP8266 FTDI ADAPTER:

MUAJ ESP-01:

Yuav FTDI:

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

koj yuav tsum yuav cov khoom hauv qab no rau qhov no: -

1x ESP 8266 ESP-01

1x txhua yam ntawm ftdi/usb rau ttl programmer (nws zoo dua los yuav qhov tshwj xeeb ua serial/usb rau ttl hloov pauv rau esp)

Affiliate Muas link:-

ESP 8266 ESP 01 yuav -

www.banggood.com/Upgraded-Version-1M-Flash…

www.banggood.com/ESP8266-ESP-01S-Remote-Se…

www.banggood.com/USB-To-ESP8266-WIFI-Modul…

www.banggood.com/3Pcs-Upgraded-Version-1M-…

USB rau TTL /Serial converter /ftdi cov neeg tsim khoom siv rau ESP-01 (ZOO):-

www.banggood.com/USB-To-ESP8266-Serial-Ada…

www.banggood.com/OPEN-SMART-USB-To-ESP8266…

Normal Usb to ttl: -

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

www.banggood.com/3_3V-5V-USB-to-TTL-Conver…

www.banggood.com/Wh Wholesale-USB-To-TTL-COM-…

Kauj Ruam 2: Nruab Boards hauv Arduino IDE

Nruab Boards hauv Arduino IDE
Nruab Boards hauv Arduino IDE
Nruab Boards hauv Arduino IDE
Nruab Boards hauv Arduino IDE
Nruab Boards hauv Arduino IDE
Nruab Boards hauv Arduino IDE
Nruab Boards hauv Arduino IDE
Nruab Boards hauv Arduino IDE

Thawj zaug mus rau Github Page

Thiab theej cov duab qhia ntxiv rau esp8266 cov laug cam-

Los yog luam nws ntawm no:-

arduino.esp8266.com/staging/package_esp8266…

Tom qab ntawd hauv Arduino IDE mus rau qhov nyiam tom qab ntawv ntxiv URL Muab tshuaj txhuam qhov txuas no.

Tom qab ntawd qhib cov thawj tswj hwm pawg thiab tshawb rau esp thiab nruab nws thiab thaum koj rov qab mus rau cov laug cam koj yuav pom koj li esp.

Kauj Ruam 3: Upload Code: Txoj Kev 1

Image
Image
Uploading Code: Txoj Kev 1
Uploading Code: Txoj Kev 1
Uploading Code: Txoj Kev 1
Uploading Code: Txoj Kev 1

Yog tias koj tsis muaj qhov tshwj xeeb usb rau txuas txuas txuas rau esp thiab koj muaj dav dav usb rau txuas txuas ib qho ntawm cov uas tau qhia hauv cov duab tom qab ua raws cov lus qhia sib txawv thiab tseem ntxiv lub capacitor nruab nrab ntawm vcc thiab gnd ntawm esp, capacitor yuav tsum yog los ntawm 100uF - 1000 ua.

TTh Tom qab ntawd mus rau cov piv txwv thiab tom qab ntawd mus rau esp8266 tom qab ntawd qhib Blink piv txwv thiab xa nws mus rau "generic esp8266 module" nrog rau qhov chaw nres nkoj com thiab ntxiv coj mus rau esps GPIO 2 (Nws tuaj yeem yog GPIO 0 Hauv koj li cas los xij uas koj tau xaiv hauv kev teeb tsa lub tswv yim). Thiab upload nws yog tias koj tau ua txhua yam yog raug ces koj coj yuav nyem.

Kauj Ruam 4: Tshaj Tawm Txoj Cai: Txoj Kev 2 (Txoj Kev Zoo Tshaj)

Image
Image
Uploading Code: Txoj Kev 2 (Txoj Kev Zoo Tshaj)
Uploading Code: Txoj Kev 2 (Txoj Kev Zoo Tshaj)
Uploading Code: Txoj Kev 2 (Txoj Kev Zoo Tshaj)
Uploading Code: Txoj Kev 2 (Txoj Kev Zoo Tshaj)
Uploading Code: Txoj Kev 2 (Txoj Kev Zoo Tshaj)
Uploading Code: Txoj Kev 2 (Txoj Kev Zoo Tshaj)

Yog tias koj muaj usb rau ttl adapter rau esp raws li pom hauv daim duab ces mus rau txoj hauv kev no, qee qhov no los nrog cov phiaj xwm hloov pauv ntawm nws yog li thaum rub tawm koj yuav tsum nias nws tab sis kuv tsis muaj qhov hloov pauv yog li kuv tau siv tus txiv neej tus pin headers ntawm GPIO- 0 thiab Gnd thiab siv lub jumper kom luv kom nws yuav mus rau hauv hom phiaj programming thaum kuv luv lawv thiab thaum kuv yuav tsum khiav hauv ib txwm coj kuv tshem lub jumper no, yog li luv GPIO-0 & gnd siv jumper lossis hloov nws ces ntsaws nws hauv C thiab upload ntsais muag daim duab raws li kuv tau tso lub ntsej muag ntsais rau kuv Gpio-0 thiab tshem lub jumper uas yog shoring gpio-0 mus rau gnd thiab yog tias koj tau ua txhua yam raug kho koj coj yuav nyem li kuv, nyiam cov vis dis aus kom tsis txhob muaj teeb meem ib txwm & tsis meej pem.

TT Ua tsaug.

Pom zoo: