Cov txheej txheem:
- Kauj ruam 1: Yuav tsum tau ua
- Kauj Ruam 2: Txuas Arduino, Breadboard thiab Suab Sensor
- Kauj Ruam 3: Kev Siv Hluav Taws Xob thiab Hluav Taws Xob
- Kauj Ruam 4: Coding Txoj Haujlwm
- Kauj Ruam 5: Tsim Vaj Tsev
Video: Khiav Box: 5 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Lub thawv ntaus ntawv no yog lub thawv, haum nrog ntau lub teeb LED uas qhib thaum lub suab tau txais los ntawm lub ntsuas hluav taws xob dhau ntawm qhov chaw pib.
Kauj ruam 1: Yuav tsum tau ua
Cov khoom siv xav tau:
-1 Arduino Uno
-Ib lub khob cij
-Txiv neej/Txiv neej dhia
-Txiv neej/Poj niam dhia
-Cov Arduino suab sensor (plaub tus pin)
-Muaj ntau lub teeb ci LED raws li koj xav tau
-Resistors (tib yam li LED koj siv) -
-10 x 25 cardboard box -Worbla -Paint
Kauj Ruam 2: Txuas Arduino, Breadboard thiab Suab Sensor
Lub suab sensor muaj plaub tus pin: AO, GND, VCC (aka the +) thiab DO. Koj yuav tsum txuas tus pin nrog Arduino raws li hauv qab no:
AO = AO GND = GND VCC (+) = 5V DO = Digital Pin 2
Koj kuj tuaj yeem saib ntawm lub rooj rau siv.
Arduino, lub ntsuas suab thiab lub khob cij tau txuas nrog ib leeg zoo li pom hauv daim duab siv. Hauv daim duab tsuas muaj ib qho LED txuas nrog txawm li cas los xij, koj ib txwm tuaj yeem txuas ntxiv yog tias koj xav tau. Tau kawg koj yuav tsum paub tseeb tias txhua LED muaj lawv tus kheej tiv thaiv. Cov resistors yuav tsum txuas nrog tsuas yog ib lub jumper uas txuas nrog GND ntawm Arduino. So qhov kev txiav txim los ntawm LED mus rau Arduino yog: Digital pin ntawm Arduino, LED teeb -, LED teeb +, resistor, GND ntawm Arduino.
Kauj Ruam 3: Kev Siv Hluav Taws Xob thiab Hluav Taws Xob
Tom qab ua kom ntseeg tau tias txhua yam ua haujlwm tau zoo, Kuv tau ua txhua yam thiab hloov pauv lub khob cij kom paub tseeb tias nws haum rau hauv koj lub thawv.
Thov ua siab zoo rau txoj haujlwm ua haujlwm tsis zoo, Kuv tsuas yog cov tub ntxhais kawm uas muaj kev nyuaj siab uas tsis muaj kev nkag siab txog txhua yam tom qab tag nrho.
Kauj Ruam 4: Coding Txoj Haujlwm
Cov ntaub ntawv "soundensor.ino" muaj cov cai uas kuv tau siv rau kuv txoj haujlwm. Lub suab sensor yuav xav tau qee qhov tweaking ntawm qhov rhiab. Kuv tau ua qhov no los ntawm kev mus rau lub ntsuas saib (sab xis sab xis hauv Arduino software) thiab saib tus nqi "analog". Yog tias nws nyob ib puag ncig 20, koj tso "int_threshold" hauv qhov chaws ntawm 21 lossis qee yam ze. Koj tseem tuaj yeem ua si ib puag ncig nrog qhov nkag siab ntawm lub suab sensor nws tus kheej los ntawm tig lub pob qhov rooj me me nyob rau sab saum toj ntawm lub duab plaub xiav.
Kauj Ruam 5: Tsim Vaj Tsev
Txog vaj tsev ntawm txoj haujlwm, kuv siv lub thawv ntawv yooj yim los pib nrog. Tom qab ntawd kuv tau npog nws nrog Worbla, qee yam thermoplastic, rau kev ua haujlwm ntev. Kuv kuj tau ua qee cov ntsiab lus ntawm lub casing siv Worbla, thiab ua "xauv" tawm ntawm EVA ua npuas ncauj. Thaum lub Worbla tseem tuaj yeem tsim tau, Kuv tau ua tsib qhov nyob rau sab saum toj ntawm lub thawv rau LED's mus rau sab, thiab lub qhov nyob tom qab rau txhua qhov thaiv. Nco ntsoov tias lub qhov loj txaus!
Kuv tsis tau tshaj tawm Worbla ua ntej pleev xim rau lub hom phiaj, raws li kuv paub kuv xav ua raws qhov ntxhib, tawv zoo li kev ntxhib los mos. Tom qab cia Worbla txias, kuv pleev xim rau lub thawv dub tag. Tom qab ntawd kuv dabbed ntawm ntau yam xim hauv cov khaubncaws sab nraud povtseg kom tsis txhob muaj ib puag ncig tig cuav, tib xim.
Thiab tom qab ntawd koj tsuas yog muab tag nrho koj cov cuab yeej kho mob rau hauv lub thawv! Kuv siv lub qhov rov qab rau xaim rau kuv lub zog siv thiab kuv lub suab ntsuas, yog li kuv tuaj yeem tso nws lub microphone txhua qhov kuv xav tau. Txawm li cas los xij, Kuv tsis tau ua dab tsi los ua kom kho vajtse haum tau yooj yim rau hauv lub thawv. Kuv yuav zaum tau ua qhov ntawd yog tias kuv tsuas muaj sijhawm ntxiv me ntsis.
Tam sim no txhua yam koj yuav tsum ua yog xaiv koj cov nkauj nyiam!
Pom zoo:
Yuav Ua Li Cas Txhim Kho, Khiav thiab Txuas Tus Tswj rau Emulator: 7 Kauj Ruam
Yuav Ua Li Cas Txhim Kho, Khiav thiab Txuas Tus Tswj rau Emulator: Koj puas tau zaum ib puag ncig thiab nco txog koj thaum yau ua menyuam yaus thiab qee zaum xav tias koj tuaj yeem rov mus saib cov qub qub ntawm yav dhau los? Zoo, muaj ib qho app rau ntawd …. tshwj xeeb tshaj yog muaj zej zog ntawm gamers uas ua haujlwm
Khiav LED Nrog Arduino: 3 Kauj Ruam
Khiav LED Nrog Arduino: Nws yog qhov lom zem kom pom ntau lub teeb pom kev … Yog li kuv xav tias peb tuaj yeem tsim LEDs nrog cov qauv sib txawv siv Arduino ?? Yog li kuv tau sim ua rau lawv .. Nov yog cov lus qhia yuav ua li cas
Khiav a Servo Nrog Chibitronics Chibi Clip: 5 Kauj Ruam
Khiav a Servo Nrog Chibitronics Chibi Clip: Chibitronics Chibi Clip Cable uas tuaj nrog clip 3 jumper xov hlau micro servo motor (xaiv tau) tus nab kuab
Khiav LED Tshav Dav Hlau Khiav Tawm: 7 Kauj Ruam
Khiav LED Tshav Dav Hlau Khiav: Qhov no yog kev tshuaj xyuas thiab kev tshoov siab los ntawm https://www.instructables.com/id/Running-LEDs-Ardu .. yog tus qauv tsim tes ntawm Tshav Dav Hlau Runway
Sim Khiav Khawm Box: 7 Kauj Ruam (nrog Duab)
Sim Sib Tw Ntaus Pob: Lub npov lub npov yog lub cuab yeej siv hauv Sim Sib Tw uas tso cai rau koj muab cov nyees khawm, hloov pauv, thiab pob qhov rooj rau ntau lub tsheb tswj. Cov haujlwm khawm sib xws yog yam xws li khawm pib, PTT, thov lub qhov, thiab lwm yam Toggle keyboards ua haujlwm zoo rau cov wipers, lub taub hau