Cov txheej txheem:
- Kauj Ruam 1: Cov Ntaub Ntawv Yuav Tsum Tau
- Kauj Ruam 2: ESP8266 Pawg Neeg Saib Xyuas - Qhov Twg Los Xaiv?
- Kauj Ruam 3: Roj Teeb - Xaiv Qhov Twg?
- Kauj Ruam 4: Sib dhos Chassis
- Kauj Ruam 5: Ntxiv ESP8266 hauv Arduino IDE
- Kauj Ruam 6: Nrhiav Tus IP Chaw Nyob ntawm ESP8266
- Kauj ruam 7: Circuit Court
- Kauj ruam 8: Programming
- Kauj Ruam 9: Txhim Kho Kev Tswj App
- Kauj Ruam 10: Tswj Tus Neeg Hlau
- Kauj Ruam 11: Qee Cov Duab thiab Yeeb Yaj Kiab
Video: ESP8266 Wifi Tswj Neeg Hlau: 11 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Yog tias koj tau pom kuv cov lus qhia yav dhau los ces koj paub tias kuv tau tsim raspberry pi wifi tswj cov vis dis aus neeg hlau. Zoo, nws yog qhov phiaj xwm zoo tab sis yog tias koj tsuas yog tus pib xwb koj yuav pom nws nyuaj thiab kim tab sis rau kuv kuv twb muaj feem ntau ntawm cov lus dag ib ncig. Nov yog qhov pheej yig heev wifi tswj cov neeg hlau tab sis nws tsis tso video. Nws tau tsim ntawm ESP8266 platform.
Kauj Ruam 1: Cov Ntaub Ntawv Yuav Tsum Tau
1. Pawg ESP8266
2. L293D IC lossis L298 Tsav tsheb tsav
3. Neeg Hlau Chassis nrog Cov Tsav Tsheb (Kuv siv 500 rpm motors)
4. Creadboard lossis PCB (Yog tias koj xav tau cov laug)
5. 6v AA Roj Teeb Pob lossis 9v Roj Teeb (Txhawm rau lub zog ESP8266)
5. Roj teeb (Txhawm rau lub zog rau lub cav) [Qhov twg los xaiv hauv qib 3]
Kauj Ruam 2: ESP8266 Pawg Neeg Saib Xyuas - Qhov Twg Los Xaiv?
1. Adafruit Feather Huzzah - Nws tau tsim los ntawm adafruit yog li nws muaj cov lus qhia yooj yim thiab txhawb nqa. Nws tsis tuaj nrog cov kab laug sab laug yog li koj yuav xav tau cov hlau txuas los txhawm rau lawv. Nws muaj lub roj teeb li-po them ntawm lub rooj tsavxwm nws tus kheej, yog li nws yuav tuaj yeem siv tau yooj yim hauv cov phiaj xwm nqa khoom. Nws raug nqi $ 16
2. NodeMCU ESP8266 - Nws tsuas yog lub hauv paus yooj yim uas tsis muaj cov yam ntxwv ntxiv tab sis nws tau qhib qhov chaw thiab muaj cov ntaub ntawv zoo heev yog li nws yuav yooj yim heev rau pib. Tab sis qhov zoo tshaj plaws yog tias koj tuaj yeem yuav nws rau tsawg dua $ 4.
3. Sparkfun ESP8266 - Nws zoo li huzzah nrog kev hloov pauv lub zog thiab lub kav hlau txais xov sab nraud kom ntev dua Wifi ntau thiab nws tseem raug nqi $ 16
4. Wemos D1 Mini - Nws yog qhov tsawg tshaj plaws ntawm txhua lub laug cam tab sis qhov no tsis muaj qhov cuam tshuam rau kev ua tau zoo. Nws muaj cov ntaub ntawv zoo thiab nws tsuas yog them $ 4. Yog tias koj xav tau ntau qhov ntev thiab tib daim ntawv foos tom qab ntawd koj tuaj yeem yuav Wemos D1 Mini Pro uas muaj lub kav hlau txais xov sab nraud
Thaum kawg, qhov kuv xav qhia yog NodeMCU ESP8266 vim nws muaj cov ntaub ntawv zoo thiab nws pheej yig npaum li cas. Yog tias koj tab tom tsim lub phiaj xwm nqa khoom kuv yuav xav kom lub foob pob hluav taws tawg vim yog lub kav hlau txais xov sab nraud thiab lub tshuab ua hluav taws xob ua-li-po thiab lub txim taws ua rau cov khoom lag luam zoo.
Kauj Ruam 3: Roj Teeb - Xaiv Qhov Twg?
Muaj ntau lub roj teeb sib txawv los xaiv los ntawm, koj yuav tsum xaiv qhov zoo rau koj.
1. AA Roj Teeb Pob - Lawv yog hom roj teeb feem ntau thiab pheej yig heev. Txhua lub xov tooj muaj qhov hluav taws xob ntawm 1.5 volts, peb xav tau tsawg kawg 9 volts, yog li peb yuav tsum tau xaim 6 - 8 hlwb hauv kab kom tau 9 -12 volts.
2. 9v Roj Teeb - Qhov no kuj yog hom roj teeb ntau heev thiab kuj pheej yig. Nws muaj qhov hluav taws xob ntawm 9 volts tab sis qhov siab tshaj tam sim no thiab lub peev xwm yog qhov zoo nkauj tsawg, yog li nws yuav tsis nyob ntev thiab lub cav yuav tig qeeb heev.
3. Lead Acid Battery - Nws kuj tseem zoo nkauj heev li nws tau siv txhua lub tsheb tawm. Nws muaj qhov hluav taws xob ntawm 12 volts, nws muaj qhov hluav taws xob zoo tshaj plaws rau peb cov kev xav tau. Nws lub peev xwm tam sim no yog qhov zoo thiab muaj peev xwm loj. Tsuas yog ib feem uas nws tsis zoo yog qhov loj thiab hnyav, nws loj thiab hnyav.
4. Li -Ion (Lithium Ion) - Nws yog hom roj teeb uas siv hauv cov txhab nyiaj hluav taws xob. Nws los ntawm ntau qhov sib txawv tab sis qhov nrov tshaj plaws yog 18650 ntawm tes. Qhov siab tshaj plaws yog 4.2 volts thiab yam tsawg kawg yog 3.7 volts. Yog tias koj them lossis tso nws ntau dua cov kev ntsuas ntawd lub roj teeb yuav puas. Ib hom tshwj xeeb ntawm lub charger xav tau los them cov roj teeb no. Nws muaj lub peev xwm tam sim no siab thiab muaj peev xwm loj thiab kuj tseem me me, tsuas yog me ntsis loj dua AA roj teeb. Tab sis nws tsis tuaj raws li cov khoom siv roj teeb ua ntej, yog li koj yuav tsum yuav ib lub cell thiab tsim cov roj teeb.
5. Li -Po (Lithium Polymer) - Nws feem ntau yog siv hauv quadcopters thiab drones thiab hauv tsheb hobby rc. Qhov siab tshaj plaws thiab qhov tsawg kawg nkaus yog tib yam li Li-Ion roj teeb. Ib lub tshuab tshwj xeeb tseem xav tau los them lawv. Nws muaj peev xwm tshaj plaws tam sim no tawm ntawm txhua qhov no thiab tseem muaj lub peev xwm loj thiab tseem me me. Tab sis yog qhov txaus ntshai, yog tias koj tsis tuav lawv kom raug lawv tuaj yeem tua hluav taws.
Rau cov pib tshiab kuv xav pom AA roj teeb pob lossis Lead roj teeb thiab rau cov neeg siv qib siab Li-Po roj teeb. Yog tias koj xav kawm paub ntau ntxiv txog kev sib piv ntawm cov roj teeb sib txawv ces saib cov vis dis aus no los ntawm Great Scott.
Kauj Ruam 4: Sib dhos Chassis
Kuv siv 4 lub cav ua kom nws lub log 4 lub log tab sis koj tuaj yeem ua nws lub log 2 lub log los ntawm kev tshem ob lub log pem hauv ntej thiab hloov lawv nrog lub log dummy lossis ntxiv lub log castor. Txhawm rau sib sau ua ke lub chassis txuas cov xov hlau mus rau lub cav thiab nce cov motors ntawm lub chassis. Yog tias koj tsis muaj cov hlau txuas ces koj tuaj yeem ntswj cov xov hlau thiab txuas lawv nrog daim kab xev hluav taws xob tab sis nws tsis pom zoo vim tias nws yuav ua rau tsis muaj zog sib koom. Kuv tau teeb tsa 6v AA roj teeb pob qhov twg lub log castor yuav tsum tau txuas Cov khoom sib dhos yuav txawv rau txhua lub chassis sib txawv tab sis yog txheej txheem yooj yim heev.
Kauj Ruam 5: Ntxiv ESP8266 hauv Arduino IDE
Esp8266 cov laug cam tsis tuaj nruab rau hauv arduino IDE. Txhawm rau teeb tsa ua raws cov lus qhia no -
1. Pib Arduino thiab qhib qhov Preferences window
2. Nkag mus "https://arduino.esp8266.com/stable/package_esp8266com_index.jsoninto" mus rau Tus Thawj Saib Xyuas Haujlwm Ntxiv URLs teb
3. Qhib Tus Thawj Saib Xyuas Haujlwm los ntawm Cov Cuab Yeej> Cov ntawv qhia zaub mov thiab nrhiav esp8266 platform
4. Xaiv qhov tseeb version los ntawm lub npov nco-down thiab nyem lub pob instalar
5. Tsis txhob hnov qab xaiv koj li ESP8266 pawg thawj coj los ntawm Cov Cuab Yeej> Cov ntawv qhia zaub mov tom qab teeb tsa
Kauj Ruam 6: Nrhiav Tus IP Chaw Nyob ntawm ESP8266
1. Qhib qhov muab cov cai hauv Arduino IDE
2. Nrhiav qhov twg nws hais tias "KOJ SSID" thiab lwv nws thiab sau koj lub wifi SSID (Nruab nrab ntawm tus lej cim rov qab) uas yog lub npe ntawm koj lub network wifi.
2. Hauv qab nws, nws yuav hais tias "KOJ PASSWORD" lwv nws thiab sau tus password ntawm koj lub network wifi (Nruab nrab ntawm cov cim rov qab)
3. Tom qab koj tau hloov pauv tso cai rau koj li ESP8266 Pawg Thawj Coj
4. Tshem lub rooj tsavxwm hauv koj lub computer thiab rov txuas dua
5. Qhib tus lej saib thiab teeb tsa tus nqi baud rau 115200 thiab xaiv "Ob NL thiab CR". Nws yuav hais "wifi txuas" thiab tseem yuav qhia tus IP chaw nyob. Nco tseg tus IP chaw nyob vim tias peb yuav xav tau nws tom qab.
Kauj ruam 7: Circuit Court
Lub voj voog yog yooj yim heev. Hloov chaw ntawm AA roj teeb pob koj tuaj yeem siv lwm hom roj teeb.
NodeMCU - L293D
D3 - Tus Pin 7
D4 - Tus Pin 2
D5 - Tus Pin 9
D6 - Tus Pin 1
D7 - Tus Pin 10
D8 - Tus Pin 15
Gnd - Roj Teeb Tsis Zoo
Ob lub AA roj teeb pob thiab 9v roj teeb yuav tsum muaj kev sib txuas hauv av.
Kauj ruam 8: Programming
Qhib tus lej muab rau hauv arduino IDE thiab sau koj wifi network SSID thiab tus lej zoo li kuv tau qhia koj ua ntej ces rub cov lej rau koj li ESP8266 Pawg Thawj Coj.
Kauj Ruam 9: Txhim Kho Kev Tswj App
Tus neeg hlau no tau tswj hwm los ntawm app, rub tawm ESP8266_robot.apk cov ntaub ntawv thiab nruab nws ntawm koj lub smartphone.
Kuj tseem muaj.aia cov ntaub ntawv yog tias koj xav hloov pauv hauv app.
Kauj Ruam 10: Tswj Tus Neeg Hlau
Qhib lub app thiab sau tus IP chaw nyob ntawm koj li ESP8266 Pawg Thawj Coj thiab tam sim no koj tuaj yeem tswj hwm nws !!!
#Kev daws teeb meem#
Yog hais tias lub cav tau tig rau hauv qhov tsis ncaj ncees lawm ces tsuas yog hloov lawv cov kev sib txuas mus rau L293D lossis hloov pauv tus pin tswj. ESP8266 txuas rau wifi los ntawm DHCP, lub ntsiab lus tias yuav luag txhua lub sijhawm koj txuas nws yuav muaj tus IP sib txawv, yog li koj yuav tsum txheeb xyuas tus IP chaw nyob txhua lub sijhawm.
Kauj Ruam 11: Qee Cov Duab thiab Yeeb Yaj Kiab
Nws nrawm heev nrog lub roj teeb 12v, tab sis yog tias koj xav tias nws nrawm heev ces koj tuaj yeem txo qhov nrawm, xub pom ENB tus pin hauv tus lej, koj tuaj yeem sau 0 txog 250 hloov HIGH los teeb tsa qhov nrawm. Piv txwv li, "analogWrite (leftMotorENB, 170)"
Yog tias koj nyiam qhov kev qhia no thov pov npav rau nws hauv kev sib tw:)
Pom zoo:
DIY Neeg Hlau - Kev Kawm 6 Axis Neeg Hlau Caj Npab: 6 Kauj Ruam (nrog Duab)
DIY Neeg Hlau | Kev Kawm 6 Axis Neeg Hlau Caj Npab: DIY-Robotics kev kawm ntawm tes yog lub platform uas suav nrog 6-axis neeg hlau sab caj npab, hluav taws xob tswj hluav taws xob thiab software software. Lub platform no yog qhia txog lub ntiaj teb kev lag luam neeg hlau. Los ntawm txoj haujlwm no, DIY-Robotics xav tau
Ntsuas Neeg Hlau / 3 Log Neeg Hlau / STEM Neeg Hlau: 8 Kauj Ruam
Ntsuas Cov Neeg Hlau / 3 Log Neeg Hlau / STEM Neeg Hlau: Peb tau tsim ua ke sib npaug thiab 3 lub log neeg hlau rau kev kawm siv hauv tsev kawm ntawv thiab tom qab kawm ntawv cov haujlwm. Tus neeg hlau yog ua raws Arduino Uno, tus tiv thaiv kev tiv thaiv (txhua qhov kev tsim kho cov ntsiab lus muab), Li -Ion roj teeb pob (txhua qhov tsim tawm
Neeg Hlau-Ncej Neeg Hlau Los Ntawm Lub Cev 3D Cuam Tshuam: 12 Cov Kauj Ruam (nrog Duab)
Rope-climbing Robot From a Broken 3D Pen: 3D cwjmem yog cov cuab yeej zoo los txhim kho kev muaj tswv yim ntawm koj cov menyuam. Tab sis, koj tuaj yeem ua dab tsi thaum koj 3D Doodler Pib pib ua haujlwm thiab kho tsis tau? Tsis txhob pov koj tus cwj mem 3D rau hauv lub thoob khib nyiab! Vim tias hauv cov lus qhia no kuv yuav qhia koj yuav hloov pauv li cas
[Arduino Robot] Yuav Ua Li Cas Ua Lub Suab Ntaus Neeg Hlau - Thumbs Neeg Hlau - Servo Tsav - Source Code: 26 Cov Kauj Ruam (nrog Duab)
[Arduino Robot] Yuav Ua Li Cas Ua Lub Suab Ntaus Neeg Hlau | Thumbs Neeg Hlau | Servo Tsav | Source Code: Thumbs Neeg Hlau. Siv lub hwj chim ntawm MG90S servo motor. Nws lom zem heev thiab yooj yim! Cov cai yog yooj yim heev. Nws tsuas yog nyob ib ncig ntawm 30 kab. Nws zoo li lub suab ntes.Please tawm ib lo lus nug lossis lus teb! [Qhia] Source Code https: //github.c
Begging Neeg Hlau Nrog Saib Xyuas Lub Ntsej Muag thiab Tswj los ntawm Xbox Tus Tswj - Arduino: 9 Cov Kauj Ruam (nrog Duab)
Begging Robot Nrog Lub ntsej muag taug qab thiab Tswj los ntawm Xbox Controller - Arduino: Peb tab tom yuav ua tus thov neeg hlau. Tus neeg hlau no yuav sim ua rau khaus lossis ua rau pom kev dhau ntawm tib neeg. Nws yuav ntes lawv lub ntsej muag thiab sim tua lasers ntawm lawv. Yog tias koj muab tus neeg hlau ib npib, nws yuav hu nkauj thiab seev cev. Tus neeg hlau yuav xav tau