Cov txheej txheem:

IoT Raws Ntse Dustbin: 8 Kauj Ruam
IoT Raws Ntse Dustbin: 8 Kauj Ruam

Video: IoT Raws Ntse Dustbin: 8 Kauj Ruam

Video: IoT Raws Ntse Dustbin: 8 Kauj Ruam
Video: tuav wb lub neej kom ruaj khov - Mang Vang ft. Christina Xyooj [Official Audio] 2021-22 2024, Hlis ntuj nqeg
Anonim
IoT Raws Ntse Dustbin
IoT Raws Ntse Dustbin

Hauv qhov kev qhia no peb yuav tsim IoT Raws Li Ntse Dustbin Saib Xyuas Qhov System

Peb tab tom saib xyuas seb Dustbin puv lossis tsis thiab yog tias puv ces ceeb toom rau tus tswv los ntawm kev ceeb toom thawb ntawm lawv lub xov tooj.

Software yuav tsum tau:

Blynk Daim Ntawv Thov

Arduino IDE Cov

Yuav Tsum Tau Kho Vajtse:

Arduino Nano Cov

Arduino Nano Sensor Shield

ESP 01 WiFi Module

Ultrasonic Sensor

SG90 SERVO TSAV

Infrared Sensor Module

Kauj Ruam 1: Ultrasonic Sensor

Ultrasonic Sensor
Ultrasonic Sensor

Nws tso tawm lub tshuab ultrasound ntawm 40 000 Hz uas taug kev los ntawm huab cua thiab yog tias muaj ib qho khoom lossis teeb meem ntawm nws txoj hauv kev Nws yuav thim rov qab mus rau qhov qauv. Xav txog lub sijhawm taug kev thiab nrawm ntawm lub suab koj tuaj yeem suav qhov deb.

Kauj Ruam 2: ESP8266 - 01 WiFi Module

ESP8266 - 01 WiFi Module
ESP8266 - 01 WiFi Module

ESP8266-01 yog Serial WiFi Transmitter thiab Receiver uas tuaj yeem muab ib qho Micro-controller nkag mus rau WiFi Network.

ESP8266 module yog tus nqi qis thiab los ua ntej program nrog AT AT teeb tsa firmware, lub ntsiab lus, koj tuaj yeem yooj yim nqes qhov no mus rau koj lub cuab yeej Arduino thiab tau txais ntau npaum li WiFi-muaj peev xwm raws li WiFi Shield muaj. -board ua thiab khaws cia muaj peev xwm uas tso cai rau nws ua ke nrog cov ntsuas thiab lwm yam ntawv thov los ntawm nws GPIOs.

Nta:

  • Wi-nkaus Direct (P2P), mos-AP
  • Kev koom ua ke TCP/IP raws tu qauv pawg
  • Nws nta kev sib koom ua ke TR hloov pauv, balun, LNA, lub zog siv hluav taws xob thiab sib txuas network
  • Ua ke nrog PLL, cov tswj hwm, DCXO thiab cov tswj hwm lub zog
  • Kev siv hluav taws xob qis 32-ntsis CPU tuaj yeem siv ua daim ntawv thov
  • 1.1 / 2.0, UAS
  • STBC, 1 × 1 MIMO, 2 × 1 MIMO
  • A-MPDU & A-MSDU sib sau ua ke & 0.4ms tus neeg zov lub sijhawm
  • Sawv thiab xa cov pob khoom hauv <2ms
  • Kev siv fais fab tuag ntawm <1.0mW (DTIM3)

Kauj Ruam 3: Servo SG90

SG90 SERVO TSAV
SG90 SERVO TSAV

Lub cav servo yog lub tshuab hluav taws xob uas tuaj yeem thawb lossis tig ib yam khoom nrog qhov ua tau zoo. Yog tias koj xav tig thiab tawm tsam ntawm qee lub kaum ntse ntse tshwj xeeb lossis nrug, tom qab ntawd koj siv servo motor. Nws tsuas yog ua los ntawm cov cav yooj yim uas khiav los ntawm servo mechanism. Yog hais tias lub cav siv los yog DC lub zog nws hu ua DC servo motor, thiab yog tias nws yog AC lub cev muaj zog lub zog ces nws hu ua AC servo motor. Peb tuaj yeem tau txais lub zog loj heev servo motor hauv cov pob me thiab lub cev nyhav. Doe rau cov yam ntxwv no lawv tau siv rau hauv ntau daim ntawv thov xws li tsheb khoom ua si, RC nyoob hoom qav taub thiab dav hlau, Neeg Hlau, Tshuab thiab lwm yam.

Kauj Ruam 4: Kho Koj Li ESP8266 - 01 WiFi Module

Kho koj li ESP8266 - 01 WiFi Module
Kho koj li ESP8266 - 01 WiFi Module
Kho koj li ESP8266 - 01 WiFi Module
Kho koj li ESP8266 - 01 WiFi Module

Txuas koj li ESP 01 raws li kev sib txuas hauv qab no.

Tom qab ntawd xa cov cai no rau koj Arduino Uno. CODE

Tom qab Uploading cov cai.

Sim xa cov lus txib yooj yim: AT

Koj yuav tsum tau txais lus teb OK. (Qhov no txhais tau tias koj li ESP 01 ua haujlwm tau zoo).

Tam sim no koj li ESP 01 yuav raug teeb tsa kom raug. Muaj ob qho lus txib uas peb tau sau hauv cov cai saum toj no.

AT+CWMODE = 1 (Teeb hom Wi-nkaus (Chaw Nres Tsheb/AP/Chaw Nres Tsheb+AP))

AT+UART_DEF = 9600, 8, 1, 0, 3 (Qhov no yuav hloov tus nqi baud rau 9600 koj tuaj yeem tsim nws rau 115200.)

Kauj Ruam 5: Kev teeb tsa Blynk App

Kev teeb tsa Blynk App
Kev teeb tsa Blynk App
Kev teeb tsa Blynk App
Kev teeb tsa Blynk App
Kev teeb tsa Blynk App
Kev teeb tsa Blynk App

Tam sim no cia peb teeb tsa koj li Blynk App kom tau txais cov ntaub ntawv Kub thiab Vaum ntawm Cov Duab.

Kauj Ruam 1: Nyem rau Txoj Haujlwm Tshiab

Kauj Ruam 2: Ntxiv koj Txoj Haujlwm Npe thiab Pawg Thawj Coj twg peb yuav siv, Hauv peb Cov Ntaub Ntawv nws yog Arduino Nano

Kauj ruam 3: Xaiv koj li Widget xws li Qib Ntsug

Kauj Ruam 4: Kho tus Pins thiab Cov Ntaub Ntawv ntau yam

Tam sim no koj Blynk yuav tsum zoo li Daim Duab Duab Circuit no

Kauj Ruam 6: Daim duab Circuit Court

Daim duab Circuit Court
Daim duab Circuit Court

Hauv daim duab saum toj no txhua qhov kev sib txuas tau qhia rau txoj haujlwm no IoT Raws Li Ntse Dustbin.

Peb tau siv Arduino Nano Shield kom yooj yim ntawm kev txuas. Kev sib txuas yuav zoo ib yam rau Arduino Nano Shield ib yam.

Kauj ruam 7: Code

Rau Kev Pom Zoo Tag Nrho - Alpha Electronz

Pom zoo: