Cov txheej txheem:
- Kauj Ruam 1: Yuav ua li cas RGB LEDs Ua Haujlwm thiab Cov Khoom Siv Hluav Taws Xob hauv Circuit Court
- Kauj ruam 2: Circuit Court
- Kauj Ruam 3: Thawj Xim Ib Zaug
- Kauj Ruam 4: Qhov Xim Xim Thib Ob
- Kauj Ruam 5: Xim Xim thib peb
- Kauj Ruam 6: Plaub Xim Ib Leeg
- Kauj Ruam 7: Qhov Xim Xim Tsib
- Kauj Ruam 8: Qhov Xim Xim Rau
- Kauj Ruam 9: Seventh Color Sequence
- Kauj Ruam 10: 3 RGBs Yuav Tawm
- Kauj Ruam 11: Xaus
- Kauj Ruam 12: RGB Circuit; Xim xim
Video: Siv RGB LEDs los Tsim Cov Xim Sequences: 12 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Cov Lus Qhia no yuav qhia paub siv RGB LEDs los tsim cov xim sib txuas los ntawm kev siv Arduino Uno thiab Txoj Cai.
3 RGB LEDs yuav hloov xim thaum lub sijhawm thaum 2 lwm RGB LEDs yuav nyob zoo ib yam.
Kauj Ruam 1: Yuav ua li cas RGB LEDs Ua Haujlwm thiab Cov Khoom Siv Hluav Taws Xob hauv Circuit Court
Cov khoom siv hluav taws xob hauv Circuit Court yog;
5 RGB LEDs (hom cathode)
10; 1 k resistors (xim av, liab liab)
3; 470 resistors (daj daj xim av)
Arduino Ib
xov hlau
RGB LEDs (saib duab 2) yog 3 LEDs txuas nrog ua ke nrog ib qho cathode (cov hmoov lead tsis zoo)
RGB yuav ua haujlwm thaum tam sim no ntws los ntawm anode mus rau cathode. (Saib duab peb)
Ib tus tiv thaiv tau txuas ua ntej mus rau anode los tswj tus nqi ntawm cov dej ntws tam sim no.
Kauj ruam 2: Circuit Court
Thov nyem rau ntawm thawj daim duab thiab nthuav nws. Thawj RGB coj (liab) txuas nrog tus lej digital 11.
Cov hlau lead thib ob yog cathode thiab txuas rau hauv av. Txhua tus hlau lead (xiav) txuas nrog tus pin 9.
Cov hlau lead kawg (ntsuab txuas nrog tus pin 10). Thawj RGB yog cov hlau lead RGB nws yuav tswj hwm lwm 2RGBs uas tau txuas rau nws. Thov saib tag nrho lwm qhov kev sib txuas ntawm Circuit (saib daim duab) Txoj Cai yuav tsim cov xim sib hloov hloov pauv. Qhov Code yog duab 3
Kauj Ruam 3: Thawj Xim Ib Zaug
Thawj xim ua ntej yog daim duab saum toj no. Thov nyem rau ntawm no thiab nthuav dav
Kauj Ruam 4: Qhov Xim Xim Thib Ob
Nov yog qhov xim thib ob. Nco ntsoov tias 3 RGB LEDs tau hloov xim (nyem rau ntawm daim duab thiab nthuav dav)
Kauj Ruam 5: Xim Xim thib peb
Nov yog qhov xim thib peb. Nco ntsoov hloov xim (nyem rau ntawm daim duab)
Kauj Ruam 6: Plaub Xim Ib Leeg
Nov yog ntu 4. Nco ntsoov hloov xim (kos duab)
Kauj Ruam 7: Qhov Xim Xim Tsib
Nov yog xim xim thib tsib. Thov hloov qhov xim (kos duab)
Kauj Ruam 8: Qhov Xim Xim Rau
Nov yog qhov xim thib 6. Nco ntsoov qhov hloov xim (saib daim duab saum toj no)
Kauj Ruam 9: Seventh Color Sequence
Qhov no kuv yog xim thib 7. Nco ntsoov hloov xim. (Saib duab)
Kauj Ruam 10: 3 RGBs Yuav Tawm
3 RGB LEDs yuav tig tawm. Qhov thib 1 RGB LED nyob qis qis. Nws yog xim paj yeeb. Nco ntsoov qhov sib txuas kom tau txais cov xim no.
Qhov kawg RGB LED nyob twj ywm thiab yog lub teeb xiav. Nco ntsoov qhov sib txuas kom tau txais cov xim no.
Kauj Ruam 11: Xaus
Cov Lus Qhia no qhia koj li cas siv RGB LEDs los tsim cov xim sib xws nrog Arduino Uno thiab Txoj Cai. (Txoj Cai tau suav nrog saum toj no, duab kawg.) Koj tuaj yeem pom qhov ua tiav yog tias koj nyem rau ntawm txhua daim duab.
Lub voj voog no tau tsim ntawm Tinkercad, Nws tau sim thiab ua haujlwm. Kuv nyiam tsim txoj haujlwm. Kuv vam tias nws yuav pab koj nkag siab RGB LEDs. Ua tsaug
Kauj Ruam 12: RGB Circuit; Xim xim
Nov yog RGB Circuit. Nws muaj cov xim sib xws nrog Arduino Code (saib cov vis dis aus hauv qab no; muaj teeb meem tso tawm, tab sis tam sim no nws ua haujlwm)
Pom zoo:
Me Me RGB LED Kos Npe Los Ua Ke (Xim Xim): 4 Cov Kauj Ruam
Me Me RGB LED Kos Npe Los Ua Ke (Xim Xim): Hauv Cov Lus Qhia Kuv xav qhia seb kuv tsim lub cim LED no rau siv nyob rau ntau yam xwm txheej twg. Kuv nyiam cov phiaj xwm uas ua kom pom kev, thiab kuv tau muaj kev txaus siab tsis ntev los no los ua cov teeb pom kev zoo rau cov rooj sib tham thiab rooj sib tham uas peb muaj kev sawv los qhia qee yam
MESOMIX - Automated Xim Xim Xim Tshuab: 21 Cov Kauj Ruam (nrog Duab)
MESOMIX - Automated Xim Xim Xim Tshuab: Koj puas yog tus tsim qauv, tus kws kos duab lossis tus neeg muaj tswv yim uas nyiam tha xim rau ntawm koj daim ntaub, tab sis feem ntau nws nyuaj thaum nws los ua qhov ntxoov ntxoo uas xav tau. uas tawm tsam rau huab cua nyias. Raws li cov cuab yeej no, koj
Arduino RGB Xim Xaiv - Xaiv Xim Los Ntawm Lub Neej Lub Hom Phiaj: 7 Cov Kauj Ruam (nrog Duab)
Arduino RGB Xim Picker - Xaiv Xim Los Ntawm Lub Neej Lub Hom Phiaj: Yooj yim xaiv cov xim los ntawm cov khoom siv lub cev nrog rau Arduino raws li RGB xim xaiv, ua rau koj rov tsim cov xim uas koj pom hauv lub neej tiag tiag ntawm koj lub PC lossis xov tooj. Tsuas yog nias lub pob kom luam theej duab xim ntawm cov khoom siv pheej yig TCS347
Cov xim pleev xim ntau xim (Kov Rhuav): 8 Kauj Ruam (nrog Duab)
Cov xim pleev xim ntau xim (Kov Rhuav): Teeb duab yog cov txheej txheem thaij duab siv los tsim cov teebmeem tshwj xeeb ntawm qhov kaw qhov nrawm. Lub teeb nyem feem ntau yog siv rau "xim" cov duab. Hauv Cov Lus Qhia no, Kuv yuav qhia koj yuav ua li cas txhawm rau tsim txhua yam hauv ib tus kws pleev xim nrog kov
Kev txiav txim-phau ntawv tshuaj xyuas los ntawm Cov Xim Xim: 14 Cov Kauj Ruam
Kev txiav txim-phau ntawv Txheeb Xyuas los ntawm Cov Xim Xim: Siv Adafruit TCS34725 liab/ntsuab/xiav xim xim los txheeb xyuas lub teeb tawm los ntawm phau ntawv xaj ntawm lub vijtsam thaum ua lag luam crypto. Yog tias feem ntau "yuav" xaj xaj tuaj, sawv cev los ntawm tus lej ntsuab ntawm lub vijtsam, tej zaum koj yuav xav tias