Cov txheej txheem:
- Kauj ruam 1: Intro
- Kauj Ruam 2: Cov Cheeb Tsam Xav Tau
- Kauj ruam 3: Formatting Koj Cov Ntaub Ntawv Suab
- Kauj ruam 4: Electronics
- Kauj ruam 5: Programming
- Kauj Ruam 6: Xeem Nws
Video: Arduino Anti-Dog Trash Can: 6 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Hauv qhov haujlwm no kuv yuav qhia koj yuav ua li cas thiaj ua rau luag luag tab sis ua haujlwm txoj hauv kev los tiv thaiv koj cov dev dog los ntawm kev nkag mus rau hauv koj lub thoob khib nyiab!
Kauj ruam 1: Intro
Kuv tus aub yog tsiaj nyaum thiab tsis tuaj yeem pab tab sis hnov tsw txhua qhov khib nyiab qab hauv cov thoob khib nyiab. Qhov no coj nws mus tas li sim ua kom nws lub qhov ntswg nkag mus rau hauv cov thoob khib nyiab thiab nkag mus rau qhov nws ua tau. Kuv xav tias yuav lub thoob khib nyiab nrog cov kauj ruam tswj lub hau yuav daws qhov teeb meem no ib zaug thiab rau txhua tus. Kuv tsis tau paub me, kuv tus dev tau zoo tshaj lub peev xwm thiab xav paub yuav luag tam sim nws tuaj yeem siv nws lub qhov ntswg qhib lub hau qhib thiab khaws tag nrho cov thoob khib nyiab uas nws xav tau. Kuv tuaj yeem tso qhov hnyav rau ntawm lub hau kom tiv thaiv qhov no tab sis lub suab tsis zoo thiab kuv nyam hauv tsev vim raug cais tawm yog li kuv tau tsim cov tshuaj tiv thaiv dev dev no.
Nws yog ib txoj haujlwm yooj yim thiab tuaj yeem siv los ua cov lus qhia zoo rau hauv cov khoom siv hluav taws xob, hluav taws xob, thiab cov phiaj xwm.
Thov txiav txim siab tso npe rau kuv tus YouTube channel los txhawb nqa kuv thiab kom pom ntau txoj haujlwm lom zem.
Kauj Ruam 2: Cov Cheeb Tsam Xav Tau
Cov khoom xav tau rau txoj haujlwm no yog hauv qab no:
1. Arduino Uno lossis Nano (Amazon Txuas)
2. Resistors (10K Ohm, 10 Ohm) (Amazon Txuas)
3. Capacitors (10uF x 2, 220uF,.05 uF) (Amazon Txuas)
4. 10K Potentiometer (Amazon Txuas)
5. Micro SD Card Module (Amazon Txuas)
6. Txwv Hloov (Amazon Txuas)
7. 9V-12V Fais Fab Khoom rau Arduino (Amazon Txuas)
8. 8 Ohm Speaker (Qhov no txawv dua li kuv tab sis nws yuav tsum ua haujlwm)
9. LM 386 Amplifier (Amazon Txuas)
Kev nthuav tawm: Cov kev sib txuas amazon saum toj no yog cov koom nrog sib txuas, lub ntsiab lus, tsis muaj tus nqi ntxiv rau koj, Kuv yuav khwv tau nyiaj ua haujlwm yog tias koj nyem dhau thiab ua kev yuav khoom.
Kauj ruam 3: Formatting Koj Cov Ntaub Ntawv Suab
Txhawm rau ua si koj cov ntaub ntawv audio uas koj tuaj yeem tau online lossis sau koj tus kheej ua si thaum koj dev qhib lub thoob khib nyiab, koj yuav tsum hloov lawv mus rau qhov raug.
Txhawm rau ua qhov no mus rau https://audio.online-convert.com/convert-to-wav thiab teeb tsa koj cov ntaub ntawv rau qhov teeb tsa uas pom hauv daim duab.
Thaum lawv tau hloov pauv tso lawv rau hauv daim npav SD nrog cov npe "1.wav", "2.wav", thiab lwm yam.
Kauj ruam 4: Electronics
Tam sim no koj tau sau tag nrho cov khoom siv xav tau, nws yog lub sijhawm los pib ua txhua yam ua ke. Kuv yuav pom zoo kom thaiv txhua yam ntawm lub khob cij ua ntej thiab tom qab ntawd txhua yam ua haujlwm tau zoo mus tom ntej thiab muab txhua yam tso rau ntawm daim txiag ntoo. Kuv txiav txim siab khaws nws ntawm daim ntawv qhia zaub mov txij li tom qab nws khiav nws li ob peb hnub, kuv tus dev tau tso tseg tsis txhob sim mus pov rau hauv cov thoob khib nyiab.
Qhov Circuit Court no yooj yim heev thiab ua los ntawm ob peb ntu xwb.
Ua ntej, peb muaj Arduino Uno uas txuas nrog qhov txwv txwv, Micro SD daim npav module, thiab rau LM386 lub suab nrov nrov uas txuas nrog koj tus hais lus.
Ntawm daim npav micro SD daim npav koj yuav tsum muaj tag nrho koj cov ntaub ntawv audio tam sim no hauv qhov raug. Koj txuas tus qauv siv SPI raws tu qauv thiab siv SD lub tsev qiv ntawv module.
Tom qab ntawd muaj qhov txwv txwv nrog rub tawm tus tiv thaiv. Txuas GND mus rau Sab Ib Sab ntawm qhov hloov pauv thiab TSIS YOG rau Digital Input 2. Kev rub tawm tus tiv thaiv yuav ua tus nqi pib ntawm cov lus nkag siab, thiab thaum qhov txwv txwv qhib, nws yuav qis. Thaum lub thoob khib nyiab raug tshem tawm, tom qab ntawd peb yuav pom lub HIGH teeb liab ntawm peb lub thoob khib nyiab thiab tuaj yeem pib suav rov qab los ntawm 4, 3, 2, 1 ua ntej ua kom muaj cov ntaub ntawv.wav ntawm daim npav sd.
Arduinos cov zis tsis muaj zog txaus los khiav koj tus hais lus yog li peb xav tau lub tshuab ua kom nrov nrov uas qhov no yog LM386. Qhov tau txais ntawm lub tshuab raj tau muab los ntawm lub tshuab txuas nrog tus pin 1 thiab 8 uas nyob rau hauv rooj plaub no yog 10 UF uas teeb tsa qhov nce mus rau 200, yam tsis muaj lub capacitor nws yuav yog 20 raws li cov ntawv teev tseg. Lub potentiometer tswj lub ntim ntawm lub suab nrov.
Kauj ruam 5: Programming
Kuv yuav xav tias koj paub yuav ua haujlwm li cas rau koj arduino tab sis yog tias tsis yog, muaj ntau qhov kev qhia zoo hauv online.
Koj yuav tsum tau teeb tsa cov tsev qiv ntawv hauv qab no txhawm rau txhawm rau sau cov lej.
1. TMRpcm
2. SPI
3. SD
Thaum koj tau teeb tsa lub tsev qiv ntawv, rub tawm.ino cov ntawv txuas nrog rau cov kauj ruam no hauv cov lus qhia thiab xa nws mus rau koj li arduino.
Qhov kev zov me nyuam yog qhov yooj yim heev thiab tos rau qhov txwv txwv kom qhib (qhia lub thoob khib nyiab tau qhib) thiab tom qab ntawd pib suav rau 4 vib nas this. Yog tias qhov txwv txwv tsis raug kaw hauv 4 vib nas this tshaj li arduino yuav nyeem.wav cov ntaub ntawv los ntawm daim npav sd txuas nrog rau tus qauv. Cov ntaub ntawv yuav ua si los ntawm tus hais lus.
Txoj haujlwm tam sim no xav tau 7 cov ntaub ntawv audio sib txawv thiab mus los ntawm lawv ib leeg tom qab txhua lub sijhawm nws tau tshwm sim. Koj tuaj yeem kho qhov no kom tsawg lossis ntau npaum li koj xav tau tsuas yog ua tus qauv tam sim no.
Kauj Ruam 6: Xeem Nws
Tam sim no koj tau ua koj lub thoob khib nyiab tuaj yeem ua pov thawj dev, nws yog lub sijhawm los sim nws!
Plug rau hauv lub hwj chim thiab txaus siab rau koj cov dev tshiab tsis muaj lub thoob khib nyiab. Thov txiav txim siab tso npe rau kuv tus YouTube channel los txhawb nqa kuv thiab saib ntau cov haujlwm/yeeb yaj kiab. Ua tsaug rau koj nyeem!
Pom zoo:
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
Arduino Anti Collision Tsheb Tswj Nrog Bluetooth: 3 Cov Kauj Ruam (nrog Duab)
Arduino Anti Collision Tsheb Tswj Nrog Bluetooth: Nov yog yuav ua li cas thiaj ua Arduino Anti Collision Tsheb Tswj Nrog Bluetooth