Cov txheej txheem:

AT Me Me Microcontroller Nrog LEDS thiab RGB: 4 Cov Kauj Ruam
AT Me Me Microcontroller Nrog LEDS thiab RGB: 4 Cov Kauj Ruam

Video: AT Me Me Microcontroller Nrog LEDS thiab RGB: 4 Cov Kauj Ruam

Video: AT Me Me Microcontroller Nrog LEDS thiab RGB: 4 Cov Kauj Ruam
Video: Reprogramming CPU microcode with an Arduino 2024, Kaum ib hlis
Anonim
AT Me Me Microcontroller Nrog LEDS thiab RGB
AT Me Me Microcontroller Nrog LEDS thiab RGB

Lub Circuit Court siv AT TINY microcontroller. Nws muaj lub moos ntawm tus pin 5 uas tuaj yeem tua thiab ntawm LED (lub teeb pom kev tawm) lossis RGB (liab, ntsuab xiav LED) ntawm qee zaus. Arduino muab 5 volt qhov chaw. Qhov resistors txwv tam sim no rau LEDS thiab RGBs

Kauj Ruam 1: Qhov Yuav Tsum Tau

Qhov Yuav Tsum Tau
Qhov Yuav Tsum Tau

Cov ntu xav tau rau lub voj voog no yog;

AT TINY 45 lossis 85 microprocessor

19; 1k resistors (xim av, dub thiab liab)

27 LEDS; 13 LEDS thiab 14 RGBs

ARDUINO

Kauj Ruam 2: Teeb Lub Circuit Court

Kev teeb tsa Circuit
Kev teeb tsa Circuit

Muab AT Tiny rau ntawm daim ntawv tais.

Muab 19, 1k resistors rau ntawm pawg thawj coj saib. Ib tus resistor yuav txuas rau tus pin 5 ntawm AT Tiny uas yog lub moos nkag

Txuas cov LEDS mus rau lwm qhov kawg ntawm tus tiv thaiv. Qhov ntev txhais tau zoo thiab yuav mus rau 1 k resistor. Qhov luv ceg tsis zoo thiab mus rau hauv av ntawm lub khob cij. For RGB thawj cov hmoov txhuas yog liab. Nws tuaj yeem txuas nrog rau lwm qhov kawg ntawm tus tiv thaiv. Qhov thib ob yog cov cathode uas yuav mus rau hauv av ntawm lub khob cij.

Xim xiav ntawm RGB yog tus coj thib peb. Nws yuav mus rau tus tiv thaiv thiab cov cathode yuav mus rau hauv av. Yog koj xav tau cov xim ntsuab rau RGB nws yog 5 tus coj uas mus rau tus tiv thaiv thiab cov cathode (tsis zoo) mus rau hauv av.

Tom ntej txuas tus pin 8 ntawm AT Tiny mus rau 5 volts ntawm lub khob cij (liab) thiab tus pin 4 rau hauv av.

Tom qab ntawd txuas Arduino mus rau 5 volts ntawm lub khob cij thiab hauv av rau hauv av ntawm lub khob cij

Kauj Ruam 3: Lub hauv paus ntsiab lus ntawm Circuit; Nws Ua Haujlwm Li Cas

Lub hauv paus ntsiab lus ntawm Circuit; Nws Ua Haujlwm Li Cas
Lub hauv paus ntsiab lus ntawm Circuit; Nws Ua Haujlwm Li Cas

Arduino muab lub hwj chim 5 volt rau AT Tiny. The AT Tiny muaj lub moos uas yuav qhib thiab tua lub LEDs thiab RGB (ib hom tshwj xeeb ntawm LED nrog 3 xim sib txawv, liab, xiav thiab ntsuab). tus nqi tam sim no mus rau LEDS thiab RGBs Cov resistors yog txhua qhov sib txig sib luag yog li qhov hluav taws xob xa mus rau LEDS thiab RGB zoo ib yam. Txhua LEDS thiab RGBs ntsais muag.

vimeo.com/277349518

Kauj Ruam 4: Lub Circuit Court tau ua

Lub voj voog no tau ua ntawm Tinkercad thiab sim ntawm Tinkercad nws ua haujlwm. Txhua LEDS thiab RGBs ntsais muag

Kuv vam tias Phau Ntawv Qhia no pab koj nkag siab tias AT Tiny tuaj yeem siv tau hauv qhov yooj yim Circuit Court.

Ua tsaug

Pom zoo: