Cov txheej txheem:
- Khoom siv
- Kauj Ruam 1: Kauj Ruam 1: Cov Ntaub Ntawv Xav Tau
- Kauj ruam 2: Kauj ruam 2: Teeb tsa
- Kauj Ruam 3: Kauj Ruam 3: Kev Sib Ntsib thiab Kev Txuas Ntxiv
- Kauj Ruam 4: Kauj Ruam 4: Txiav Lub Thawv Cardboard
- Kauj Ruam 5: Kauj Ruam 5: Xim lub thawv ntawv ntawv
- Kauj Ruam 6: Kauj Ruam 6: Sib Sau Lub Thawv
- Kauj Ruam 7: Kauj Ruam 7: Code
- Kauj Ruam 8: Kauj Ruam 8: Xeem
Video: Cov Neeg Nyob Ze Li Cas: 8 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Nov yog kev hloov kho yooj yim rau txoj haujlwm Qhia Zoo no:
www.instructables.com/id/Arduino-Distance-Detector-with-a-Buzzer-and-LEDs/https://www.instructables.com/id/Arduino-Distance-Detector-with-a- Buzzer-thiab-LEDs/
Taw qhia luv luv ntawm Thawj Txoj Haujlwm:
Cov cuab yeej muaj rau lub qhov muag teev nyob rau hauv cov xim sib txawv, liab, daj thiab ntsuab. Thaum ib yam khoom ze rau LED, nws teeb los ntawm ntsuab mus rau daj rau liab. Kuj tseem muaj tus hais lus, thiab cov khoom tau ze dua, qhov ntau dua ntawm tus hais lus. Thaum cov theem hloov pauv (hloov ntawm ib qho xim mus rau lwm qhov), qhov zaus ntawm tus hais lus nce ib qib.
Kev hloov kho suav nrog:
- Ib daim duab los qhia ib puag ncig
-Qhov kev hloov ntawm qhov deb thiab suab
Pawg Thawj Coj Lub Hom Phiaj ntawm Kev Hloov Kho:
- Cov duab los qhia ua lub cuab yeej nqa tau. Lub thawv ntawv ntawv no muaj tus hais lus ntawm ib sab thiab tag nrho cov LEDs ntawm nws. Qhov kev tsim no ua kom yooj yim siv.
- Qhov kev ncua deb ntawm thawj qhov haujlwm yog luv heev rau qhov ib txwm nyob nruab nrab ntawm tib neeg, yog li kuv ua kom ntev dua, nws muaj txiaj ntsig ntau dua.
- Kuv ua rau lub suab sib txawv dua, yog li tib neeg tuaj yeem paub qhov nrug deb kom meej dua.
Khoom siv
Arduino Leonardo (lossis Arduino Uno) x1
Cardboard lub thawv x1
Lub khob cij x1
HC-SRO4 Ultrasonic Sensor x1
Buzzer x 1
Ntsuab LEDs x2
LEDs daj x2
Liab LEDs x2
330-ohm Resistors x7
Lub hwj chim txhab nyiaj x1
USB kab x 1
Ink x 1
Sau Txhuam (lossis txhuam ib txwm) x1
Kab x 1
Riam riam siv hluav taws xob x1
Ntau cov xov hlau jumper (Ob Hom: ob xaus nrog tus pin, ib kawg nrog tus pin thiab lwm qhov thiab tsis muaj)
Kauj Ruam 1: Kauj Ruam 1: Cov Ntaub Ntawv Xav Tau
Cov ntaub ntawv xav tau rau txoj haujlwm no yog:
(1x) Arduino Uno
(1x) Daim ntawv qhia zaub mov
(1x) HC-SRO4 Ultrasonic Sensor
(1x) Lub suab nrov
(2x) Ntsuab LEDs
(2x) LEDs daj
(2x) Liab LEDs
(7x) 330-ohm Resistors
Muaj ntau cov kab jumper
Kauj ruam 2: Kauj ruam 2: Teeb tsa
Tshooj lus no yog ua tiav raws qhov phiaj xwm qub. Cov ntaub ntawv thiab lus piv txwv Los ntawm
Daim duab saum toj no qhia txog kev teeb tsa ntawm txoj haujlwm.
Cov xov hlau jumper yuav tsum txuas nrog raws li hauv qab no:
Txuas lub xov hlau jumper los ntawm tus pin 5-volt ntawm Arduino mus rau hauv qab hauv qab ntawm lub khob cij
Txuas lwm lub jumper hlau los ntawm tus pin hauv av ntawm Arduino mus rau sab saud ntawm lub khob cij
Buzzer -> tus pin 3
(Ntawm Ultrasonic Sensor)
Echo -> pin 6
Trig -> pin 7
(Nyob rau hauv kev txiav txim ntawm sab xis mus rau sab laug)
LED1 -> pin 8
LED2 -> pin 9
LED3 -> pin 10
LED4 -> pin 11
LED5 -> pin 12
LED6 -> pin 13
Cov hlua txuas txuas nrog LEDs yuav tsum txuas nrog cov hlau lead ntawm sab xis, thaum sab laug ntawm LED yuav tsum txuas nrog rau hauv av hauv av ntawm 330-ohm resistor.
Kauj Ruam 3: Kauj Ruam 3: Kev Sib Ntsib thiab Kev Txuas Ntxiv
Ua lub rooj sib txoos.
Txuas tag nrho cov khoom siv nrog cov xov hlau dhia nrog ob qhov sib txawv raws li qhia hauv daim duab saum toj no.
Kauj Ruam 4: Kauj Ruam 4: Txiav Lub Thawv Cardboard
Txiav lub thawv rau qhov zoo uas koj xav tau:
- Nco ntsoov tias muaj qhov rau Ultrasonic Sensor, Buzzer thiab LEDs.
Kauj Ruam 5: Kauj Ruam 5: Xim lub thawv ntawv ntawv
1. Xim cov nplaim ntawm sab sau nrog tus lej thiab tus txhuam
2. Sau lub npe ntawm sab uas dawb (tsis muaj xim) nrog txhuam txhuam
Kauj Ruam 6: Kauj Ruam 6: Sib Sau Lub Thawv
Sib dhos lub thawv thiab muab cov khoom tso rau hauv lub qhov.
Kauj Ruam 7: Kauj Ruam 7: Code
Txuas:
create.arduino.cc/editor/j06098/e470873f-a…
Kauj Ruam 8: Kauj Ruam 8: Xeem
Tiav !!!
Pom zoo:
Ua Cov Phiaj Xwm Zoo Los Ntawm Cov Ntaub Ntawv Nyob Arduino (thiab Txuag Cov Ntaub Ntawv rau Excel): 3 Cov Kauj Ruam
Ua Cov Phiaj Xwm Zoo Los Ntawm Cov Ntaub Ntawv Nyob Arduino (thiab Txuag Cov Ntaub Ntawv rau Excel): Peb txhua tus nyiam ua si nrog peb tus lej L … cov ntsiab lus tau ntxiv thiab nws tsis tshwj xeeb rau lub qhov muag. Arduino IDE cov phiaj xwm tsis
WiFi Tsis Siv Neeg Tsob Nroj Tsiaj Pub Nrog Cov Chaw Tso Dej - Sab Hauv Tsev/Sab Nraud Kev Cog Qoob Loo - Cov Nroj Tsuag Dej Tuaj Nrog Kev Saib Xyuas Chaw Nyob: 21 Kauj Ruam
WiFi Tsis Siv Neeg Cog Tsob Nroj Tsiaj Nrog Cov Chaw Tso Dej - Sab Hauv Tsev/Sab Nraud Kev Cog Qoob Loo - Cov Nroj Tsuag Dej Tuaj Nrog Kev Saib Xyuas Tej Zaum: Hauv qhov kev qhia no peb yuav nthuav qhia yuav ua li cas teeb tsa kev cai nyob sab hauv tsev/sab nraum zoov cog cog cog uas tuaj yeem tso dej nroj tsuag thiab tuaj yeem saib xyuas nyob deb ntawm kev siv Adosia platform
Arduino Neeg Hlau Nrog Kev Nyob, Kev Qhia thiab Qib Kev Sib Hloov (Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) Tswj los ntawm Lub Suab Siv Bluetooth Module thiab Kev Siv Tus Neeg Siv Hluav Taws Xob: 6 Kauj Ruam
Arduino Neeg Hlau Nrog Kev Nyob, Kev Qhia thiab Qib Kev Sib Hloov (Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) Tswj los ntawm Lub Suab Siv Bluetooth Module thiab Kev Siv Tus Neeg Siv Hluav Taws Xob: Cov lus qhia no piav qhia yuav ua li cas thiaj tsim tau Arduino Robot uas tuaj yeem txav mus raws qhov xav tau (Forward, Backward) , Sab laug, Txoj Cai, Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) xav tau Kev nrug deb hauv Centimeters siv lub suab hais kom ua. Neeg hlau kuj tseem tuaj yeem txav tau tus kheej
Ib qho yooj yim heev/yooj yim/Tsis yooj yim txoj hauv kev kom tib neeg/tib neeg/tsiaj/neeg hlau zoo li lawv muaj txias tiag tiag/Lub zeem muag tshav kub kub (Xim ntawm Koj Xaiv) Siv GIMP: 4 Cov Kauj Ruam
Ib qho yooj yim heev/yooj yim/Tsis yooj yim txoj hauv kev kom tib neeg/tib neeg/tsiaj/neeg hlau zoo li lawv muaj txias tiag tiag/Lub zeem muag tshav kub kub (Xim ntawm Koj Xaiv) Siv GIMP: Nyeem … lub npe
Cov neeg tsav tsheb nrov nyob ib puag ncig DIY: 4 Cov Kauj Ruam
Tus Neeg Hais Lus Tsav Tsheb Nyob Ib puag ncig DIY: Los ntawm Cov Khoom Siv: Tus Qauv Tsim Tus Qauv Lus Cim + cov ntaub ntawv yees duab Yav dhau los, kev pabcuam kho tus neeg hais lus tsis tshua muaj, feem ntau kim, thiab hloov ib puag ncig rau DIY ze li tsis yooj yim sua rau qhov chaw. Lub vev xaib tau txhim kho qhov no, ib puag ncig tau nthuav dav av