Cov txheej txheem:

1 Watt RGB LED Tsav Tsheb rau Ardiuno: 3 Cov Kauj Ruam
1 Watt RGB LED Tsav Tsheb rau Ardiuno: 3 Cov Kauj Ruam

Video: 1 Watt RGB LED Tsav Tsheb rau Ardiuno: 3 Cov Kauj Ruam

Video: 1 Watt RGB LED Tsav Tsheb rau Ardiuno: 3 Cov Kauj Ruam
Video: 20 MOMENTS YOU WOULDN'T BELIEVE IF NOT FILMED 2024, Kaum ib hlis
Anonim
1 Watt RGB LED Tsav Tsheb rau Ardiuno
1 Watt RGB LED Tsav Tsheb rau Ardiuno

RGB LED yog hom ua ntej ntawm LED uas tuaj yeem tsim xim ntau dua li cov xim ib txwm muaj xim LEDs. Ib leeg 3 hli mono -chromic tuaj yeem yooj yim tsav los ntawm ardiuno siv tus tiv thaiv (100 -220 ohm rau qhov pom kev zoo tshaj plaws) tab sis 1 watt LED lossis RGB LED tsis tuaj yeem tsav raws li nws xav tau lub zog ntau dua. Yog li hauv qhov kev qhia no kuv yuav piav qhia yuav ua li cas thiaj ua tau 1 watt RGB LED tsav tsheb rau ardiuno. Uas tuaj yeem siv tau hauv ntau qhov haujlwm ardiuno.

Kauj Ruam 1: Nkag Siab Pinout ntawm Koj RGB LED

Nkag Siab Pinout ntawm Koj RGB LED
Nkag Siab Pinout ntawm Koj RGB LED

Feem ntau RGB pom muaj ob hom 1.common anode, 2. Common cathode. Yog tias cov lus hais tawm tsis raug muab tsis siv lub roj teeb 3 volt txuas ib qho ob tus pin ntawm 4 tus pin RGB. Yog tias ib yam dab tsi tsis tshwm sim hloov qhov kev sib txuas thiab koj yuav nkag siab qhov pinout tau yooj yim.

Kauj Ruam 2: Ua PCB rau Txoj Haujlwm no thiab sau Cov Yuav Tsum Tau SMD lossis Los Ntawm Qhov Chaw

Ua PCB rau Txoj Haujlwm no thiab khaws Cov Yuav Tsum Tau Muaj SMD lossis Los Ntawm Qhov Chaw
Ua PCB rau Txoj Haujlwm no thiab khaws Cov Yuav Tsum Tau Muaj SMD lossis Los Ntawm Qhov Chaw
Ua PCB rau Txoj Haujlwm no thiab khaws Cov Yuav Tsum Tau Muaj SMD lossis Los Ntawm Qhov Chaw
Ua PCB rau Txoj Haujlwm no thiab khaws Cov Yuav Tsum Tau Muaj SMD lossis Los Ntawm Qhov Chaw
Ua PCB rau Txoj Haujlwm no thiab sau Cov Yuav Tsum Muaj SMD lossis Los Ntawm Qhov Chaw
Ua PCB rau Txoj Haujlwm no thiab sau Cov Yuav Tsum Muaj SMD lossis Los Ntawm Qhov Chaw

Ua PCB raws li piav qhia hauv daim duab. Kuv siv NPN (D882) transistor hauv pob SMD rau qhov me me ntawm tus tsav tsheb no. Cov transistor no yooj yim muab lub zog txaus rau RGB LED. Koj tuaj yeem siv SMD lossis hla qhov 1kohm resistor. Cheebtsam tuaj yeem tau txais los ntawm lub rooj tsav xwm hluav taws xob qub.

Kauj Ruam 3: Ua kom tiav PCB Nrog Cov Khoom Siv thiab Txuas Nrog RGB LED

Image
Image
Ua kom tiav PCB Nrog Cheeb Tsam thiab Txuas Nrog RGB LED
Ua kom tiav PCB Nrog Cheeb Tsam thiab Txuas Nrog RGB LED

Ua raws li qhov txuas txuas raws li qhia hauv qab no. Txuas PCB qhov zoo thiab qhov tsis zoo nrog 3-5V, 500mM fais fab mov. RGB yuav tsis ci tuaj. rau kev sim txuas cov tswv yim rau ardiuno pins nrog cov khoom siv tau zoo ntawm lub Circuit Court ib qho ntawm cov xim ci. Nws zoo ib yam sim lwm tus pin. Txhua tus pin yuav tig tsuas yog ib qho xim ntawm RGB LED Yog tias txhua tus pin ua haujlwm raug koj qhov haujlwm tau ua tiav. Tam sim no koj tuaj yeem siv nws nrog ardiuno. Ib qho kawg uas koj yuav tsum tau ceeb toom, ib txwm txuas tus pin hauv av ntawm qhov Circuit no nrog ardiuno tus pin hauv av. Yog xav paub ntau saib kuv cov vis dis aus hauv youtube thiab txhawb nqa kuv txoj haujlwm los ntawm kev nyiam, sib qhia thiab sau npe.

Pom zoo: