Cov txheej txheem:

Cov Menyuam RGB LED Lub Hnub Qub Hmo Ntuj: 9 Kauj Ruam (nrog Duab)
Cov Menyuam RGB LED Lub Hnub Qub Hmo Ntuj: 9 Kauj Ruam (nrog Duab)

Video: Cov Menyuam RGB LED Lub Hnub Qub Hmo Ntuj: 9 Kauj Ruam (nrog Duab)

Video: Cov Menyuam RGB LED Lub Hnub Qub Hmo Ntuj: 9 Kauj Ruam (nrog Duab)
Video: mus khawb av yuav puab lub rhawv dej kom loj ywg ntoo txiv 10/1/2021 2024, Kaum ib hlis
Anonim
Image
Image

Kuv nyiam ua cov phiaj xwm rau kuv cov menyuam thiab kuv tseem nyiam ua cov phiaj xwm siv RGB LEDs, yog li kuv tuaj nrog lub tswv yim ntawm lub teeb pom kev pom lub hnub qub RGB zoo li lub teeb pom kev zoo rau kuv chav menyuam. Lub teeb pom kev hmo ntuj tuaj yeem kuaj pom yog tias nws nyob hauv qhov tsaus ntuj thiab qhib lub RGB LEDs mus rau 50% ci ntsa iab, thiab tom qab ntawd ua rau lawv rov qab mus rau 10% ci ntsa iab dhau ib teev.

Yog tias hmo ntuj pom tias nws nyob hauv qhov pom kev, nws yuav tua cov LED uas tau kawg, kuj tseem txuag roj teeb lub neej.

Lub hnub qub yog 3D luam tawm thiab siv TinyDev Tiny85 pawg tswj hwm cov LEDs, vim tias nws muaj lub zog siv hluav taws xob qis thiab tsuas yog 26mm x 9mm qhov loj me, zoo ib yam li RGB sawb, tab sis koj tuaj yeem hloov tau TinyDev nrog ib qho twg Arduino tau tshaj micro tswj.

Lub teeb pom kev tsaus ntuj tua 2x AA roj teeb.

Kauj Ruam 1: Kauj Ruam 1 - 3D Luam Lub Hnub Qub

Kauj Ruam 2 - Sau tag nrho cov Khoom Siv Hluav Taws Xob thiab Micro -controller
Kauj Ruam 2 - Sau tag nrho cov Khoom Siv Hluav Taws Xob thiab Micro -controller

Lob STL ntawm lub hnub qub thiab luam tawm ntawm koj lub tshuab luam ntawv.

Koj tseem tuaj yeem tsim koj tus kheej lub ntsej muag, tsuas yog nco ntsoov ua kom muaj cov channel rau kab sawb ntawm RGB LEDs los zaum hauv.

Kauj Ruam 2: Kauj Ruam 2 - Sau Tag Nrho Cov Khoom Siv Hluav Taws Xob thiab Micro -controller

Thaum koj muaj koj li TinyDev lossis lwm lub micro-controller, ua haujlwm tawm qhov twg GPIO digital koj yuav siv rau RGB Sawb cov zis thiab qhov sib piv GPIO koj yuav siv rau LDR cov tswv yim thiab kho qhov chaws kom siv tus pin raug.

Tam sim no yog lub sijhawm zoo los tso cov cai rau lub micro-controller yog li koj tsis tas yuav rub txoj haujlwm sib nrug tom qab los ua nws.

Kauj Ruam 3: Kauj Ruam 3 - Muab cov RGB Sawb rau Micro -controller

Kauj Ruam 3 - Solder RGB Sawb rau Micro -controller
Kauj Ruam 3 - Solder RGB Sawb rau Micro -controller

Tam sim no koj xav muab cov VCC, DATA thiab GND cov ntaub qhwv rau ntawm RGB sawb rau qee qhov xov hlau lossis kab taub hau thiab tom qab ntawd muab tshuaj txhuam/txuas cov ntawd rau koj tus tswj hwm micro.

Qhov zoo tshaj, yog tias koj lub micro-maub los muaj 5V tus pin, txuas VCC ntawm RGB sawb rau qhov ntawd, txwv tsis pub 3.3V zoo.

Txuas GND ntawm RGB kab rau GND tus pin ntawm tus tswj hwm micro, thiab kawg txuas DATA mus rau digital GPIO koj tau xaiv ua ntej.

Kauj Ruam 4: Kauj Ruam 4 - Txuas LDR thiab 220 Ohm Resistor

Kauj Ruam 4 - Txuas LDR thiab 220 Ohm Resistor
Kauj Ruam 4 - Txuas LDR thiab 220 Ohm Resistor
Kauj Ruam 4 - Txuas LDR thiab 220 Ohm Resistor
Kauj Ruam 4 - Txuas LDR thiab 220 Ohm Resistor

Siv ib sab ntawm LDR mus rau ib ceg ntawm tus tiv thaiv thiab tom qab ntawd npog nrog qee qhov cua sov ntsws rau ob daim npog thiab ntxiv dag zog rau kev sib txuas.

Tam sim no muab tshuaj txhuam/txuas lwm ceg ntawm LDR mus rau qhov sib piv GPIO koj tau xaiv ua ntej thiab txuas dua/txuas lwm ceg ntawm tus tiv thaiv mus rau GND tus pin ntawm lub micro-controller.

Kauj Ruam 5: Kauj Ruam 5 - Xaiv Koj Lub Hwj Chim

Kauj Ruam 5 - Xaiv Koj Lub Hwj Chim
Kauj Ruam 5 - Xaiv Koj Lub Hwj Chim

Thaum kawg, txiav txim siab seb koj yuav siv zog npaum li cas thaum hmo ntuj. Kuv siv 2x AA roj teeb hauv lub roj teeb, thiab txuas cov xov hlau mus rau VCC IN thiab GND IN ntawm TinyDev.

Nyob ntawm koj tus tswj hwm micro, koj tau xaiv siv lub roj teeb uas tuaj yeem them rov qab tau, USB cable (ceev faj ntau npaum li cas tam sim no koj rub los ntawm nws) lossis 2.1mm nkaus nrog 5V lub zog pob.

Nco tseg: Yog tias koj tab tom siv koj tus kheej lub micro-controller, nws yog qhov ua tau zoo los tso 300-500 ohm resistor ntawm GPIO thiab Cov ntaub ntawv kab ntawm RGB sawb, thiab tso 10uF capacitor hla VCC thiab GNC txuas mus rau RGB Sawb..

Kauj Ruam 6: Kauj Ruam 6 - Ntxig lub RGB Sawb rau hauv Lub Hnub Qub

Kauj Ruam 6 - Ntxig lub RGB Sawb rau hauv Lub Hnub Qub
Kauj Ruam 6 - Ntxig lub RGB Sawb rau hauv Lub Hnub Qub

Ua tib zoo ntxig rau RGB sawb, khoov nws ib puag ncig lub hnub qub kom txog thaum tag nrho cov kab txaij nyob hauv qhov chaw raug. ceev faj thaum khoov kab txaij nyob ib ncig ntawm cov npoo kom pom tseeb tias koj tsis tawg lossis tawg kab.

Kauj Ruam 7: Kauj Ruam 7 - Dai Nws ntawm Phab Ntsa

Kauj Ruam 7 - Dai Nws ntawm Phab Ntsa
Kauj Ruam 7 - Dai Nws ntawm Phab Ntsa

Kuv tau ntxiv daim kab xev velcro rau kuv lub roj teeb pob kom nws lo rau ntawm phab ntsa, yog li nws tuaj yeem raug tshem tawm tau yooj yim los hloov cov roj teeb, tab sis xav tias dawb siv ib qho kev teeb tsa uas koj nyiam.

Kauj Ruam 8: Kauj Ruam Ntxiv - Hloov Xim lossis Animations

Cov Kauj Ruam Ntxiv - Hloov Xim lossis Animations
Cov Kauj Ruam Ntxiv - Hloov Xim lossis Animations

Xav tias dawb rau tus lej twg los xij xim lossis cov duab rau hmo ntuj … teeb cov xim tshwj xeeb uas koj nyiam tshaj plaws, lossis muaj LEDs mem tes hloov lossis hloov.. nws yog tag nrho rau koj!

Kauj Ruam 9: Txhua Cov Ntaub Ntawv …

3D STL cov ntaub ntawv rau lub hnub qub thiab cov cai rau txoj haujlwm no muaj nyob ntawm Github ntawm …

Unexpected Maker Github

Kuv vam tias koj txaus siab rau txoj haujlwm no! Ua raws kuv ntawm

youtube.com/unexpectedmaker

twitter.com/unexpectedmaker

www.facebook.com/unexpectedmaker/

www.instagram.com/unexpectedmaker/

www.tindie.com/stores/seonr/

Pom zoo: