Cov txheej txheem:
- Kauj Ruam 1: Cov Khoom Koj Xav Tau
- Kauj Ruam 2: Xaiv L.E.Ds thiab Resistors
- Kauj Ruam 3: Ntau Dab Tsi?
- Kauj Ruam 4: Soldering Matrix
- Kauj Ruam 5: Nws Yog Sijhawm rau Txoj Haujlwm
- Kauj Ruam 6: Nws Ua tiav
Video: Ua ib qho 8x10 L.E.D Matrix: 6 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:31
Hloov tshiab 1: Kuv tau ntxiv CODE rau CONWAY's GAME OF LIFE UPDATE 2: Tam sim no koj tuaj yeem txuag qee ARDUINO PINS nrog kev pab ntawm 1 SHIFT REGISTER. Hauv cov lus qhia no kuv yuav qhia koj yuav ua li cas thiaj tsim tau qhov zoo nkauj heev 8 los ntawm 10 L. E. D matrix (nrog cov ntawv nyeem thiab kab lus) siv Arduino thiab 4017 lub xyoo caum txee. Hom matrix no yog ib qho yooj yim los ua thiab ua haujlwm thiab nws yog txoj hauv kev zoo kawm paub yuav ua li cas kom sib npaug. Kuv tau ntxiv lwm qhov rau cov lus qhia no txog kev siv 74HC595 hloov npe uas yuav pab txuag qee tus pin arduino rau lwm yam uas koj xav ua. Yog li tam sim no koj yuav tsum muaj txoj hauv kev los ntawm no. Koj tuaj yeem ua tus lej no yam tsis muaj kev hloov npe thiab uas yuav cawm koj qee qhov haujlwm ua haujlwm lossis siv daim ntawv hloov pauv yog tias koj xav kom muaj ntau tus pin dawb siv.
Kauj Ruam 1: Cov Khoom Koj Xav Tau
Cov Cuab Yeej: 1. Soldering hlau 2. Qee lub tshuab ziab khaub ncaws 3. Me me lub qhov ntswg plier 4. Cov xov hlau rau lub matrix: 1. 80 LEDs 2. 8 resistors (Tus nqi raug txwv los ntawm hom LEDs) 3. 4017 xyoo caum txee 4. 10 1KOhm resistors 5. 10 2N3904 transistors 6. Ib co hlau tub ntxhais 7. Perfboard 8. Arduino yeem - 9. 74HC595 hloov npe 10. qee tus pin headers
Kauj Ruam 2: Xaiv L. E. Ds thiab Resistors
Qhov no yog ib qho tseem ceeb tshaj plaws ntawm txoj haujlwm no, vim nws raws li LEDs nws yog qhov tseem ceeb heev los xaiv qhov yog. Kuv pom zoo siv 5mm diffused LEDs vim tias lawv muab lub teeb pom kev zoo thiab ua kom pom tseeb (cov xim LEDs yog qhov koj xaiv nkaus xwb). Koj tuaj yeem siv 3mm LEDs ib yam nkaus tab sis nws yuav ua rau cov tawv tawv tawv tiag tiag thiab koj yuav tau txais cov khoom me me. Lwm qhov lus qhia yog yuav cov LEDs los ntawm Ebay vim tias koj tuaj yeem tau txais tus nqi zoo tiag tiag thiab qee zaum tau txais cov tshuaj tiv thaiv dawb ib yam (zoo li hauv kuv qhov teeb meem). Tsis txhob yuav 80 LEDs vim tias ib lossis ntau ntawm LEDs tuaj yeem ua rau puas tsuaj, kuv cov lus qhia kom yuav 10 lossis 20 ntau dua, thiab yog tias qee qhov yuav tshuav koj tuaj yeem siv tau yav tom ntej. Tam sim no los xam tus nqi ntawm 8 tus tiv thaiv koj tuaj yeem siv lub xaib no: https://led.linear1.org/1led.wiz. Koj yuav tsum xub tau txais qee qhov kev qhia tshwj xeeb ntawm koj cov LEDs, koj yuav tsum paub lawv qhov hluav taws xob rau pem hauv ntej thiab mus rau tam sim no, koj tuaj yeem tau txais cov ntaub ntawv no los ntawm tus muag khoom. Arduino muab qhov tso tawm ntawm 5V yog li koj qhov Source voltage yog 5V.
Kauj Ruam 3: Ntau Dab Tsi?
Yog li dab tsi yog multiplexing: Nws yog ib txoj hauv kev los faib cov ntaub ntawv rau hauv peace me thiab xa nws ib tus zuj zus. txoj hauv kev no koj tuaj yeem txuag ntau tus pin ntawm Arduino thiab khaws koj txoj haujlwm yooj yim heev. Hauv peb qhov xwm txheej peb faib cov duab uas peb xav pom rau 10 peaces (10 kab), Peb xav luam theej kab ntawm cov lej (teeb ib kab ib zaug) thiab xa cov ntaub ntawv los ntawm Arduino mus rau kab ntawv. Txhua kab ntawv yog qhov zoo ntawm LEDs thiab kab yog qhov tsis zoo yog li yog thawj kab txuas nrog hauv av thiab peb xa cov ntaub ntawv mus rau kab peb yuav tsuas pom thawj kab. Txhawm rau kom tau txais cov zaub zoo peb yuav tsum tau tshuaj xyuas kab kab nrawm heev, yog li ceev tib neeg lub qhov muag xav tias txhua kab tau txuas nrog tib lub sijhawm. Yog li vim li cas 4017: Rau qhov teeb meem LED no kuv xav siv qhov txiaj ntsig IC no. Nov yog lub vev xaib zoo los kawm cov hauv paus ntawm IC no: https://www.doctronics.co.uk/4017.htm Lub 4017 lub xyoo kaum xyoo txee tau siv los tso cai sib npaug. Qhov IC no ntsuas qhov kab ntawm cov lej (teeb ib kab ib zaug). Hauv peb qhov xwm txheej peb xav txuas cov kab mus rau hauv av tab sis 4017 tsis tsim los rau tam sim no, yog li txhawm rau daws qhov teeb meem me me no peb yuav tsum siv lub transistor nrog tus tiv thaiv. 4017 muaj 10 tus pin tso tawm yog li peb xav tau 10 tus tiv thaiv thiab 10 lub transistors, peb txuas 1K tus tiv thaiv rau cov txiaj ntsig ntawm 4017 thiab lub hauv paus ntawm transistor mus rau lwm qhov kawg ntawm tus tiv thaiv. Tom qab ntawd peb txuas cov neeg sau khoom ntawm transistor rau kab thiab tus xa tawm mus rau hauv av. Nov yog cov ntaub ntawv cov ntaub ntawv ntawm tus transistor peb yuav tsum siv: https://www.fairchildsemi.com/ds/2N/2N3904.pdf Kev hloov npe: Qhov IC me me no yog qhov muaj txiaj ntsig zoo nws tso cai rau koj los tswj ntau qhov kev tso tawm nrog kev siv onlt 3 tus pin los ntawm micro-maub los. Los ntawm kev txuas ntau IC's koj tuaj yeem nce tus naj npawb ntawm cov txiaj ntsig nrog poob ntau micro-maub los pins. Koj tuaj yeem nyeem ntxiv txog lawv thiab yuav siv lawv li cas nrog arduino hauv qhov txuas no:
Kauj Ruam 4: Soldering Matrix
Soldering LED matrix yog qhov nyuaj heev, muaj ntau txoj hauv kev los ua nws thiab kuv yuav muab rau koj tsuas yog ob qho. Thawj qhov yog qhov kuv tau siv thiab txoj hauv kev no siv sijhawm ntau thiab siv zog tab sis qhov kawg tau zoo heev thiab zoo nkauj. Koj yuav tsum txuas txhua qhov ua tau zoo ntawm LEDs hauv kab thiab cov tsis zoo hauv kab. Tam sim no koj ua qhov no los ntawm kev coj tus thawj coj zoo ntawm thawj LED thiab khoov nws mus rau lwm lub LEDs, muab cov laug txuas uas kov ib leeg, los ntawm no coj cov hlau lead kawg uas koj tau siv thiab khoov nws dua thiab rov ua dua kom txog thaum koj muaj tag nrho cov coj zoo txuas nrog hauv kab lus. hla cov kab uas koj tsis tau siv. Tam sim no qhov tsis yooj yim yog txuas cov pins tsis zoo hauv kab vim tias koj tsis tuaj yeem khoov lawv thiab ua kom zoo li koj tau ua nrog qhov ua tau zoo. Tam sim no kuv siv cov hlua me me los ntawm cov tub ntxhais hlau thiab txuas lawv zoo li koj tuaj yeem pom hauv daim duab hauv qab no (qhov no yuav siv sijhawm ntau thiab ua haujlwm). Txoj hauv kev thib ob yog pib tib txoj hauv kev ib yam li thawj txoj kev tab sis qhov sib txawv tsuas yog txuas cov pins tsis zoo. Txoj kev no txuag ntau lub sijhawm thiab yooj yim dua. Qhov ua kom yuam kev yog tso qee daim kab xev lossis lwm yam ntawm kab sib txuas kom cais lawv los ntawm cov koob tsis zoo thiab yog tias koj ua qhov ntawd koj tuaj yeem khoov qhov tsis zoo ib yam thiab txuas lawv zoo li koj tau ua nrog qhov zoo. Tsis muaj qhov hloov pauv npe: Ntawm tus tiv thaiv koj txuas txhua kab ntawv mus rau arduino (pins 0-7). Pib dua tus pin ntawm 4017 mus rau tus pin 8 ntawm arduino thiab tus pin tus pin mus rau tus pin 9 ntawm arduino. Nrog rau kev hloov pauv rau npe: Tam sim no yog tias koj txuas txhua yam zoo li tau qhia hauv cov txheej txheem koj yuav xav tau txuas tus tswj pins zoo li: Cov npe hloov pauv: Cov Ntaub Ntawv Pin = arduino pin9 Latch Pin = arduino pin 11 Clock Pin = arduino pin 10 4017: moos tus pin = arduino tus pin 13 pib tus pin = arduino pin12
Kauj Ruam 5: Nws Yog Sijhawm rau Txoj Haujlwm
Kuv tau sau qhov haujlwm me me los ua cov ntawv rub tawm thiab ntxiv txhua tus ntawv thiab tus lej (ntau txoj haujlwm), Kuv siv cov chaw nres nkoj rau kuv qhov program vim tias nws txuag chaw thiab yooj yim los lis. Yog tias koj tsis paub yuav ua haujlwm nrog cov chaw nres nkoj ntawm arduino Kuv pom zoo kom mus rau ntawm arduio lub vev xaib kawm ua ntej koj pib. Nov yog qhov txuas: https://arduino.cc/en/Reference/PortManipulation Yog tias koj xav ua koj tus kheej cov duab Kuv tau ua cov cuab yeej me me nrog ua tau zoo uas yuav ua rau sau cov duab yooj yim dua (cov lus qhia los nrog lub cuab yeej) Yog koj tsis muaj excel, Kuv pom zoo kom ua cov lej hauv cov xim thiab kos cov duab nyob ntawd thiab tom qab ntawd nws yuav yooj yim dua los sau cov bytes. Thiab yam kawg yog kom tsis txhob hnov qab tshem lub pins 0 thiab 1 thaum koj rub koj lub program vim tias tus pin no tseem siv ua tus pin kev sib txuas lus thiab yuav ua rau qee qhov yuam kev nrog qhov program. Yog tias koj xaiv siv daim ntawv teev npe ua haujlwm koj yuav tsis tas yuav txhawj xeeb txog kev tshem tawm 0 thiab 1 tus pin ntawm arduino. Kuv tau ntxiv cov cai los tswj cov lej nrog hloov npe sau ib yam nkaus.
Kauj Ruam 6: Nws Ua tiav
Tam sim no koj tuaj yeem sim thiab ua koj tus qauv thiab cov duab thiab koj yuav paub siv 4017 IC thiab 74HC595 hloov npe.
Pom zoo:
DIY Ambilight Nrog Raspberry Pi thiab Tsis Muaj Arduino! Ua haujlwm ntawm Ib qho HDMI Source: 17 Cov Kauj Ruam (nrog Duab)
DIY Ambilight Nrog Raspberry Pi thiab Tsis Muaj Arduino! Ua haujlwm ntawm Txhua Qhov Chaw HDMI: Kuv muaj qhov nkag siab yooj yim ntawm cov khoom siv hluav taws xob, uas yog vim li cas kuv thiaj txaus siab heev ntawm kuv li DIY Ambilight teeb nyob rau hauv cov ntoo ntoo yooj yim nrog lub peev xwm tig lub teeb rau thiab tawm raws li thiab thaum kuv thov. Rau cov uas tsis paub tias Ambilight yog dab tsi;
Qho Khoom Ua Si Bluetooth Tsuav thiab Tsim Android Game Nrog MIT App Inventor: 22 Cov Kauj Ruam (nrog Duab)
Qho Khoom Ua Si Bluetooth Tsuav thiab Tsim Android Game Nrog MIT App Inventor: Ua si tsuav game muaj ntau txoj kev sib txawv 1) Tsoos ua si nrog ntoo lossis tooj dag. 2) Ua si hauv xov tooj los yog pc nrog cov tsuav tus nqi random tsim los ntawm mobile lossis pc.in qhov sib txawv no ua si lub tsuav lub cev thiab txav cov nyiaj npib hauv txawb lossis PC
Minion Cubecraft Qho Khoom Ua Si (Lub Teeb Qho Khoom Ua Si): 4 Kauj Ruam
Minion Cubecraft Toy (Lub Teeb Qho Khoom Ua Si): Txij li ntev los kuv xav ua lub teeb kom siv nws hauv qhov tsaus ntuj, tab sis lub tswv yim ntawm tsuas yog cov khoom siv cylindrical zoo li tsuas yog qhib-tawm ua rau kuv tsis ua nws. Nws yog qhov tseem ceeb heev. Tom qab ntawd muaj ib hnub kuv tus nus coj ib qho PCB me me nrog
Ib qho yooj yim RFID MFRC522 cuam tshuam nrog Arduino Nano: 4 Cov Kauj Ruam (nrog Duab)
Ib qho yooj yim RFID MFRC522 cuam tshuam nrog Arduino Nano: Kev tswj hwm kev nkag mus yog cov txheej txheem hauv kev tiv thaiv lub cev thiab kev nyab xeeb cov ntaub ntawv, txwv tsis pub nkag mus/nkag mus rau cov peev txheej ntawm ib lub koom haum lossis thaj chaw. Txoj cai ntawm kev nkag mus yuav txhais tau tias yog siv, nkag mus, lossis siv
Ua ib qho Arduino Tswj Kev Tsav Tsheb Lub Koob Yees Duab Slider !: 13 Kauj Ruam (nrog Duab)
Ua ib qho Arduino Controlled Motorized Camera Slider!: Qhov haujlwm no qhia koj yuav hloov pauv ib qho yooj yim slider mus rau Arduino tswj lub tshuab ua haujlwm slider. Tus swb tuaj yeem txav mus nrawm heev ntawm 6m/min, tab sis kuj tseem qeeb heev. Yam koj xav tau: Ib qho