Cov txheej txheem:

Charlieplexed Kab ntawm LED Teeb, rau Arduino: 9 Cov Kauj Ruam (nrog Duab)
Charlieplexed Kab ntawm LED Teeb, rau Arduino: 9 Cov Kauj Ruam (nrog Duab)

Video: Charlieplexed Kab ntawm LED Teeb, rau Arduino: 9 Cov Kauj Ruam (nrog Duab)

Video: Charlieplexed Kab ntawm LED Teeb, rau Arduino: 9 Cov Kauj Ruam (nrog Duab)
Video: $600 NYIAJ PAB CA * $3600 CHILD TAX * BIDEN SPEECH * INDIA KAB MOB HNYAV * TOP NEWS+ 04/29/2021 2024, Kaum ib hlis
Anonim
Charlieplexed Kab ntawm LED Teeb, rau Arduino
Charlieplexed Kab ntawm LED Teeb, rau Arduino
Charlieplexed Kab ntawm LED Teeb, rau Arduino
Charlieplexed Kab ntawm LED Teeb, rau Arduino

Nov yog kuv cov lus qhia ntawm charlieplexing LED kab/hlua nrog arduino. Kuv pom tias tsis muaj ntau cov lus qhia ntawm charlieplexing siv arduino, yog li kuv tau ua qhov no. Kuv sim ua kom txoj haujlwm yooj yim, tab sis qhov ntawd tsis ua haujlwm zoo heev. Cov laug yog qhov nyuaj, Kuv yuav tsis pom zoo qhov no yog thawj zaug siv qhov project. Qhov no yog qee qhov keeb kwm yav dhau los ntawm charlieplexing: en.wikipedia.org/wiki/Charlieplexing Kuv tau siv txog 80 daim duab & tsis yog txhua tus ntawm lawv ua rau hauv cov kauj ruam tseem ceeb, tab sis koj tuaj yeem pom lawv hauv qib 9: Cov Duab Ntxiv Yog tias koj muaj lus pom, lus nug &/lossis cov lus qhia thov nug lawv!

Kauj Ruam 1: Daim Ntawv Teev Npe:

Daim Ntawv Teev Npe
Daim Ntawv Teev Npe
Daim Ntawv Teev Npe
Daim Ntawv Teev Npe

Qhov chaw:- 12 LED's; Kuv siv qee qhov 3 hli Liab LED's- 4, 270 Ohm resistors; Koj tuaj yeem siv lwm qhov txiaj ntsig ib yam nkaus- Perfboard/Veroboard; Kuv siv ib daim 27 qhov x 5 qhov- Hlau; Kuv siv qee qhov 26 ntsuas, cov tub ntxhais hlau- Lub taub hau pins (xaiv tau)- ArduinoTools:- Soldering Iron- Kub phom phom (xaiv tau)- Pab txhais tes (yeem)

Kauj Ruam 2: Muab tshuaj txhuam rau ntawm LED

Solder Anodes ntawm LED's
Solder Anodes ntawm LED's
Solder lub Anodes ntawm LED's
Solder lub Anodes ntawm LED's
Solder Anodes ntawm LED's
Solder Anodes ntawm LED's

Tsis muaj ntau yam hais txog ob peb kauj ruam tom ntej, tab sis muaj ob peb lub ntsiab lus tseem ceeb uas kuv yuav hais txog.- Cov LED's anodes raug muab muag hauv cov pab pawg ntawm 3- Nco ntsoov tias 4 pab pawg tsis koom ua ke, tab sis nyob sib nrug Cov xov hlau uas txuas 4 pawg yog hom zoo li tus L.

Kauj Ruam 3: Khoov Cathodes

Khoov Cathodes
Khoov Cathodes
Khoov Cathodes
Khoov Cathodes

Cov Ntsiab Lus Tseem Ceeb:- Koj yuav tsum xaus nrog 4 kab sib txawv- Ua kom ntseeg tau tias txhua ntawm 4 kab muaj tsuas yog 3 qhov txuas rau cathodes & tsuas yog ib qho los ntawm txhua pawg ntawm LED

Kauj Ruam 4: Solder Cathodes

Solder lub Cathodes
Solder lub Cathodes
Solder lub Cathodes
Solder lub Cathodes
Solder lub Cathodes
Solder lub Cathodes

Cov Ntsiab Lus Tseem Ceeb: Tsis ntau npaum li hais ntawm no tsuas yog siv kab 4 kab & nco ntsoov kom tsis txhob muaj cov choj txuas ntawm cov xov hlau. Koj yuav tsum muaj 4 kab uas tsuas muaj 3 qhov sib txuas rau nws, ib ntawm txhua pab pawg nrog ib pab pawg tsis txuas nrog. Kuv tau sim ua cov phiaj xwm kom ze rau qhov thaiv qhov ntau li ntau tau, yog li ntawd yuav ua rau qhov kuv tab tom tham txog kom nkag siab me ntsis. Nws yog daim duab kawg ntawm cov kauj ruam no.

Kauj ruam 5: Txhim kho Resistors

Nruab Resistors
Nruab Resistors
Nruab Resistors
Nruab Resistors
Nruab Resistors
Nruab Resistors

Qhov no me ntsis tsis meej pem. Vam tias kuv piav nws zoo txaus. Muaj ntau daim duab ntawm qhov no hauv qib 9. Resistor kawg kev sib txuas: 1) Ib kawg txuas nrog kab 1. Lwm rau pawg 42) Ib kawg txuas nrog kab 2. Lwm rau pawg 33) Ib kawg txuas nrog kab 4. lwm yam rau pawg 24) Ib kawg txuas nrog kab 3. Lwm rau pawg 1

Kauj Ruam 6: Ntxiv Cov Tswj Hluav Taws Xob

Ntxiv Cov Tswj Hluav Taws Xob
Ntxiv Cov Tswj Hluav Taws Xob
Ntxiv Cov Tswj Hluav Taws Xob
Ntxiv Cov Tswj Hluav Taws Xob
Ntxiv Cov Tswj Hluav Taws Xob
Ntxiv Cov Tswj Hluav Taws Xob

Qhov no tej zaum yog ib qib uas yooj yim tshaj plaws! Txhua yam koj ua yog siv cov xov hlau txuas rau 4 pab pawg. Kuv siv qee cov xaim ntev txog 6 hauv ntev. Lawv tsis tas yuav yog cov xim sib txawv tab sis nws tuaj yeem pab tau yog tias muaj dab tsi tsis raug & koj yuav tsum tau debug qhov Circuit Court. Koj tsis xav tau qee tus pin header, tab sis yog tias koj xav tau qee qhov zoo siab siv lawv.

Kauj Ruam 7: Coding Arduino

Coding Arduino
Coding Arduino

Nov yog qee cov kauj ruam yooj yim los teeb tsa koj li arduino.1) Rub tawm qhov chaws hauv qab no 2) Qhib cov ntaub ntawv hauv Arduino IDE3) Nias lub pob "Upload rau I/O Board" 4) Thaum qhov program tau rub tawm nws yuav pib ua haujlwm Nco tseg: Koj yuav yuav tsum tau hloov qee yam hauv "const int ledPins [12] [2] = {" array yog hais tias tus coj tig rau, tsis ua li cas. Kuv sim ntxiv cov lus pom zoo rau cov cai, tab sis yog tias koj muaj lus nug, thov nug lawv.

Kauj Ruam 8: Muaj Kev Lom Zem !

Muaj Kev Lom Zem !!!
Muaj Kev Lom Zem !!!

Qhov no yuav tsum tsis txhob nyuaj, tab sis nws yuav yog Yog tias koj muaj lus pom, lus nug &/lossis cov lus qhia thov nug lawv!

Kauj Ruam 9: Ntxiv Cov Duab

Cov Duab Ntxiv
Cov Duab Ntxiv
Cov Duab Ntxiv
Cov Duab Ntxiv
Cov Duab Ntxiv
Cov Duab Ntxiv

Zoo, Kuv tsis paub tseeb tias kuv thaum me ntsis hla nrog cov duab, Tab sis ntawm no yog cov duab tas yog tias koj xav tau qee yam meej. Yog tias koj muaj lus nug thov hu rau lawv. Qhov Duab 1-9: Txhim Kho LED'sPictures 10-13: Khoov cov cathodesPictures 14-18: soldering the cathodesPictures 19-20: Txhim kho cov resistorsPictures 21-23: Txhim kho cov xov hlau tswj

Pom zoo: