Cov txheej txheem:

LED Traffic Light Module Tutorial: 5 Kauj Ruam
LED Traffic Light Module Tutorial: 5 Kauj Ruam

Video: LED Traffic Light Module Tutorial: 5 Kauj Ruam

Video: LED Traffic Light Module Tutorial: 5 Kauj Ruam
Video: Traffic Light Circuit Using | 555 Timer IC | Led Projects. 2024, Kaum ib hlis
Anonim
LED Tsheb Teeb Module Tutorial
LED Tsheb Teeb Module Tutorial

Nqe lus piav qhia:

Nov yog qhov me-teeb pom kev teeb pom kev zoo, qhov ci siab, tsim nyog rau kev tsim cov qauv teeb pom kev zoo. Nws yog qhov tshwj xeeb nrog nws qhov loj me, thaiv yooj yim, tsom, thiab teeb tsa kev teeb tsa. Nws tuaj yeem txuas nrog PWM los tswj qhov ci ci ntawm LED.

Nta:

  1. Me me.
  2. Txoj hlua yooj yim.
  3. Lub hom phiaj.
  4. Kev teeb tsa kev cai.

Kauj Ruam 1: Npaj Khoom

Npaj Khoom
Npaj Khoom
Npaj Khoom
Npaj Khoom
Npaj Khoom
Npaj Khoom
Npaj Khoom
Npaj Khoom

Ua ntej koj yuav pib, npaj txhua yam khoom xav tau:

  • Arduino UAS
  • LED teeb pom kev zoo
  • Jumper xov hlau
  • Cov qhob cij

Kauj ruam 2: Teeb Kev Sib Txuas

Teeb Kev Sib Txuas
Teeb Kev Sib Txuas

Ua raws li qhov txuas raws li qhia saum toj no.

Kauj Ruam 3: Qauv Cai

Rub tawm cov qauv piv txwv no thiab muab tso rau hauv koj li Arduino IDE.

Kauj ruam 4: Uploading

Tso tawm
Tso tawm

Tom qab qhib txoj cai hauv Arduino IDE, mus rau [Cov Cuab Yeej] [Tus Thawj Saib Xyuas] xaiv [Arduino/Genuino UNO] raws li peb siv Arduino UNO hauv qhov kev qhia no.

Tom qab ntawd txuas Arduino UNO rau PC, tom qab ntawd xaiv qhov chaw nres nkoj raug (mus rau [Cuab Yeej] [Chaw Nres Nkoj] Xaiv qhov chaw nres nkoj raug rau Arduino UNO).

Tom ntej no, suav sau thiab xa cov cai rau hauv koj Arduino UNO.

Pom zoo: