Cov txheej txheem:

LED Loj Hlob: 4 Cov Kauj Ruam
LED Loj Hlob: 4 Cov Kauj Ruam

Video: LED Loj Hlob: 4 Cov Kauj Ruam

Video: LED Loj Hlob: 4 Cov Kauj Ruam
Video: kev ntseeg loj hlob li cas? 2024, Hlis ntuj nqeg
Anonim
LED Loj Hlob
LED Loj Hlob
LED Loj Hlob
LED Loj Hlob
LED Loj Hlob
LED Loj Hlob

Txoj haujlwm no yog hais txog kev siv Led los pab cog ntoo.

Liab LED tuaj yeem pab cog kev txhawb nqa ib sab ceg ntoo thiab ua kom ntsuab ntsuab tuaj yeem pab cov nroj tsuag Txhim kho txoj kev loj hlob Xiav LED tuaj yeem pab cog Shorten internodes, txo thaj chaw nplooj, txo tus txheeb ze kev loj hlob, thiab nce nitrogen piv thiab qhov haujlwm no sib sau ua ke 3 LED kom cov nroj tsuag loj hlob ua haujlwm tau yooj yim dua. Qhov twg ntawm tsob ntoo uas koj tsis txaus siab, koj tuaj yeem siv qhov sib txawv LED los hloov nws.

Kauj Ruam 1: Yam Khoom Siv

Yam Khoom Siv
Yam Khoom Siv

Npaj

siv x6

Liab coj x 3, Ntsuab LED x 3, Xiav LED x 3

Cellophane x 1

Breadboard x 1

hlau x 21 Tiv thaiv x 9 Paj rwb x 3

Kauj Ruam 2: Nws Ua Haujlwm Li Cas?

Nws Ua Haujlwm Li Cas?
Nws Ua Haujlwm Li Cas?
Nws Ua Haujlwm Li Cas?
Nws Ua Haujlwm Li Cas?
Nws Ua Haujlwm Li Cas?
Nws Ua Haujlwm Li Cas?

Peb khawm

thaum thawb, ib ntawm lawv, Liab LED yuav ci

ib ntawm lawv, Green LED yuav ci

ib ntawm lawv, Blue LED yuav ci

Kauj ruam 3: Code

Code
Code
Code
Code

void teeb () {// muab koj cov cai teeb tsa ntawm no, kom khiav ib zaug:

create.arduino.cc/editor/ReneeChang/a004ad… Qhov txuas ntawm txoj cai

(Koj yuav tsum hloov qhov ncua (5000) mus ntev npaum li cas koj xav tau, lossis xav kom LED ci)

Kauj Ruam 4: Yuav Ua Li Cas Saib?

Yuav Ua Li Cas Saib?
Yuav Ua Li Cas Saib?
Yuav Ua Li Cas Saib?
Yuav Ua Li Cas Saib?

Txiav daim ntawv los ua 3 yam sib txawv

Txiav peb lub qhov ntawm ob sab ntawm daim duab los qhia, kom cia lub pob mus dhau qhov txiav me me uas tuaj yeem tso txoj kab sib kis los ntawm kev siv Kub yaj phom kom lawv tag nrho. Yog tias koj xav tau, koj tuaj yeem lo Cellophane ntawm daim duab ntawv, uas tuaj yeem qhia koj pom sab hauv.

Pom zoo: