Cov txheej txheem:

Tsim WiFi Daim Ntawv Qhia Kub Thaum Siv ESP8266 & Arduino: 5 Kauj Ruam
Tsim WiFi Daim Ntawv Qhia Kub Thaum Siv ESP8266 & Arduino: 5 Kauj Ruam

Video: Tsim WiFi Daim Ntawv Qhia Kub Thaum Siv ESP8266 & Arduino: 5 Kauj Ruam

Video: Tsim WiFi Daim Ntawv Qhia Kub Thaum Siv ESP8266 & Arduino: 5 Kauj Ruam
Video: ib sim cas tsis tsim nyog tsom xyooj 2022 2024, Kaum ib hlis
Anonim

Los ntawm ElectropeakElectroPeak Lub Vev Xaib Ua Haujlwm Ntxiv Ntxiv los ntawm tus sau:

Pib Nrog Ultrasonic Module thiab Arduino
Pib Nrog Ultrasonic Module thiab Arduino
Pib Nrog Ultrasonic Module thiab Arduino
Pib Nrog Ultrasonic Module thiab Arduino
Kev Paub Xim W/ TCS230 Sensor thiab Arduino [Calibration Code Included]
Kev Paub Xim W/ TCS230 Sensor thiab Arduino [Calibration Code Included]
Kev Paub Xim W/ TCS230 Sensor thiab Arduino [Calibration Code Included]
Kev Paub Xim W/ TCS230 Sensor thiab Arduino [Calibration Code Included]
Yuav Ua Li Cas Tswj WS2812 RGB LED (NeoPixel) W/ Arduino [Tutorial]
Yuav Ua Li Cas Tswj WS2812 RGB LED (NeoPixel) W/ Arduino [Tutorial]
Yuav Ua Li Cas Tswj WS2812 RGB LED (NeoPixel) W/ Arduino [Tutorial]
Yuav Ua Li Cas Tswj WS2812 RGB LED (NeoPixel) W/ Arduino [Tutorial]

Txog: ElectroPeak yog koj qhov chaw ib-nres los kawm cov khoom siv hluav taws xob thiab coj koj lub tswv yim mus rau qhov tseeb. Peb muab cov lus qhia saum toj kawg nkaus los qhia koj li cas koj tuaj yeem ua koj cov phiaj xwm. Peb kuj tseem muab cov khoom lag luam zoo yog li koj muaj … Ntau Ntxiv Txog Electropeak »

Txheej txheem cej luam

Hauv qhov kev qhia no, peb tab tom ua daim ntawv qhia cua sov ntawm ib puag ncig Wi-nkaus teeb liab siv Arduino thiab ESP8266.

Yam Koj Yuav Kawm

  • Taw qhia rau WiFi teeb liab
  • Yuav ua li cas txhawm rau txheeb xyuas cov cim tshwj xeeb nrog ESP8266
  • Ua daim ntawv qhia cua sov siv Arduino thiab TFT zaub

Kauj ruam 1: WiFi yog dab tsi?

WiFi yog dab tsi?
WiFi yog dab tsi?

Tam sim no, ntau tus neeg siv kev pabcuam WiFi ntawm lawv lub xov tooj ntawm tes, ntsiav tshuaj, thiab PCs. WiFi yog cov txheej txheem sau npe los ntawm Wi-Fi Alliance txhawm rau tsim IEEE802.11 tus qauv wireless LAN.

Wi-nkaus muaj zog dua li Bluetooth. Wi-nkaus feem ntau yog siv los txuas rau internet wireless, uas tau ua cov txheej txheem no nrov dua. Koj tuaj yeem txuas mus rau Is Taws Nem tau yooj yim nyob txhua qhov chaw, siv cov thev naus laus zis no. Tus qauv Wi-nkaus txhawb nqa qhov siab tshaj plaws ntawm 11Mps ntawm 2.4 GHz. Txhawm rau nce qhov nrawm ntawm tus qauv no, lwm qhov hloov pauv hu ua IEEE802.11n tau tsim uas qhov nrawm tau nce mus txog 200Mps. Qhov nce ntawm qhov nrawm no yog vim siv ntau lub kav hlau txais xov (MIMO), siv ob lub 2.4 GHz thiab 5 GHz zaus sib txawv, thiab Nruab Nrab Kev Tswj Xyuas (MAC). Lub Rooj Tswjhwm Saib Wi-Fi yog kwv yees li 20 metres Hauv qhov haujlwm no, peb xav tsim WiFi daim ntawv qhia cua sov siv ESP8266, Arduino thiab 3.5 ″ TFT LCD. ESP8266 tuaj yeem txheeb xyuas Wi-Fi teeb liab ntawm SSID tshwj xeeb (RSSI). Peb siv ESP-01 tus qauv rau txoj haujlwm no. Muab 4 ntawm cov qauv no tso rau hauv plaub fab ntawm chav nrog tus qauv plaub fab. Tom qab tau txais cov ntaub ntawv los ntawm ESP cov qauv, peb xa lawv mus rau Arduino txhawm rau tshuaj xyuas thiab nthuav tawm.

Kauj Ruam 2: Daim Ntawv Qhia Tshav Kub Kub Dab Tsi?

Daim ntawv qhia tshav kub yog cov duab qhia uas muab cov ntaub ntawv hauv qhov zoo nkauj. Daim ntawv qhia tshav kub feem ntau siv xim xim los tshuaj xyuas cov ntaub ntawv, cov xim xim no pib los ntawm cov xim sov thiab xaus rau xim txias. Txhua feem ntawm daim duab qhia chaw nrog lub zog siab tshaj plaws thiab kev pab them nqi ntawm cov ntaub ntawv tshwj xeeb (piv txwv li WiFi teeb liab lub zog), muaj xim kub tshaj plaws, thiab yog li, nrog kev txo qis hauv lub zog ntawm cov ntaub ntawv, cov xim yuav mus txog xim txias.

Kauj Ruam 3: Cov Ntaub Ntawv Xav Tau

Cov Ntaub Ntawv Yuav Tsum Tau
Cov Ntaub Ntawv Yuav Tsum Tau

Kho vajtse Cheebtsam

Arduino UNO R3 *1

3.5 TFT Xim Zaub Screen Module *1

ESP8266 WiFi Module *1

Software Apps

Arduino IDE Cov

Kauj Ruam 4: Tsim WiFi Daim Ntawv Qhia Kub Kub

Tsim WiFi Daim Ntawv Qhia Kub Kub
Tsim WiFi Daim Ntawv Qhia Kub Kub

Circuit Court

Txuas ESP cov qauv rau Arduino pawg thawj coj raws li nws tau qhia hauv daim duab.

Tom qab txuas ESP cov qauv, muab TFT Shield rau ntawm Arduino.

Code

Ua ntej tshaj, peb sau tus lej rau ESP cov qauv los tshuaj xyuas lub teeb liab lub zog thiab xa mus rau Arduino. Tom qab ntawd peb sau lwm txoj cai rau Arduino kom tau txais cov ntaub ntawv thiab tso tawm lawv. Upload Code 1 ntawm txhua qhov ntawm koj li ESP modules. Koj tuaj yeem nyeem cov ntawv qhia no kom paub ntau ntxiv txog ESP8266 tus qauv thiab yuav ua li cas xa cov cai los ntawm Arduino IDE.

Hauv txoj cai no, tus cim "1" qhia txog tus lej ESP tus cim, rau cov qauv tom ntej, hloov tus cim no. Piv txwv li, rau tus qauv thib ob, hloov tus cim rau “2”. Sau koj lub npe SSID uas xav tau Hloov chaw "tshwj xeeb SSID".

Hauv txoj cai no peb siv Adafruit_GFX thiab MCUFRIEND_kbv cov tsev qiv ntawv los tso saib cov ntaub ntawv ntawm LCD, uas koj tuaj yeem rub tawm los ntawm cov txuas hauv qab no.

Adafruit_GFX Lub Tsev Qiv Ntawv

MCUFRIEND_kbv Lub Tsev Qiv Ntawv

Tom qab tau txais RSSI los ntawm txhua tus qauv, Arduino suav lub zog ntawm WiFi teeb liab raws li qhov chaw nyob. Koj tuaj yeem tsim koj tus kheej xim los ntawm kev hloov pauv r, g, thiab b.

Kauj ruam 5: Dab tsi ntxiv?

  • Sim txheeb xyuas SSIDs ntau dua.
  • Sim ntxiv ntau cov qauv thiab txheeb xyuas 3D teeb liab.

Pom zoo: