Cov txheej txheem:
Video: Clap-activated LED Array: 4 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:28
Txog qhov kawg ntawm cov lus qhia no koj yuav tuaj yeem tsim lub cuab yeej uas mloog lub suab nrov zoo li npuaj thiab teb rau lawv los ntawm kev qhib lossis tua 3 LEDs. Saum toj no yog daim duab ntawm qhov tshwm sim zaum kawg.
Kauj ruam 1: Cov ntaub ntawv
Koj yuav xav tau:
- Arduino Ib
- Breadboard (saib cov kauj ruam 3)
- 4 Txiv neej-Txiv neej Jumper Wires
- 3 Txiv neej-Poj Niam Jumper Hluav Taws Xob
- 3 LEDs
- 3 220 ohm resistors
- 1 KY-038 microphone suab sensor module
Koj tuaj yeem yuav cov khoom no online los ntawm ntau qhov chaw - tshawb nrhiav ib puag ncig thiab koj yuav tsum muaj peev xwm nrhiav tau cov no ntawm tus nqi tsim nyog.
Kauj ruam 2: Sib dhos
Hlau Arduino thiab nws cov khoom siv zoo li nws nyob hauv daim duab no. Cov xov hlau xiav thiab grey sawv cev rau txiv neej-txiv neej jumper cables thiab daj, dub thiab liab xov tooj sawv cev rau txiv neej-poj niam jumper cables.
Nco ntsoov tias koj tseem tuaj yeem ua kom haum rau hauv Circuit Court mus rau lub khob cij me me zoo li kuv tau ua hauv qib 1 duab. Kuv yuav tsis pom zoo nws li, vim nws yooj yim heev los sib xyaw lossis tawg yam thaum lawv tau ntim nruj ua ke.
Txij li thaum kuv nrhiav tsis tau ib feem rau KY-038, kuv yuav tsum tso nws tawm ntawm daim duab. Cov hlau daj yuav tsum txuas nrog nws tus pin "A0", cov xaim dub yuav tsum txuas nrog nws tus pin "G" (Hauv av), thiab cov xaim liab yuav tsum txuas nrog nws tus pin "+" (5V).
Kauj ruam 3: Code
Qhib Arduino IDE thiab muab cov lej hauv qab no tso rau hauv:
pastebin.com/cJQUA4eM
Hloov kab 1 txog 25 yog xav tau; Kuv tau ntxiv cov lus pom los piav qhia txog txhua tus neeg nyob ruaj khov ua dab tsi.
Tom qab koj tau muab tshuaj txhuam thiab hloov kho cov cai rau koj nyiam, xa nws mus rau Arduino.
Kauj ruam 4: Ua tiav
Yog tias txhua yam ua tau raws li phiaj xwm, koj yuav tsum muaj lub luag haujlwm ua haujlwm npuaj-ua haujlwm LED teeb. Nov yog cov npe ntawm cov lus txib hauv kuv tus lej tam sim no:
- 2 npuaj: Toggles LED 1
- 3 npuaj: Toggles LED 2
- 4 npuaj: Toggles LED 3
- 5 npuaj: Qhib tag nrho cov LEDs tawm
- 6 npuaj: Qhib tag nrho cov LEDs rau
- 16 npuaj: Qhia pom!: P
Yog tias koj muaj lub siab tawv txaus, koj tuaj yeem nkag mus rau kuv tus lej thiab ntxiv lossis hloov kho cov lus txib tam sim no los ua qhov sib txawv. Cov cai muaj feem nyob ntawm kab 84-148.
Muaj kev lom zem!
Pom zoo:
DIY LED Array (Siv Arduino): 7 Cov Kauj Ruam
DIY LED Array (Siv Arduino): INTRO: Koj puas tau xav ua txoj haujlwm yooj yim uas ua rau LEDs zoo li txav mus? Tsis yog? Qhov ntawd yog qhov kuv xav. Zoo, yog tias koj puas tau xav ua qee yam zoo sib xws, koj nyob hauv qhov chaw raug
PCB UV LED Array Timer: 3 Kauj Ruam
PCB UV LED Array Timer: Qhov ntawd yog hom haujlwm uas siv sijhawm ntev los ua kom tiav, txawm tias nws yooj yim! Tias yog vim kuv tau siv, ntev, UV lub teeb teeb lub thawv kom ua kuv cov ntawv luam tawm Circuit board thiab kuv ib txwm xav tias lwm qhov, siv UV LED's, coul
Ob Clap ON - Clap OFF Circuits - 555 IC - 4017 IC: 3 Kauj Ruam
Ob Clap ON - Clap OFF Circuits - 555 IC | 4017 IC: Clap ON - Clap OFF Circuit yog Circuit uas tuaj yeem siv los tswj ntau yam khoom siv hluav taws xob los ntawm tsuas yog CLAP. Ib npuaj tig lub nra rau thiab lwm npuaj tes tig nws OFF. Nws yog ib qho yooj yim heev thiab yooj yim los ua qhov Circuit Court siv IC 4017, tab sis ntawm no
Tswj LED Matrix Array Nrog Arduino Uno (Arduino Powered Robot Face): 4 Cov Kauj Ruam (nrog Duab)
Tswj LED Matrix Array Nrog Arduino Uno (Arduino Powered Robot Face): Cov lus qhia no qhia yuav ua li cas thiaj tswj tau ib qho ntawm 8x8 LED matrices siv Arduino Uno. Phau ntawv qhia no yuav raug siv los tsim qhov yooj yim (thiab cov khoom pheej yig) rau koj tus kheej cov haujlwm. Txoj kev no koj tuaj yeem tso cov tsiaj ntawv, tus lej lossis tus lej animati
Dimmable Led Array: 4 Kauj Ruam
Dimmable Led Array: Txoj haujlwm no ua tiav peb lub hom phiaj tseem ceeb:- Nyeem tus nqi sib piv los ntawm lub zog ntsuas hluav taws xob- Sau tus lej sib piv rau txhua tus coj- Hloov qhov ci ntawm txhua tus coj raws li lub zog siv hluav taws xob xav tau Cov Khoom Siv:- 5 leds- Potentiometer- (5) 220 ohm resis… nyeem ntxiv