Cov txheej txheem:
- Kauj Ruam 1: Cov Cheeb Tsam Xav Tau
- Kauj Ruam 2: Txhim Kho ESP8266 Module
- Kauj Ruam 3: Sib Sau Cov Neeg Hlau
- Kauj Ruam 4: Sib Sau Robot Torso
- Kauj Ruam 5: Lub Taub Hau Robot thiab Tis
- Kauj Ruam 6: Relay Circuit
- Kauj Ruam 7: Cov Lus Qhia thiab Cov Lus Qhia
Video: GO-4 Ntse Tsev Arduino Bot: 7 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Hauv qhov haujlwm no kuv yuav qhia koj li cas los tsim Smart Home Bot siv IOT thev naus laus zis los tswj koj cov cuab yeej siv hauv tsev nyob deb ntawm Internet.
Tab sis ua ntej peb pib tham txog cov txheej txheem no raws li peb tau siv los ua …
IOT yog dab tsi?
Internet ntawm Yam (IoT) yog cov txheej txheem sib txuas ua ke cov cuab yeej siv tshuab, tshuab siv tshuab thiab digital, khoom siv, tib neeg uas tau muab cov cim tshwj xeeb thiab muaj peev xwm hloov cov ntaub ntawv hla lub network yam tsis xav tau tib neeg-rau-tib neeg lossis tib neeg-rau- kev sib tham hauv computer.
Ib yam, hauv Is Taws Nem Ntawm Yam, tuaj yeem yog tus neeg muaj lub plawv saib xyuas kev cog qoob loo, Kev Siv Dej hauv cov liaj teb nrog lub tshuab biochip transponder, lub tsheb uas muaj lub ntsuas hluav taws xob ua kom ceeb toom rau tus tsav tsheb thaum lub log log qis lossis lwm yam yam khoom lossis tus neeg tsim khoom uas tuaj yeem muab tus IP chaw nyob thiab muab lub peev xwm los hloov cov ntaub ntawv hla lub network.
Yog li cia peb hais tias IOT yog lub kaw lus loj hauv is taws nem uas suav nrog txhua lub tshuab siv tus cim tshwj xeeb hu rau IP chaw nyob.
Kuv tuaj yeem dhau los ua ib feem ntawm lub ntiaj teb no siv kuv li Arduino board?
Muaj cov cuab yeej siv thev naus laus zis me me hu ua ESP8266 thiab nws yog lub cuab yeej zoo rau kev pab koj li phiaj xwm nkag mus rau hauv internet. Koj tuaj yeem txuas nws rau hauv Arduino yooj yim raws li qhia thiab tso cai rau koj txoj haujlwm sib tham hauv is taws nem. Txhawm rau tswj nws los ntawm txhua qhov chaw hauv ntiaj teb ntawm IP chaw nyob!
Cov lus qhia tshwj xeeb ntawm tus tswj hwm sab hauv:
· Tus txheej txheem Espressif yog 32-ntsis thiab 80MHz thiab tuaj yeem hloov kho rau 160MHz.
· 64KB nco bootloader.
· 64KB Ceev RAM nco rau lub microcontroller.
· 96KB random nkag tau nco.
*ceeb toom (1)
ESP8266 ntaus ntawv feem ntau yog muag yam tsis muaj ib qho qauv, thiab hauv kuv tus kheej lub tswv yim kuv nyiam siv nws ESP-01 adapter kom yooj yim txuas rau Arduino board.
Kauj Ruam 1: Cov Cheeb Tsam Xav Tau
Tus qauv neeg hlau (muaj nyob hauv qib 3)
Arduino Uno R3
ESP8266 tus qauv
ESP-01 adapter
Plaub txoj kev Relay
LCD module 16x2
LED nrog 220 ohm resistor
Jumper xov hlau
Kauj Ruam 2: Txhim Kho ESP8266 Module
Tsis zoo li qhov seem ntawm lwm yam khoom siv ESP8266 tus qauv xav tau
teeb tsa ua ntej siv, vim tias nws yog tus qauv ib leeg thiab muaj ntau txoj hauv kev koj tuaj yeem ua raws kom xa cov cai rau nws.
*ceeb toom (2)
Tus neeg hlau tau nkag los ntawm lub network Wi-nkaus nkaus xwb. Txhawm rau tswj nws pov hauv is taws nem, koj yuav tsum tau ua chaw nres nkoj xa mus rau ntawm koj lub router.
Yog xav paub ntxiv txog cov ncauj lus no:
www.pcworld.com/article/244314/how_to_forward_ports_on_your_router.html
Kauj Ruam 3: Sib Sau Cov Neeg Hlau
Lub sijhawm no kuv xaiv cov qauv duab los yooj yim uas tuaj yeem sib sau ua ob peb teev.
Rub tus Qauv los ntawm no:-
paper-replika.com/index.php?option=com_cont…
Sib sau ua ke lub hauv paus no yooj yim zoo nws tseem tso cai rau koj txhawm rau txhim kho tag nrho cov khoom siv sab hauv yam tsis muaj cov xov tsis zoo, yog li kuv kho LCD 16*8 zaub module nyob rau hauv pem hauv ntej ntawm nws txhawm rau pab daws cov teeb meem ntawm cov neeg hlau thiab kuv yuav piav qhia nws tom qab.
Hauv qhov txuas no koj yuav kawm paub siv lcd zaub module
www.arduino.cc/en/Tutorial/LiquidCrystalDisplay
Kauj Ruam 4: Sib Sau Robot Torso
Neeg hlau lub cev
muaj ib daim, thiab muaj ob lub qhov nyob rau hauv pem hauv ntej yog li koj tuaj yeem txhim kho koj lub teeb ci LED nrog 220 ohm resistor thiab lub koob yees duab module yog tias koj xav tau.
Kauj Ruam 5: Lub Taub Hau Robot thiab Tis
Cov khoom no yog qhov yooj yim heev thiab nws tsis muaj cov xov hlau lossis kab hluav taws xob sab hauv.
Kauj Ruam 6: Relay Circuit
YUAV UA LI CAS YUAV TSHUAJ NTUJ RAU ARDUINO
Nov yog hom kev xa xov uas nws muaj peev xwm siv los hloov cov khoom siv hluav taws xob. Cov kev xa tawm no yuav tswj hwm cov cuab yeej siv feem ntau hauv tsev tshwj tsis yog lub zog siab tshaj plaws xws li cov cua sov hauv chav, qhov cub, thiab lub cav. Xyuas kom tseeb tias VA (Volts x Amps) ntawm lub cuab yeej koj tab tom qhib/tawm yog tsawg dua qhov ntsuas qhov ntsuas.
Ceeb Toom: Nco ntsoov ceev faj heev thaum sim nrog AC, hluav taws xob tuaj yeem ua rau raug mob hnyav.
Relay module los ntawm sab hauv qab tau qhib thaum AC txuas nrog tsis txhob kov lub Circuit Court.
Rau DC ib feem ntawm Circuit:
Arduino tus pin 10 -> module pin S
Arduino GND -> module pin -
Arduino +5V -> module pin +
Kauj Ruam 7: Cov Lus Qhia thiab Cov Lus Qhia
thaum tsim koj tus kheej cov phiaj xwm nrog Arduino, muaj qee qhov kev dag uas yuav pab tau kom nco ntsoov yog tias koj raug daig.
· Nco ntsoov tias koj suav nrog lub tsev qiv ntawv raug #include ESP8266WiFi.h
· Nco ntsoov tias koj tau nyeem tawm ntawm qhov chaw nres nkoj raug hauv Arduino 115200 instated ntawm chaw nres nkoj 9600 Serial.begin (115200);
· Txoj haujlwm tsis xav tau lub zog ntxiv.
· Tsis tas li, nco ntsoov tias siv sau SSID raug thiab tus lej nkag mus rau koj li WIFI network hauv zos
const char* ssid = "YOUR_SSID";
const char* password = "YOUR_PASSWORD";
· Thaum koj qhib lub vijtsam txuas kom ntseeg tau tias qhov URL tau qhia zoo li no:
Siv qhov URL txuas no: https://192.168.1.100/, luam qhov URL thiab muab tshuaj txhuam rau hauv koj lub vev xaib.
* Tsab ntawv txuas
Pom zoo:
Yuav Ua Li Cas Ntse Tsev Siv Arduino Control Relay Module - Lub Tswv Yim Hauv Tsev Automation: 15 Kauj Ruam (nrog Duab)
Yuav Ua Li Cas Ntse Tsev Siv Arduino Control Relay Module | Lub Tswv Yim Ua Lag Luam Hauv Tsev: Hauv qhov haujlwm ua haujlwm hauv tsev no, peb yuav tsim lub tsev ntse hloov chaw uas tuaj yeem tswj tau 5 yam khoom siv hauv tsev. Qhov kev hloov pauv no tuaj yeem tswj tau los ntawm Txawb lossis smartphone, IR chaw taws teeb lossis TV nyob deb, Kev hloov pauv ntawm tes. Qhov kev tshaj tawm ntse no tseem tuaj yeem paub txog r
Ntse Tsev Nrog Arduino: 11 Kauj Ruam (nrog Duab)
Ntse Tsev Nrog Arduino: Nyob Zoo Kuv yuav qhia koj li cas tsim koj tus kheej lub tsev ntse. Nws qhia qhov kub thiab txias sab hauv thiab sab nraum, yog lub qhov rais qhib lossis kaw, qhia thaum lub caij los nag thiab ua lub tswb thaum lub PIR sensor nkag siab. Kuv tau ua daim ntawv thov ntawm Android rau
Ntse Tswb Tswb: Ntse Tswb Tswb Ua Nrog Raspberry Pi: 10 Kauj Ruam (nrog Duab)
Ntse Tswb Tswb: Ntse Tswb Tswb Ua Nrog Raspberry Pi: Koj puas tau xav tau lub moos ntse? Yog tias yog, qhov no yog kev daws teeb meem rau koj! Thaum lub tswb nrov tawm, yuav muaj lub suab (buzzer) thiab 2 lub teeb yuav
Lub Hnab Ntse Hnab Ntse Ntse Computer: 4 Kauj Ruam (nrog Duab)
Lub Hnab Ntse Hnab Ntse Ntse Computer: Qhov no yog "hnab looj tes ntse" nas lub computer uas tuaj yeem siv nrog ib lub PC, Mac, lossis Linux computer. Nws tau tsim los siv Binho Nova ntau tus txheej txheem USB host adapter, uas tso cai rau koj txuas cov ntsuas thiab lwm yam khoom siv rau koj lub khoos phis tawj thiab tom qab ntawd txuas ntxiv
Ntse Suab Nkauj hauv Chav Dej thiab Da Dej Nrog Raspberry Pi - Sib Koom Ua Ke Hauv Chav, Tswb, Khawm Tswj thiab Kev Siv Tsev Hauv Tsev: 7 Kauj Ruam
Ntse Suab Nkauj hauv chav pw thiab Da Dej Nrog Raspberry Pi - Sib Koom Ua Ke Hauv Chav, Tswb, Khawm Tswj thiab Kev Siv Tsev Hauv Tsev: Niaj hnub no peb xav muab ob qho piv txwv txog yuav ua li cas koj tuaj yeem siv Raspberry Pi nrog peb Max2Play software rau hauv tsev automation: hauv chav dej thiab chav pw . Ob txoj haujlwm zoo ib yam nyob hauv cov suab paj nruag siab ncaj los ntawm ntau qhov chaw tuaj yeem rub tawm los