Cov txheej txheem:

Pib Nrog Arduino thiab ESP8266: 11 Cov Kauj Ruam
Pib Nrog Arduino thiab ESP8266: 11 Cov Kauj Ruam

Video: Pib Nrog Arduino thiab ESP8266: 11 Cov Kauj Ruam

Video: Pib Nrog Arduino thiab ESP8266: 11 Cov Kauj Ruam
Video: Pib Tshiab Nrog Kuv- hu: CM XIONG Feat.NIKKI THAO [ Official Audio] 2023 2024, Hlis ntuj nqeg
Anonim
Pib Nrog Arduino thiab ESP8266
Pib Nrog Arduino thiab ESP8266

ESP8266 tuaj yeem siv los ua tus tswj hwm ywj pheej nrog Wi-nkaus thiab ob lub GPIO pins lossis tuaj yeem siv nrog lwm lub microcontroller los ntawm kev sib txuas lus txuas mus muab Wi-nkaus txuas rau lub microcontroller. Nws tuaj yeem siv los ua IoT sensors network txhawm rau tshaj tawm cov ntaub ntawv sensor mus rau Is Taws Nem lossis Is Taws Nem txuas nrog lub dashboards, nws tuaj yeem siv los ua lub cuab yeej siv hluav taws xob hauv tsev uas txuas nrog internet lossis network hauv zos. ESP8266 tuaj yeem siv los tsim IoT raws li kev ruaj ntseg, ntse ntsaws thiab teeb, mesh sib txuas lossis cov cuab yeej siv tau. Vim tias nws tus nqi qis, kev siv hluav taws xob tsawg thiab qhov loj me nws tuaj yeem siv los tsim txhua yam khoom siv IoT.

Kauj Ruam 1: Tsis ntev Hais Txog Architecture thiab Nta

ESP8266 Wi-Fi module muaj 32-ntsis RISC microprocessor moos ntawm 80Mhz thiab tuaj yeem ua overclocked rau 160Mhz. Nws muaj 32 KiB Instruction RAM, 32 KiB qhia cache RAM, 80 KiB cov neeg siv cov ntaub ntawv RAM thiab tag nrho nws muaj GPIO, 12C, ADC, SPI, thiab PWM

Kauj Ruam 2: Kev Siv Hluav Taws Xob

Qhov siab tshaj plaws thiab qhov xav tau tam sim no los ua haujlwm ESP8266 Wi-Fi module yog 3.6V thiab 120.5mA, Arduino muaj tus pin 3.3V tab sis nws cov zis tam sim no tsuas yog 40mA uas tsis txaus los khiav esp8266, yog li qhov ntsuas hluav taws xob LM317 tau siv tswj Arduino's 5V txog 3.3V kom ua haujlwm kom raug raws li LM317 qhov tso zis ntau tshaj tam sim no yog 1.5A. ESP8266 I/O pins kuj tseem khiav ntawm 3.3V, yog li cov laj thawj hloov pauv 3.3V zener diode tau siv los hloov 5V cov laj thawj los ntawm Arduino TX tus pin rau 3.3V, tab sis raws li kuv qhov kev paub tsis muaj ntau xav tau rau nws. Nws yog txhua qhov zoo los ua kom yooj yim rau hauv Circuit hauv daim duab hauv qab no

Kauj Ruam 3: ESP8266 Pinouts

ESP8266 Tus Pinouts
ESP8266 Tus Pinouts

Kauj Ruam 4: Cheebtsam

Arduino Ib

www.banggood.com/custlink/m33KGFYAzy

ESP8266 Wi-nkaus Module

www.banggood.com/custlink/mKvKDhD2ig

LM317 Voltage Regulator

www.banggood.com/custlink/DvDD3Avz7E

Veroboard

www.banggood.com/custlink/m3G3mnGz7P

Txiv neej rau txiv neej jumpers

www.banggood.com/custlink/GKvKmAGkuQ

1uF electrolytic capacitor

10uF electrolytic capacitor

Kauj ruam 5: Schematic

Schematic
Schematic

Raws li ESP8266 Wi-Fi module sib txuas lus nrog Arduino lossis lwm yam microcontroller siv kev sib txuas lus txuas thiab nws tau xav tau 3.3V yam tsawg kawg nkaus los khiav. Arduino's 5V cov zis yuav txuas nrog LM317 cov lus qhia raws li qhia hauv daim duab

ESP8266 Kev Sib Txuas ESP8266 ================= Kev Sib Txuas

RXD ===================== Arduino's I/O Pin 3

VCC ===================== LM317 Cov Zis

CH_PD =================== LM317 Cov Zis

GND ===================== Arduino's GND

TXD ===================== Arduino's I/O Pin 2

Kauj Ruam 6: Yuav Ua Li Cas Hauv Circuit

Kauj Ruam 7: Yuav Ua Li Cas Code Arduino Xa AT Commands rau ESP8266

Kauj ruam 8: Code

Kauj ruam 9: AT Commands

Kauj Ruam 10: Daim Ntawv Thov Txuas

TCP Client:

Neeg rau zaub mov:

Kauj Ruam 11: ESP8266 Cov Ntaub Ntawv thiab AT Cov Lus Hais Kom Ua

Cov Ntaub Ntawv Keeb Kwm Dav Hlau rau ESP8266 los ntawm Kev Tshawb Dav Dav Dav

www.espressif.com/sites/default/files/docu…

ESP8266 AT Hais kom siv

www.espressif.com/sites/default/files/doc…

Pom zoo: