Cov txheej txheem:
- Kauj Ruam 1: Kev piav qhia Circuit
- Kauj Ruam 2: Ua Haujlwm Duab ntawm Tsuav
- Kauj ruam 3: Source Code
Video: CharliePlexed RGB LED Tsuav: 3 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:31
Cov lus qhia no yuav qhia yuav ua li cas thiaj tsim cov dice uas muaj xim siv cov txheej txheem ntawm charlieplexing nrog RGB LEDs. tau raug tswj los ntawm 4 I/O pins ntawm ATTiny13V Microcontroller. Tab sis raws li kev xav ntawm CharliePlexing, peb tsuas tuaj yeem tswj 12 {n (n-1)} LEDs los ntawm 4 I/O Pins. Qhov tseeb kev teeb tsa ntawm LEDs hauv daim ntawv ntawm tsuav yog qhov uas lawv tuaj yeem faib ua plaub pawg. Three muaj ob lub LEDs ib leeg thiab ib qho muaj tib lub LED. Cov LEDs ntawm txhua pab pawg tau ON thiab OFF ib txhij thiab tuaj yeem txuas nrog tib I/O pins nrog tib qhov ua tau. x 3 = 12 yog li charlieplexing tuav) '5 I/O tus pin ntawm Tus Tswj Tus Kheej yog siv rau Hloov uas thaum nias tsim cov lej sib txawv los ntawm 1 txog 6 thiab thaum tso tawm tsim cov xim tsis sib xws (6 hauv txhua qhov)
Kauj Ruam 1: Kev piav qhia Circuit
Lub Circuit Court muaj me me 13, 7 RGB LEDs, ob peb resistors thiab microswitch sib nrug los ntawm kev sib txuas hluav taws xob. Qhov txheej txheem hauv PDF thiab SCH hom ntawv muaj nyob ntawm no Cov resistors siv hauv Circuit yog nyob rau hauv daim ntawv ntawm arrays raws li qhia hauv daim duab hauv qab no. CHARLIEPLEXINGCharlieplexing cov txheej txheem siv tag nrho peb lub xeev ua tau: 0, 1 lossis Z (High Impedance state) ntawm tus lej I/O tus pin ntawm lub microcontroller. Nws tswj hwm N*(N-1) LEDs siv N digital pins. Hauv cov txheej txheem no tsuas yog ib qho LED tuaj yeem tswj tau ntawm ib lub sijhawm thiab vim li no txhua lub LEDs los tswj yuav tsum tau rov ua dua tshiab ntawm qhov tsim nyog kom lawv tshwm sim nyob ruaj khov. uas nws tau txuas nrog) tshaj tawm raws li kev tso tawm thiab tag nrho lwm cov pins tau tshaj tawm ua tswv yim (High Impedance lossis 'Z' xeev)
Kauj Ruam 2: Ua Haujlwm Duab ntawm Tsuav
Nov yog ob peb daim duab ntxiv ntawm cov tsuav hauv kev nqis tes ua.
Saib cov xim sib txawv nws tuaj yeem tsim tau. !!!!!!!!!!!
Kauj ruam 3: Source Code
Nov yog qhov chaws ntawm txoj haujlwm sau ua lus C. Tus neeg siv ua ke yog WINAVR GCC
Makefile thiab. Hex cov ntaub ntawv kuj tau txuas nrog
Pom zoo:
Arduino Tsuav Nrog Cov Suab: 7 Kauj Ruam
Arduino Tsuav Nrog Lub Suab: Hauv qhov kev qhia no, koj yuav kawm paub tsim Arduino tsuav nrog lub suab siv LED thiab hais lus. Tsuas yog kev pib ua lub tshuab tag nrho yog ib zaug thiab kov yooj yim. Cov ntawv qhia no suav nrog cov ntaub ntawv, cov kauj ruam thiab cov cai xav tau rau bui
Qaij Sensor LED Tsuav: 3 Cov Kauj Ruam
Tilt Sensor LED Tsuav: Qhov haujlwm no tsim cov tsuav LED uas tsim tus lej tshiab txhua lub sijhawm qaij lub qaij qaij. Txoj haujlwm no tuaj yeem hloov kho kom siv lub pob, tab sis cov cai yuav tsum tau hloov kho kom haum. Ua ntej pib txoj haujlwm no nco ntsoov txuas 5V ib qho
Rau Sided PCB LED Tsuav Nrog WIFI & Gyroscope - PIKOCUBE: 7 Cov Kauj Ruam (nrog Duab)
Six Sided PCB LED Dice With WIFI & Gyroscope - PIKOCUBE: Nyob zoo cov neeg tsim khoom, nws yog tus tsim moekoe! Ib sab ntawm nws lub ntsej muag sab hauv gyroscopic uas tuaj yeem txheeb pom qhov txav chaw thiab qhov chaw, lub voos xwmfab los nrog ESP8285-01F uas yog
Arduino LED Tsuav: 4 Cov Kauj Ruam
Arduino LED Tsuav: Cov lus qhia no yuav qhia koj yooj yim Arduino Tsuav nrog ob peb kauj ruam. Qhov haujlwm tsim nyog rau cov pib, nws muaj qee qhov yooj yim thiab xav tau yam tsawg ntawm cov khoom siv. Cov hauv qab no piav qhia kev npaj cov ntsiab lus rau kev ua
Arduino LED Tsuav Teeb 2: 4 Cov Kauj Ruam
Arduino LED Dice Lights 2: Qhov no yog txoj haujlwm siv Arduino cov khoom siv los ua lub tsaj tsaj dov dov lub teeb pom kev! Nias lub pob ua rau lub teeb nyem ib zaug ib zaug ntawm cov teeb pom kev zoo nyob twj ywm. Nov yog qhov haujlwm pib yooj yim zoo nkauj rau cov uas nyuam qhuav tau txais