Cov txheej txheem:

Yuav Ua Li Cas Siv RGB Led Module: 4 Kauj Ruam
Yuav Ua Li Cas Siv RGB Led Module: 4 Kauj Ruam

Video: Yuav Ua Li Cas Siv RGB Led Module: 4 Kauj Ruam

Video: Yuav Ua Li Cas Siv RGB Led Module: 4 Kauj Ruam
Video: RGB Electronic Clock Bluetooth Speaker rau lag luam khoom plig, Xov tooj Accessories Tuam Tshoj Hoob 2024, Kaum ib hlis
Anonim
Yuav Ua Li Cas Siv RGB Led Module
Yuav Ua Li Cas Siv RGB Led Module

Piav qhia:

  1. Nrog ua-nyob rau hauv resistor tiv thaiv LED los ntawm hlawv tawm.
  2. Muaj peev xwm siv nrog cov tswj hwm sib txawv.
  3. Ua haujlwm siab
  4. Ua haujlwm Voltage: 3.3V / 5V
  5. Muaj peev xwm txuas ntawm Arduino ncaj qha, tsis muaj cov xov hlau txuas.

Kauj Ruam 1: Kev Npaj Khoom

Kev Npaj Khoom
Kev Npaj Khoom
Kev Npaj Khoom
Kev Npaj Khoom
Kev Npaj Khoom
Kev Npaj Khoom
Kev Npaj Khoom
Kev Npaj Khoom

Rau qhov kev qhia no, cov khoom xav tau los ua txoj haujlwm no yog:

  1. Arduino Ib
  2. Cov qhob cij
  3. Txiv neej rau txiv neej jumper
  4. RGB coj module

Kauj Ruam 2: Kev Kho Vajtse

Kev Kho Vajtse
Kev Kho Vajtse

Kauj ruam 3: Source Code

  1. Rub cov ntawv xeem thiab qhib nws los ntawm kev siv Arduino software lossis IDE.
  2. Nco ntsoov tias koj tau xaiv lub rooj tsav xwm raug thiab qhov chaw nres nkoj sib raug. (Hauv qhov kev qhia no, Arduino Uno tau siv)
  3. Tom qab ntawd, xa cov ntawv xeem mus rau hauv koj Arduino Uno.

Pom zoo: