Cov txheej txheem:
- Kauj ruam 1: Cov ntaub ntawv
- Kauj Ruam 2: Teem cov LEDs
- Kauj Ruam 3: Txuas cov LEDs rau hauv av
- Kauj Ruam 4: Jumpers Txuas rau Arduino
- Kauj ruam 5: Lub Pushbutton
- Kauj Ruam 6: Arduino Code
- Kauj Ruam 7: Teeb Lub Tawb
- Kauj ruam 8: Daim Video
Video: Arduino Blue LED Tsuav: 8 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Ua tsaug rau nick_rivera rau qhov credit
www.instructables.com/id/Arduino-Dice/
Nov yog Arduino tsuav uas tuaj yeem siv tau hauv hom kev ua si hauv pawg thawj coj saib thiab cov lej tau tshwm sim tsis raug.
Kauj ruam 1: Cov ntaub ntawv
Koj yuav xav tau dab tsi: 18 Jumpers
7 LEDs (Kuv siv xiav)
Pushbutton
Resistor (Kuv siv 100ohm, 10 ohm yuav ua haujlwm ib yam)
Solderless breadboard
Arduino Leonardo (+usb cable rau kev txuas)
Cov Cuab Yeej:
Khoos phis tawj
Shoebox
Riam kom khawb qhov
Daim kab xev
Kauj Ruam 2: Teem cov LEDs
Pib npaj lawv mus rau ntawm lub rooj tsavxwm, muaj qhov tsis zoo ntawm LEDs taw tes rau sab laug.
LED 1 mus nruab nrab ntawm tus pin (1-, 2+)
LED 2 mus rau (5-, 6+)
LED 3 ntawm (9-, 10+)
LED 4, nyob nruab nrab, yuav tsum tau ncab nruab nrab ntawm (4-, 7+).
3 LEDs kawg mus ncaj qha hauv qab thawj 3 LEDs, tab sis nyob rau lwm sab ntawm lub khob cij.
Kauj Ruam 3: Txuas cov LEDs rau hauv av
Coj koj cov neeg dhia thiab txuas txhua qhov tsis zoo (-) sab ntawm LEDs rau hauv av tsheb nqaj hlau.
Kauj Ruam 4: Jumpers Txuas rau Arduino
Tawm koj cov neeg dhia dhia loj, thiab tso lub jumper mus rau txhua qhov zoo (+) sab ntawm LEDs. Nws yog qhov yooj yim dua yog tias koj tso xim rau cov lej dhia, nws yuav pab tom qab. Tsis tas li, txuas lub jumper loj rau hauv av tsheb nqaj hlau, thiab uas yuav txuas rau hauv av ntawm Arduino.
Tam sim no, peb txuas cov dhia mus rau Arduino board nws tus kheej.
LED1/Tus Pin 12
LED2/Pin ~ 11
LED3/Pin ~ 10
LED4/Pin ~ 9
LED5/Tus Pin 8
LED6/Tus Pin 7
LED7/Pin ~ 6
GND/GND: aw
Kauj ruam 5: Lub Pushbutton
Tam sim no, peb txuas lub laub khawm. Pib los ntawm kev tso lub pob loj thiab dub rau ntawm lub rooj tsavxwm. (saib daim duab kom nkag siab ntxiv).
Kauj Ruam 6: Arduino Code
create.arduino.cc/editor/albertliu123/1881…
Kuv hloov lub sijhawm ncua ntawm 5 vib nas this mus rau 1 thib ob.
Kauj Ruam 7: Teeb Lub Tawb
Npaj ib lub tsom iav thiab rab riam txhawm rau khawb lub qhov rau LEDs thiab lub laub khawm. Ceev faj thaum koj txiav lub thawv. Koj tsis xav ua phem rau koj tus kheej !!!
Kauj ruam 8: Daim Video
Txuas:
Pom zoo:
Arduino LED Tsuav: 4 Cov Kauj Ruam
Arduino LED Tsuav: Cov lus qhia no yuav qhia koj yooj yim Arduino Tsuav nrog ob peb kauj ruam. Qhov haujlwm tsim nyog rau cov pib, nws muaj qee qhov yooj yim thiab xav tau yam tsawg ntawm cov khoom siv. Cov hauv qab no piav qhia kev npaj cov ntsiab lus rau kev ua
Arduino LED Tsuav + Hais Lus: 5 Kauj Ruam
Arduino LED Tsuav + Tus Hais Lus: Nov yog qhov kuv tau txais kuv lub tswv yim los ntawm: https: //www.instructables.com/id/Arduino-Led-Dice/ Qhov kuv hloov: Lub pob me me thawb mus rau ib qho loj dua ntawm LEDsDelay sijhawm rau LEDs Ntxiv Tus hais lusOrder of D pins, vim tias qhov qub teeb tsa tsis tuaj yeem ua haujlwm
Yuav Ua Li Cas Tsim Kom Muaj Yeeb Yaj Kiab LED Arduino Tsuav: 8 Kauj Ruam
Yuav Ua Li Cas Tsim Kom Muaj Yeeb Yaj Kiab LED Arduino Tsuav: Hauv qhov kev qhia no, koj yuav kawm paub tsim kom muaj xim LED Arduino tsuav, uas tuaj yeem "dov" los ntawm nias lub pob. Kuv yuav piav qhia yuav tsim Arduino li cas, thiab yuav ua li cas rau nws. Nws yog cov lus qhia yooj yim rau cov uas tau pib
Arduino LED Tsuav Teeb 2: 4 Cov Kauj Ruam
Arduino LED Dice Lights 2: Qhov no yog txoj haujlwm siv Arduino cov khoom siv los ua lub tsaj tsaj dov dov lub teeb pom kev! Nias lub pob ua rau lub teeb nyem ib zaug ib zaug ntawm cov teeb pom kev zoo nyob twj ywm. Nov yog qhov haujlwm pib yooj yim zoo nkauj rau cov uas nyuam qhuav tau txais
DIY Arduino LED Tsuav: 5 Kauj Ruam (nrog Duab)
DIY Arduino LED Tsuav: Ua si game board uas xav tau tsuav? Tsis ntshai, koj tuaj yeem ua koj tus kheej hauv tsawg dua 15 feeb! Koj tsuas yog xav tau qee qhov feem ntau, ua siab ntev thiab 35-kab Arduino code! Txhua qhov siv tau yog los ntawm Kuman's Arduino UNO Starter Kit