Cov txheej txheem:
- Kauj Ruam 1: Sau Koj Cov Khoom
- Kauj Ruam 2: Txuas Lub Qhov Ncauj Sensor
- Kauj Ruam 3: Teeb LEDs thiab Khawm
- Kauj Ruam 4: Txuas Micro Servo
- Kauj ruam 5: Txoj Cai
- Kauj Ruam 6: Kho kom haum
Video: RpiGarageDoorDistanceSensor: 6 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Cov ntawv qhia no yuav qhia koj ib qib zuj zus txheej txheem yuav ua li cas thiaj tsim lub qhov rooj qhov rooj nrug deb qhov ntsuas rau thaum lub tsheb nkag mus rau hauv chav nres tsheb, nrog raspberry pi.
Kauj Ruam 1: Sau Koj Cov Khoom
Pib tawm los ntawm kev sau cov ntaub ntawv hauv qab no:
1. Raspberry Pi
2. Creadboard nrog t-cobbler (txuas rau Rpi)
3. Qhov deb sensor
4. Jumper xov hlau
5. LEDs ntsuab, liab, thiab daj (ib qho ntawm ib qho)
6. Ob 560 ohm resistors
7. Peb 330 ohm resistors
8. Ib lub pob
9. Micro Servo
Kauj Ruam 2: Txuas Lub Qhov Ncauj Sensor
Khaws Lub Qhov Ncauj Sensor mus rau hauv lub khob cij ntsug. Tom qab ntawd siv cov xov hlau txuas, muab VCC tus pin tso rau hauv 5V thiab GND tus pin rau hauv txoj kev tsheb nqaj hlau hauv av ntawm lub khob cij (nco ntsoov tias koj li GND thiab lub tsheb nqaj hlau txuas nrog GND thiab 5V ntawm rpi).
Tom qab ntawd siv ob 560 ohm resistors, txuas ib qho ntawm cov resistors mus rau tus ncho tus pin mus ntsug. Siv lub jumper hlau, txuas ib sab rau GPIO 24 qhov lwm sab txuas rau tus tiv thaiv. Tom qab ntawd siv tus tiv thaiv thib ob, txuas ib txhais ceg rau thawj tus tiv thaiv thiab tus lej GPIO, thiab lwm txhais ceg mus rau hauv av tsheb nqaj hlau (saib daim duab saum toj no).
Kauj Ruam 3: Teeb LEDs thiab Khawm
Cov LEDs yuav qhia tias nyob ze thiab deb npaum li cas koj nyob deb ntawm qhov ntsuas qhov deb
Teeb koj li peb xim LEDs ntawm lub khob cij mus ntsug. Siv 330 ohm resistor, txuas txhua tus LED luv ceg rau ib sab ntawm tus tiv thaiv uas tom qab ntawd txuas rau hauv av tsheb nqaj hlau. Txuas lwm ceg mus rau GPIO tus pin siv jumper xov hlau.
GPIO pins Rau Txhua LED:
Liab: GPIO 26
Daj: GPIO 27
Ntsuab: GPIO 4
Lub pob yuav muab cov lus txib rau servo kom txav mus rau qee qhov kev taw qhia uas tom qab ntawd qhib thiab kaw lub qhov rooj qhov rooj
Txog lub pob txuas txuas hauv qab ceg mus rau hauv av tsheb nqaj hlau thiab sab saum toj ceg mus rau GPIO 13.
(saib daim duab saum toj no)
Kauj Ruam 4: Txuas Micro Servo
Qhov kev pabcuam yuav ua lub luag haujlwm qhib thiab kaw lub qhov rooj rau tsheb.
Siv cov xov hluav taws xob (lossis poj niam rau poj niam cov xov hluav taws xob), txuas cov kab liab kab liab rau GPIO 18, xaim liab mus rau 5V thiab xaim dub rau GND tus pin.
(Kab xev servo rau ntawm lub khob cij yog li thaum lub servo txav mus rau "lub qhov rooj qhov rooj" nws yuav nyob ncaj ncaj zoo li muaj nyob hauv daim duab saum toj no)
Kauj ruam 5: Txoj Cai
Nov yog rub tawm mus rau qhov chaws.
Kauj Ruam 6: Kho kom haum
Tam sim no koj tuaj yeem ua qhov haujlwm no zoo li lub tsheb nkag mus rau lub qhov rooj tsheb los ntawm kev siv cov ntaub ntawv sib txawv thiab koj lub tswv yim!
Pom zoo:
YADPF (YET Lwm Tus Duab Duab Duab): 7 Kauj Ruam (nrog Duab)
YADPF (YET Lwm Tus Duab Duab Duab): Kuv paub qhov no tsis yog khoom tshiab, Kuv paub, Kuv tau pom qee qhov ntawm cov haujlwm no ntawm no, tab sis kuv ib txwm xav tsim kuv tus kheej cov duab thav duab. Txhua daim duab thav duab kuv tau pom yog qhov zoo, tab sis kuv tab tom nrhiav lwm yam, Kuv tab tom nrhiav qhov zoo nkauj tiag tiag
Kev Tsim Qauv Duab Duab/Duab Duab Duab: 4 Kauj Ruam
Kev Tsim Qauv Duab Duab/Duab Duab Duab: Nyob zoo txhua tus, Hauv qhov kev qhia no, Kuv yuav qhia koj cov txheej txheem ntawm yuav ua li cas thiaj tsim 3D qauv siv cov duab digital. Cov txheej txheem hu ua Photogrammetry, tseem hu ua Image-Based Modeling (IBM). Tshwj xeeb, hom txheej txheem no tau siv los rov ua dua
Cov Duab Duab Duab thiab Cov Duab 1: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Cubes thiab Cov Duab 1: Thaum sim nrog qee cov ntoo ntoo thiab cov duab los qhia, kuv pom ob peb txoj hauv kev los ua cov voos thiab lwm yam duab los ntawm cov khoom siv yooj yim. Los ntawm kev muab cov no los ua Cov Ntawv Qhia, Kuv vam tias yuav txhawb nqa kev ua si thiab kev kawm. Kev hloov pauv ntawm qhov kev qhia no
Yuav Ua Li Cas Thiaj Li Tshem Tawm Lub Computer Nrog Cov Kauj Ruam Yooj Yim thiab Duab: 13 Kauj Ruam (nrog Duab)
Yuav Tsum Tshem Tawm Lub Khoos Phis Tawj Li Cas Nrog Cov Kauj Ruam Yooj Yim thiab Duab: Nov yog cov lus qhia txog yuav ua li cas tshem lub PC. Feem ntau ntawm cov khoom siv yooj yim yog hloov pauv thiab tshem tawm tau yooj yim. Txawm li cas los xij nws yog ib qho tseem ceeb uas koj tau koom nrog nws. Qhov no yuav pab tiv thaiv koj kom tsis txhob poob ib feem, thiab tseem ua rau kev rov ua dua tshiab
Cov Duab Duab Duab Duab, WiFi Txuas - Raspberry Pi: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Duab Duab, WiFi Txuas - Raspberry Pi: Nov yog txoj hauv kev yooj yim heev thiab tus nqi qis mus rau cov duab thav duab digital - nrog qhov zoo ntawm kev ntxiv /tshem cov duab hla WiFi ntawm 'nyem thiab luag' siv (pub dawb) xa cov ntaub ntawv . Nws tuaj yeem siv tau los ntawm qhov me me £ 4.50 Pi Zero. Koj tseem tuaj yeem hloov pauv