Cov txheej txheem:

LED Hnub Ci Ncuav Qab Zib Ncuav Qab Zib Uas Koj Yuav Tsum Tau Tawm: 4 Kauj Ruam
LED Hnub Ci Ncuav Qab Zib Ncuav Qab Zib Uas Koj Yuav Tsum Tau Tawm: 4 Kauj Ruam

Video: LED Hnub Ci Ncuav Qab Zib Ncuav Qab Zib Uas Koj Yuav Tsum Tau Tawm: 4 Kauj Ruam

Video: LED Hnub Ci Ncuav Qab Zib Ncuav Qab Zib Uas Koj Yuav Tsum Tau Tawm: 4 Kauj Ruam
Video: Tswv Yexus lub neej thaum pib txug thaum xaus 2024, Hlis ntuj nqeg
Anonim
LED Hnub Ci Ncuav Ncuav Ncuav Ncuav Ncuav Qab Zib Uas Koj Yuav Tsum Tau Tawm
LED Hnub Ci Ncuav Ncuav Ncuav Ncuav Ncuav Qab Zib Uas Koj Yuav Tsum Tau Tawm
LED Hnub Ci Ncuav Ncuav Ncuav Ncuav Ncuav Qab Zib Uas Koj Yuav Tsum Tau Tawm
LED Hnub Ci Ncuav Ncuav Ncuav Ncuav Ncuav Qab Zib Uas Koj Yuav Tsum Tau Tawm

Kuv yuav qhia koj yuav ua li cas thiaj ua lub tswm ciab hnub yug uas siv LED tab sis koj tseem tuaj yeem tshuab tawm.

Kev tshoov siab los ntawm electronic_plumber Ib LED Koj tuaj yeem Tshuab Tawm thiab code.

Kauj Ruam 1: Cov khoom siv

Khoom siv
Khoom siv
Khoom siv
Khoom siv
Khoom siv
Khoom siv

cov khoom koj yuav xav tau

1: Arduino ib

2: LED teeb

3: qob

4: USB hom A cable

5: Resistor

6: Tshem tawm header pins

7: Ntsia Hlau.

Kauj ruam 2: LED thiab Resistor

LED thiab Resistor
LED thiab Resistor
LED thiab Resistor
LED thiab Resistor
LED thiab Resistor
LED thiab Resistor
LED thiab Resistor
LED thiab Resistor

ham nws ib yam li cov duab saum toj no.

Ua txhaum ntawm 1 lub taub hau tus pin thiab nres ntawm lwm 2 lub taub hau pins.

Solder cov xaim dub rau thawj tus pin header.

Solder lwm qhov kawg ntawm cov xaim dub rau sab tsis zoo ntawm LED.

Tam sim no solder tus resistor rau sab xis ntawm koj ob lub taub hau pins

solder cov hlau liab rau sab laug ntawm koj ob lub taub hau pins koom nrog tus tiv thaiv rau xaim liab.

Yog xav paub ntxiv

Kauj Ruam 3: Txuas Koj Cov LED rau ARDUINO

Txuas koj lub LED rau ARDUINO
Txuas koj lub LED rau ARDUINO

Txuas koj LED Arduino ib yam li cov duab saum toj no.

Txuas sab tsis zoo ntawm LED rau Arduino tus pin GND.

Txuas qhov zoo ntawm LED rau tus pin A0.

Txuas tus resistor header tus pin rau A1 tus pin ntawm koj Arduino.

Kauj Ruam 4: Tsim Tswmciab

Tsim Tswmciab
Tsim Tswmciab
Tsim Tswmciab
Tsim Tswmciab
Tsim Tswmciab
Tsim Tswmciab
Tsim Tswmciab
Tsim Tswmciab

Txiav cov quav ntev uas koj xav kom koj lub ncuav mog qab zib hnub yug yog.

Tam sim no nrog tus ntswj ntsia hlau thawb lub LED cuam hauv qab ntawm lub

straw yog li nws yog 95% ntawm LED tau tawm ntawm cov quav.

Tam sim no thawb lub straw thiab LED cuam rau hauv qab ntawm koj lub ncuav mog qab zib yog li ntawd

koj cov xov hlau tawm hauv qab ntawm koj lub ncuav qab zib thiab coj mus rau koj Arduino.

Pom zoo: