Cov txheej txheem:
- Khoom siv
- Kauj Ruam 1: Rho phom rab phom
- Kauj Ruam 2: Tshem Tawm Cov Roj Teeb
- Kauj Ruam 3: Txuas Lub Roj Teeb Los Ntawm Nerf Phom
- Kauj Ruam 4: Txuas MOTORS
- Kauj Ruam 5: Txuas tus Relay
- Kauj Ruam 6: Nqa PIR
- Kauj Ruam 7: Code Nws Nrog Python
- Kauj ruam 8: Qhib Nws
Video: Motion Decting Nerf Gun: 8 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Nyob zoo! Kuv yog Cameron. Txog qhov Qhia Qhia Kuv qhia koj yuav ua li cas thiaj ua kom muaj zog qhib Nerf phom. Nws nyuaj me ntsis, tab sis 100% AWESOME !!!
Khoom siv
1. hluav taws xob Nerf rab phom
2. Raspberry Pi (b+ thiab tshiab dua)
3. Lub txhab nyiaj roj teeb (2 amp thiab siab dua)
4. PIR module (5 volts)
5. relay (Kuv siv Songle SRD-05VDC-SL-C)
6. cov khoom me me thiab cov khoom (daim ntawv qhia zaub mov, jumper xov hlau, daim npav micro sd, thiab lwm yam)
Kauj Ruam 1: Rho phom rab phom
Cov kauj ruam no yog tej zaum qhov yooj yim tshaj plaws hauv cov lus qhia no. Tsuas yog ntswj tag nrho cov ntsia hlau (sab nraud nkaus xwb!).
Kauj Ruam 2: Tshem Tawm Cov Roj Teeb
Cov kauj ruam no nyuaj nyuaj rau kuv rab phom Nerf. Tshem tag nrho cov ntsia hlau thiab lossis kua nplaum.
Kauj Ruam 3: Txuas Lub Roj Teeb Los Ntawm Nerf Phom
Yooj yim! Nqa qhov tsis zoo ntawm lub roj teeb mus rau qhov tsis zoo ntawm rab phom Nerf, tom qab ntawd qhov zoo mus rau qhov nruab nrab ntawm koj qhov kev xa xov (nws yog lub hauv paus ntawm kuv, tab sis koj yuav xav tau ob zaug xyuas kom paub tseeb).
Kauj Ruam 4: Txuas MOTORS
Txuas cov xov hlau zoo ntawm cov phom Nerf mus rau NO (Feem Ntau Qhib) ib feem ntawm kev xa tawm (kuv yog sab xis).
Kauj Ruam 5: Txuas tus Relay
Nqa cov ntaub ntawv tus pin ntawm kev xa mus rau GPIO 21 (hauv qab txoj cai) ntawm Raspberry Pi, GND txog rau hauv av, thiab 5V txog 5V.
Kauj Ruam 6: Nqa PIR
Nqa cov ntaub ntawv tus pin ntawm PIR mus rau GPIO tus pin 4, GND rau hauv av, thiab thaum kawg 5V txog 5V.
Kauj Ruam 7: Code Nws Nrog Python
########################################################################################## ###################
print ("Zoo siab! (Tsis raug) GPIO.setmode (GPIO. BCM GPIO.setup (21, GPIO. OUT) pw (0.3) luam ("Ua tiav !!") pw tsaug zog (0.1) luam tawm ("Thov tos kom PIR daws …") pir. wait_for_no_motion pw tsaug zog (1) luam tawm ("daws teeb meem!") thaum Tseeb: luam tawm ("Npaj rau hluav taws …") pir.wait_for_motion () luam tawm ("Tsab ntawv tsa suab pom !!!") luam tawm ("Hluav Taws !!!") GPIO. tso tawm (21, Tseeb) pw tsaug zog (1) luam tawm ("Hwj chim tawm") GPIO.output (21, Tsis tseeb)
Kauj ruam 8: Qhib Nws
Cov kauj ruam:
1. khi tus txhais nrog hlua kom nws tau nyam rau ntawm txoj haujlwm
2. khiav Python code
3. khiav tawm… LOS YOG TSEV !!!
Kuv vam tias koj nyiam qhov Qhia Ntawv no, bye!
-Cameron
Pom zoo:
Arduino Tsheb Rov Qab Chaw Nres Tsheb Ceeb Toom - Cov Kauj Ruam ntawm Kauj Ruam: 4 Kauj Ruam
Arduino Tsheb Rov Qab Chaw Nres Tsheb Ceeb Toom | Cov kauj ruam ib kauj ruam: Hauv txoj haujlwm no, kuv yuav tsim qhov yooj yim Arduino Tsheb Rov Qab Tsheb Nres Tsheb Nres Sensor Siv Arduino UNO thiab HC-SR04 Ultrasonic Sensor. Qhov no Arduino raws Lub Tsheb Rov Qab ceeb toom tuaj yeem siv rau Kev Tshawb Fawb Txog Tus Kheej, Robot Ranging thiab lwm yam
Tsev Automation Kauj Ruam ntawm Kauj Ruam Siv Wemos D1 Mini Nrog PCB Tsim: 4 Kauj Ruam
Tsev Automation Kauj Ruam Ib Leeg Siv Wemos D1 Mini Nrog PCB Tsim: Tsev Automation Kauj Ruam los ntawm Kauj Ruam siv Wemos D1 Mini nrog PCB Tsim cov tub ntxhais kawm ntawv qib siab. Tom qab ntawd ib tus ntawm peb cov tswv cuab tuaj
RC Taug Qab Neeg Hlau Siv Arduino - Kauj Ruam Ib kauj ruam: 3 Kauj Ruam
RC Tracked Robot Siv Arduino - Kauj Ruam Ib Nrab: Hav guys, Kuv rov qab los nrog lwm tus neeg hlau txias chassis los ntawm BangGood. Vam tias koj tau dhau los ntawm peb cov phiaj xwm yav dhau los - Spinel Crux V1 - Tus Cwj Pwm Tswj Tus Neeg Hlau, Spinel Crux L2 - Arduino Xaiv thiab Muab Neeg Hlau nrog Robotic caj npab thiab Badland Braw
Kawm Yuav Ua Li Cas Kos Tus Tswm Ciab - Kauj Ruam Ib Kauj Ruam: 6 Kauj Ruam
Kawm Yuav Ua Li Cas Thiaj Li Tswmciab - Kauj Ruam Ib kauj ruam: Cov tswm ciab no siv sijhawm 10 feeb los kos yog tias koj ua raws kuv cov kauj ruam ua tib zoo
DIY Arduino Robotic Arm, Kauj Ruam ntawm Kauj Ruam: 9 Kauj Ruam
DIY Arduino Robotic Arm, Kauj Ruam ntawm Kauj Ruam: Cov ntawv qhia no yog qhia koj yuav tsim lub Caj Npab Caj Npab ntawm koj tus kheej li cas