Cov txheej txheem:

LED ntsais muag {khawm tswj}: 5 Cov kauj ruam
LED ntsais muag {khawm tswj}: 5 Cov kauj ruam

Video: LED ntsais muag {khawm tswj}: 5 Cov kauj ruam

Video: LED ntsais muag {khawm tswj}: 5 Cov kauj ruam
Video: Hmong New Song 2019 Xy Lee feat. SuabNag Yaj - Koj Yog Kuv Lub Neej (Official MV - 4K) 2024, Kaum ib hlis
Anonim
LED ntsais muag {khawm tswj}
LED ntsais muag {khawm tswj}

Kuv yog menyuam kawm ntawv hauv Kang Chiao. Nov yog kuv qhov haujlwm, Kuv siv Arduino thiab ua lub teeb ci-ntsais nrog lub pob uas tuaj yeem ua rau nws ntsais. Koj tuaj yeem muab nws tso rau ntawm koj daim ntaub thiab thaum qee tus neeg nyob ze koj, koj tuaj yeem nias lub pob thiab lub teeb yuav pib ntsais muag.

Nov yog kuv qhov txuas los ntawm qhov kuv muaj kuv lub tswv yim:

Cov no yog cov kauj ruam los ua nws, vam tias koj txaus siab rau nws.

Kauj Ruam 1: Npaj Khoom

Npaj Khoom
Npaj Khoom

cov khoom siv:

jumper cov xov hlau

daim ntawv qhia zaub mov

LED teeb

khawm

Arduino Leonardo pawg thawj coj saib

resistors

USB cable

Kauj Ruam 2: Txhim Kho Koj Lub Rooj Tswjhwm Saib Arduino thiab Breadboard

Txhim Kho Koj Lub Rooj Tswjhwm Saib Arduino thiab Breadboard
Txhim Kho Koj Lub Rooj Tswjhwm Saib Arduino thiab Breadboard
  1. Siv txoj hlua dhia txuas GND rau -, thiab 5v rau +
  2. Siv txoj hlua dhia los txuas 13 rau ib kab ntawm kab ntawv rau ntawm lub khob cij, thiab ntsaws tus tiv thaiv kab ntawm kab ib sab nws.
  3. muab ob lub xov hlau nyob hauv qab ob kab hauv qib 2, thiab txuas cov xov hlau nrog lub teeb ci
  4. Siv txoj hlua dhia txuas 11 mus rau lwm txoj kab ntawm lub khob cij, ntsaws lwm txoj hlua dhia ib sab nws thiab txuas rau +.
  5. muab cov xov hlau uas nyob rau ntawm khawm hauv qab ob kab, thiab tso tus tiv thaiv kab ntawm kab uas txuas 11.

Kauj ruam 3: Tiav Nws

Tiav Nws
Tiav Nws
  1. tau txais ib lub thawv thiab muab lub qhov rau nruab nrab
  2. muab cov LED txawm tias lub qhov

Kauj Ruam 4: Sau Txoj Cai

Sau Txoj Cai
Sau Txoj Cai

Qhov txuas ntawm cov cai ntawm Arduino:

create.arduino.cc/editor/leosu1219/3115e1aa-e6e6-400a-8e9e-41ea5b7e0264/preview

Pom zoo: