Cov txheej txheem:
- Kauj Ruam 1: Cheebtsam, Software thiab Cov Cuab Yeej
- Kauj ruam 2: Txhim Kho Software
- Kauj Ruam 3: Sib dhos Cov Khoos Phis Tawj
- Kauj ruam 4: Qhib
Video: Smile Activated Marshmallow Launcher: 4 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:28
Koj puas xav txhawb cov qhua, cov npoj yaig, cov phooj ywg thiab tsev neeg kom muaj kev zoo siab? Koj xav tau Lub ntsej muag luag nyav qhib Marshmallow Launcher. Raspberry Pi siv "SAML" pom lub luag nyav thiab tom qab ntawd tso marshmallow ntawm nws - kev zoo siab them tawm!
Kauj Ruam 1: Cheebtsam, Software thiab Cov Cuab Yeej
Txhawm rau tsim koj SAML koj yuav xav tau:
Cheebtsam
- Raspberry Pi Qauv 3 -
- MotoZero lub cev muaj zog tswj hwm -
- Micro Hlau Gearmotor-https://thepihut.com/products/micro-metal-gearmot…
- 4 xAA Holder Battery-https://thepihut.com/products/adafruit-4-x-aa-bat…
- Webcam
- Saib xyuas
- Wifi Dongle
- Keyboard
- Nas
- USB thiab Cov Hluav Taws Xob rau Raspberry Pi
- Hlau
- 4 AA roj teeb
- Qho khoom ua si Catapult
- Tsho Khaub Ncaws
- Txoj hlua
- Kev Nyab Xeeb Pin
- Solder
- Cov Kab Xev
- Marshmallows!
Software
- Raspbian -
- Qhib CV - Qhib Qhov Chaw Pom Lub Computer -
- Smile Detection Software - rub tawm los ntawm.zip cov ntaub ntawv hauv qab no
Cov cuab yeej
- Soldering Hlau
- Ntsia Hlau me me
- Hlau Stripper
- Hlau Cutter
- Txiab
- Pliers
Npaj? OK - cov kauj ruam tom ntej…
Kauj ruam 2: Txhim Kho Software
OK yog li koj tau sau cov khoom. Pib los ntawm kev tsom mus rau Raspberry Pi. Txuas lub hwj chim, keyboard thiab nas, internet (wifi dongle lossis ethernet), saib xyuas thiab USB lub koob yees duab. Hloov lub zog thiab thaum koj nyob online, rub Raspbian.
Tom ntej no koj yuav tsum rub tawm Qhib CV, lub khoos phis tawj lub zeem muag pom kev, thiab tom qab ntawd luag pom lub ntsej muag software hauv.zip cov ntaub ntawv hauv qab no. Muaj Cov Lus Qhia Zoo ntawm https://www.instructables.com/id/Smile-Detection-W… uas yuav coj koj mus txog qhov no. Peb hloov kho qhov luag nyav nrhiav software los ntawm kev tso cov lus qhia los ntawm MotoZero lub cev tswj lub tshuab phau ntawv kom tsis txhob luam tawm cov lus ntawm lub vijtsam, Raspberry Pi hloov chaw ua haujlwm lub cev muaj zog ntawm GPIO pins thiab MotoZero lub cev muaj zog tswj (peb yuav los ua li cas teeb tsa lawv tom qab). Kev hloov kho qhov luag nyav nrhiav software suav nrog cov lus qhia rau lub cev kom khiav ib nrab ib pliag thaum pom luag ntxhi.
Kauj Ruam 3: Sib dhos Cov Khoos Phis Tawj
Koj twb tau sau ua ke Raspberry Pi, thiab teeb tsa lub software, yog li tam sim no nws yog lub sijhawm kom muaj tswv yim nrog lub launcher. Rau peb qhov no txhais tau tias yoog raws qhov tawg tawg qub uas cov menyuam tau dag ib puag ncig. Muaj ntau txoj hauv kev rau lwm lub launchers, tab sis cov tswj hluav taws ua haujlwm zoo li no.
Pib nrog MotoZero lub cev muaj zog tswj. Ua raws li cov lus qhia kom muab cov khoom sib dhos ua ke. Tom qab ntawv txuas rau GPIO tus pin ntawm Raspberry Pi. Tom qab ntawd ntxig 4 lub roj teeb AA rau hauv lub roj teeb thiab txuas rau lub hwj chim ntawm MotoZero. Ceev faj siv qhov tseeb. Tom qab ntawd txuas Micro Hlau Gearmotor mus rau MotoZero lub dav hlau rau lub cev muaj zog 1.
Tom ntej no koj yuav tsum txiav txim siab yuav siv li cas 0.5 thib ob kev sib hloov ntawm Gearmotor kom ua rau lub foob pob hluav taws. Rau peb qhov no koom nrog kaw lub cav mus rau sab ntawm lub catapult, kaw qee txoj hlua nrog txiav tus pin kom nyab xeeb ntawm lwm qhov kawg mus rau lub qag ntawm Gearmotor, thiab pub qhov no los ntawm tus tuav tuav los ntawm khoov lub tsho khuam kom peb tuaj yeem tuav tau caj npab ntawm catapult nqes los thiab tso nws los ntawm kev tig lub cev muaj zog thiab tso txoj hlua ib ncig ntawm lub qag.
Yuav muaj ntau txoj hauv kev los ua qhov no.
Tom ntej no teeb tsa catapult nrog lub vev xaib kom cov marshmallow raug rho tawm ntawm lub ntsej muag luag ntxhi.
Thaum kawg, tuav lub catapult thiab nqa nrog marshmallow!
Kauj ruam 4: Qhib
Kho vajtse tag nrho teeb? Cov theem tom ntej yog txhawm rau Ua Haujlwm Kev Tshawb Fawb Python.
Pib los ntawm qhib lub davhlau ya nyob twg qhov rai. Yog tias koj tau teeb tsa lub software ntawm koj lub desktop koj yuav xav tau cov lus txib hauv qab no:
cd duab
cd luag_detection
sudo smile_detection_Rosemodification.py
Qhov no yuav tsum qhib lub nplaub tshev raug thiab tom qab ntawd khiav lub software. Lub qhov rai yuav qhib uas pom lub webcam saib, thiab thaum koj luag ntxhi tau lees paub - lub cav yuav khiav, ua rau lub catapult.
Txaus siab rau!
Pom zoo:
DIY Tswb Tsheb Xauv (Shock Activated): 5 Kauj Ruam (nrog Duab)
DIY Tswb Tsheb Xauv (Shock Activated): Hauv qhov haujlwm no kuv yuav qhia koj yuav ua li cas thiaj tsim tau qhov yooj yim poob siab qhib lub tswb tsheb kauj vab. Zoo li lub npe cuam tshuam, nws tsim lub suab ceeb toom thaum koj lub tsheb kauj vab tau txav mus los nrog kev tso cai. Nrog txoj kev peb yuav kawm me ntsis txog piezoele
LED Marshmallow Teeb: 8 Kauj Ruam (nrog Duab)
LED Marshmallow Teeb: Nyob zoo Kuv yog Nishant Chandna thiab kuv muaj 15 xyoos. Peb txhua tus paub txog qhov xwm txheej tam sim no. Txhua lub tsev kawm ntawv raug kaw peb tsis tuaj yeem tawm mus …. Hloov chaw tsuas yog nkim sijhawm uas kuv xav ua qhov Qhia Ntawv no. Txij li nws yog qhov kev sib tw nrawm Kuv xav txog ma
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
Solder Fume Extractor Nrog Activated Carbon Lim: 6 Cov Kauj Ruam (nrog Duab)
Solder Fume Extractor Nrog Activated Carbon Filter: Tau ntau xyoo kuv tau nyiaj dhau los tsis muaj qhov tso pa tawm. Qhov no tsis yog noj qab nyob zoo, tab sis kuv tau siv nws thiab tsis quav ntsej txaus los hloov qhov no. Zoo, txog thaum kuv tau txais txoj hauv kev los ua haujlwm hauv chav kuaj ntawm kuv lub tsev kawm ntawv ob peb lub lis piam dhau los … Thaum koj tau ntsib
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