Cov txheej txheem:
- Kauj Ruam 1: Cov Khoom/Cov Khoom
- Kauj Ruam 2: Txiav cov LEDs
- Kauj Ruam 3: Muab cov LEDs tso rau hauv Breadboard
- Kauj Ruam 4: Muab Ib Daim Ntawv luv luv ntawm Cov Hlau txuas rau txhua tus Pin Pin rau hauv av
- Kauj Ruam 5: Txuas hauv av thiab Rails Zoo rau 5v (5 Volts) thiab GND (Hauv av)
- Kauj Ruam 6: Txuas Txhua LED rau Lawv Tus Pin Zoo
- Kauj Ruam 7: Tom Ntej Muab Khawm rau ntawm Breadboard
- Kauj Ruam 8: Txuas Tus Tiv Thaiv Mus Txog Khawm
- Kauj Ruam 9: Txuas tus Resistor rau 5v thiab Khawm rau hauv av
- Kauj Ruam 10: Txuas Khawm rau Pin 2 ntawm Arduino
- Kauj Ruam 11: Txuas Tus Hais Lus
- Kauj Ruam 12: Sijhawm rau Program Arduino
- Kauj Ruam 13: Xaus
Video: Menorah suab paj nruag (ua nrog Arduino): 13 Cov Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:30
Chanukah yuav los sai sai no! Yog li kuv xav tias nws yuav yog ib lub tswv yim zoo los ua ib qhov haujlwm ntsig txog hnub so. Kuv ua qhov Chanukah Menorah txias no nrog Arduino uas ua nkauj sib txawv txhua lub sijhawm koj hloov hmo ntuj los ntawm nias lub pob. LEDs flicker zoo ib yam li nplaim taws ntawm tswm ciab. Kuv pom cov nkauj rau Menorah los ntawm kev nrhiav cov ntaub ntawv MIDI ntawm zaj nkauj thiab siv cov cuab yeej online los hloov nws mus rau Arduino suab code.
Kauj Ruam 1: Cov Khoom/Cov Khoom
Hloov mus rau txhua daim duab kom pom tias nws yog dab tsi. Hover koj nas hla txhua yam khoom.
Kauj Ruam 2: Txiav cov LEDs
Txiav 8 ntawm 9 LEDs txog ib nrab txoj kev tawm ntawm ib qho LED tsis txiav. LED uas tsis tau txiav yog Shamash (Tswmciab siab nyob hauv nruab nrab).
Kauj Ruam 3: Muab cov LEDs tso rau hauv Breadboard
Tom ntej no, muab cov LEDs tso rau hauv lub khob cij thiab tso lawv sib npaug ntawm ib leeg (txhua lub LED yuav tsum muaj qhov sib nrug sib nrug ntawm ib leeg). Kuv tso txhua LED 2 tus pin/qhov ntawm ib leeg. Txhua sab yuav tsum muaj 4 LEDs nrog Shamash (siab tshaj plaws LED) Hauv nruab nrab cais ob sab.
Kauj Ruam 4: Muab Ib Daim Ntawv luv luv ntawm Cov Hlau txuas rau txhua tus Pin Pin rau hauv av
Muab ib txoj hlua luv txuas rau txhua tus pin hauv av ntawm txhua LED mus rau hauv av Bar (Feem ntau cim hauv xiav).
Kauj Ruam 5: Txuas hauv av thiab Rails Zoo rau 5v (5 Volts) thiab GND (Hauv av)
Siv ob lub xov hlau thiab txuas cov kab cim hauv xim liab rau 5v Pin thiab Cov av hauv av rau tus pin hauv av (GND) ntawm Arduino.
Kauj Ruam 6: Txuas Txhua LED rau Lawv Tus Pin Zoo
Txuas txhua LED rau lawv tus lej tshwj xeeb tus lej ntawm Arduino. Lub sij hawm no koj txuas tus LED tus lwm tus pin (TSIS GROUND) mus rau tus lej sib thooj ntawm Arduino. *NCO TSEG thaum koj mus ntawm sab xis mus rau sab laug tus lej tus lej txo. Thawj LED (Nws pib ntawm sab xis) mus rau tus pin 13 ntxiv rau tus pin 12, tom qab ntawd 11, 10, 9 8, 7, 6 thiab 5 yuav tsum yog tus pin kawg rau LED kawg (Txhua txoj hauv kev kawg) ntawm sab laug) Koj tus Menorah LED yuav tsum zoo ib yam li daim duab kawg ntawm cov kauj ruam no nrog txhua lub xov hlau txuas nrog.
Kauj Ruam 7: Tom Ntej Muab Khawm rau ntawm Breadboard
Tom ntej no, tso lub pob rau ntawm lub khob cij ua kom ntseeg tau tias ib sab ntawm cov pins nyob ntawm ib sab ntawm lub khob cij thaum lwm tus pins nyob ntawm lwm sab ntawm nws.
Kauj Ruam 8: Txuas Tus Tiv Thaiv Mus Txog Khawm
Txuas tus tiv thaiv nce mus rau sab xis sab xis ntawm lub pob nrog rau lwm ceg ntawm tus tiv thaiv mus rau lwm kab ntawm lub khob cij.
Kauj Ruam 9: Txuas tus Resistor rau 5v thiab Khawm rau hauv av
Nqa ib lub xaim (Cov xaim liab hauv daim duab) thiab txuas nws mus rau tib kab lus ib sab ntawm lwm tus tiv thaiv. Txuas lwm sab ntawm cov hlau ntawd (Cov hlau liab hauv daim duab) mus rau 5v txoj kev tsheb nqaj hlau (Qhov liab). Tom qab ntawd nqa lwm txoj xov hlau (Nws yog xaim dub hauv daim duab) thiab txuas nws mus rau sab laug sab saum toj ntawm lub pob thiab txuas rau lwm sab ntawm cov hlau ntawd mus rau txoj kev tsheb ciav hlau (Qhov xiav).
Kauj Ruam 10: Txuas Khawm rau Pin 2 ntawm Arduino
Tam sim no, txuas xov hlau ntawm sab xis sab xis ntawm tus khawm (Cov hlau ntsuab hauv daim duab) txhawm rau pin 2 ntawm Arduino
Kauj Ruam 11: Txuas Tus Hais Lus
Tom ntej no, txuas ib lub xov tooj ntawm tus hais lus rau tus pin 4 thiab lwm qhov rau hauv av ntawm Arduino.
*NCO TSEG yog tias koj tab tom tsim qhov no nrog lub piezo buzzer thiab tsis yog tus hais lus, tom qab ntawd koj yuav tsum tau sau tseg tias xaim mus rau hauv av thiab qhov twg mus rau tus pin 4.
Kauj Ruam 12: Sijhawm rau Program Arduino
Tom qab koj ua tiav txhua cov kauj ruam dhau los koj Menorah yuav tsum zoo ib yam li qhov no.
Tam sim no los teeb tsa Arduino koj yuav tsum paub tseeb tias koj tau nruab Arduino ntawm koj lub computer.
Yog tias koj tsis muaj nws koj tuaj yeem rub tawm Arduino los ntawm lawv lub vev xaib
Tom ntej rub tawm cov cai cov ntaub ntawv Menorah2.ino los ntawm rub tawm khawm hauv qab thiab qhib nws ntawm Arduino.
Tshaj tawm cov cai rau Arduino thiab sim tawm koj Menorah!
Kauj Ruam 13: Xaus
Tam sim no koj tuaj yeem ua kom muaj zog koj li Menorah suab paj nruag siv roj teeb lossis dhau ntawm qhov chaw nres nkoj usb.
Txaus siab rau koj lub suab paj nruag Menorah tshiab
Pom zoo:
Suab paj nruag React Fiber Optic Star Qab nthab Teeb: 11 Cov Kauj Ruam (nrog Duab)
Suab paj nruag React Fiber Optic Star Qab nthab Teeb: Xav tau ib daim ntawm galaxy ntawm koj lub tsev? Nrhiav nws seb nws ua li cas hauv qab no! Tau ntau xyoo nws yog kuv txoj haujlwm npau suav thiab thaum kawg Nws tau ua tiav. Nws siv sijhawm qee lub sijhawm los ua kom tiav, tab sis qhov txiaj ntsig kawg tau txaus siab heev uas kuv ntseeg tias nws tsim nyog. Me ntsis
Suab paj nruag Reactive Mood Teeb: 5 Cov Kauj Ruam (nrog Duab)
Music Reactive Mood Lights: Intro and Background.Back in freshman year (Caij nplooj ntoos hlav xyoo 2019), Kuv xav ua kom kuv chav pw tsis tu ncua. Kuv tuaj nrog lub tswv yim ntawm kev tsim kuv tus kheej lub teeb pom kev uas yuav cuam tshuam rau cov nkauj uas kuv tau mloog ntawm kuv lub mloog pob ntseg. Hais ncaj ncaj, Kuv tsis muaj kev tshoov siab tshwj xeeb
Suab Paj Nruag Painting Canvas Nrog Makey Makey: 9 Kauj Ruam (nrog Duab)
Suab paj nruas Painting Canvas Nrog Makey Makey: Nyob zoo, hauv Cov Lus Qhia no peb yuav kawm paub yuav ua li cas los pleev xim pleev xim rau Canvas, uas yog, cov nkauj sib txawv suab txhua lub sijhawm peb pleev xim nrog txhuam ntawm txhua xim. Nov yog qhov lom zem heev thiab ua haujlwm los txhawb kev pleev xim rau cov menyuam yaus lossis tseem muab qhov tshwj xeeb
CS122A Lub suab paub suab paj nruag neeg uas ua ntawv: 7 Cov kauj ruam
CS122A Lub Suab Paub Tus Kheej Lub Suab Nkauj: Nov yog Lub Suab Ua Lub Suab Nkauj Music Player. Nws tuaj yeem ua si txog 33 nkauj nyob ntawm seb muaj pes tsawg zaj nkauj lub npe thiab tus kws kos duab koj khaws
Suab paj nruag Synthesizer Raws DE0-Nano-SoC: 5 Cov Kauj Ruam (nrog Duab)
Suab paj nruag Synthesizer Raws DE0-Nano-SoC: Suab paj nruag SynthesizerTxhua suab paj nruag synthesizer yog qhov yooj yim heev: koj tsuas yog yuav tsum tshuab, hu nkauj, lossis txawm tias ua suab paj nruag nyob rau pem hauv ntej ntawm lub microphone, thiab lub suab yuav raug hloov thiab xa los ntawm tus hais lus. Nws cov specctrum tseem yuav tshwm ntawm LCD cov