Cov txheej txheem:
- Khoom siv
- Kauj Ruam 1: Pin Out thiab Daim Duab Ua Haujlwm
- Kauj ruam 2: Kev sib txuas rau Arduino
- Kauj Ruam 3: Xaus
Video: Arduino Nrog CD4015B Hloov Sau Npe: 3 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
CD4015B yog Dual 4 Theem Static Shift Register nrog Serial input thiab Parallel output. Nws yog 16 tus pin IC thiab muaj ob qhov zoo sib xws, 4-theem sau npe nrog cov ntaub ntawv ywj pheej, Clock, thiab Pib dua cov tswv yim. Lub logic siab ntawm Reset input rov pib dua txhua plaub qib uas tau them los ntawm cov lus qhia ntawd. Nws yog CMOS ntaus ntawv nrog txhua qhov kev tiv thaiv los ntawm kev tso tawm zoo li qub.
Nws muaj peev xwm nthuav tawm 2 plaub theem kev sau npe mus rau 8 ntsis sau npe ntawm ib pob, thiab txuas ntxiv los ntawm kev ntxiv CD4015B ICs ntau dua.
Nws muaj ntau daim ntawv thov, suav nrog:
- Serial input / parallel cov ntaub ntawv tso tawm ua kab
- Serial rau cov ntaub ntawv hloov dua siab tshiab
- Lub hom phiaj sau npe
ntxiv rau tsav LEDs raws li kuv yuav qhia hauv qab no.
Khoom siv
Cov ICs no pheej yig heev thiab tam sim no koj tuaj yeem yuav 10 CD4015BE rau tsawg dua 2 UK phaus los ntawm Tuam Tshoj ntawm Ebay.
Kauj Ruam 1: Pin Out thiab Daim Duab Ua Haujlwm
CD4015B muaj qhov zoo li yog qhov txawv txav thiab yuav tsum tau saib xyuas kom raug txheeb xyuas txhua tus lej. Piv txwv li Q4B (tus pin 2) nyob ze rau Q3A (tus pin 3) thiab Q4A (tus pin 10) nyob ib sab ntawm Q3B (tus pin 11). Tsis tas li ntawd Moos B yog nyob rau sab A ntawm IC thiab zoo li Moos A yog nyob rau sab B feem ntau.
Kev ua haujlwm ntawm CD4015B
Kom paub meej cov lus hais los saum no
"Cov ntaub ntawv tau pauv los ntawm cov tswv yim mus rau theem tso tawm ntawm IC ntawm kev hloov pauv zoo".
piv txwv li Tus Pin tus pin mus ntawm qis mus rau siab ntawm nws cov theem tseem ceeb. Qhov no tau ua tiav ntawm Arduino los ntawm kev teeb tsa tus pin tus lej qis, teeb tsa Cov Ntaub Ntawv tus pin siab lossis qis thiab tom qab teeb tsa Clock tus pin siab dua. Txhua lub sijhawm qhov no tshwm sim cov ntaub ntawv ntawm tus pin tso tawm tau hloov mus rau ib qho ntxiv, piv txwv li los ntawm Q1A rau Q2A thiab lwm yam.
Tsis muaj dab tsi tshwm sim thaum tus pin tus pin nce los ntawm siab rau qis.
Thaum Pib dua tus pin tau teeb tsa siab, nws teev nws 4 qhov tso tawm qis. Qhov no tso cai rau tam sim no ntws los ntawm LEDs thiab tig lawv rau. Hauv qhov teeb tsa piav qhia hauv qab no, tag nrho 8 qhov txiaj ntsig tau rov pib dua li Pib dua A thiab Rov Pib B txuas nrog.
Kauj ruam 2: Kev sib txuas rau Arduino
Kev sib txuas rau Arduino yog raws li hauv qab no:
- CD4015B tus pin 16 rau Arduino 5v
- CD4015B tus pin 8 rau Arduino Gnd
- CD4015B tus pin 6 (Pib dua A) rau Arduino tus pin 5
- CD4015B tus pin 7 (Cov Ntaub Ntawv A) rau Arduino tus pin 6
- CD4015B tus pin 9 (Moos A) rau Arduino tus pin 7
- CD4015B pins Q1A - Q4A rau LED Cathode thiab Anode rau 5v ntawm 100 ohm resistor
Txhawm rau kom muaj 8 Theem Hloov Hloov Npe
- Txuas tus pin 14 (Pib dua B) rau tus pin 6 (Pib dua A) ntawm CD4015B
- Txuas tus pin 1 (Moos B) rau tus pin 9 (Moos A) ntawm CD4015B
- Txuas tus pin 10 (Q4A) rau tus pin 15 (Cov Ntaub Ntawv B) ntawm CD4015B
- CD4015B pins Q1B - Q4B rau LED Cathode thiab Anode rau 5v ntawm 100 ohm resistor
Ib qho program Arduino suav nrog los ua kom pom tias CD4015B tuaj yeem siv nrog LEDs li cas. Tsis xav tau lub tsev qiv ntawv tshwj xeeb rau txoj haujlwm kom ua haujlwm. Koj tsis tas yuav siv tus pin 5, 6 thiab 7 ntawm Arduino, raws li ib qho ntawm I/O pins yuav ua haujlwm, tab sis koj yuav tsum hloov kho daim duab kos rau qhov twg koj tau siv tus pin.
Lub voj voog tuaj yeem teeb tsa ntawm lub rooj mov ci.
Lub voj voos program qhia txog 4 txoj hauv kev sib txawv rau program CD4015B.
Kauj Ruam 3: Xaus
Kuv nyuam qhuav tshwm sim kom muaj CD4015BCN IC dag ib puag ncig thiab xav tsis thoob txog yuav ua haujlwm li cas. Kawm cov ntaub ntawv cuam tshuam tau muab txhua yam ntaub ntawv rau kuv. Kuj tseem muaj ntau lwm yam kev hloov pauv rau npe hauv khw. Ib qho piv txwv yog nrov 74LS595 uas nws muaj nws txoj hauv kev tshwj xeeb rau kev ua haujlwm zoo li yog TTL tsis zoo li CMOS. Tsis zoo li muaj ntau cov ntaub ntawv muaj rau Arduino thiab CD4015B.
Kuv tsis yog tus kws tshaj lij hluav taws xob thiab tsuas yog muab cov ntaub ntawv no rau txhua tus uas yuav pom nws nthuav.
Cov ntaub ntawv ntau ntxiv tuaj yeem pom ntawm cov ntaub ntawv cuam tshuam.
Pom zoo:
Hloov-Hloov Cov Khoom Ua Si: Cov Khoom Ua Si Cov Khoom Ua Si Ua Tau Zoo!: 7 Cov Kauj Ruam (nrog Duab)
Hloov-Hloov Cov Khoom Ua Si: Cov Khoom Siv Hluav Taws Xob Ua Tau Zoo!: Qho khoom ua si hloov pauv qhib txoj hauv kev tshiab thiab kev daws teeb meem kom tso cai rau menyuam yaus uas muaj lub cev muaj peev xwm txwv lossis kev xiam oos qhab kev loj hlob los cuam tshuam nrog cov khoom ua si ntawm nws tus kheej. Hauv ntau qhov xwm txheej, cov menyuam yaus uas xav tau cov khoom ua si hloov pauv tsis tuaj yeem nkag mus
Txhim Kho Cov Hloov Pauv Hloov Rau Hauv Ntse Kov Hloov Nrog Temp Monitoring: 4 Cov Kauj Ruam
Txhim Kho Qhov Hloov Pauv Hloov Mus Rau Ntse Kov Hloov Nrog Lub Sijhawm Saib Xyuas: Kuv paub txhua tus ntawm koj ntsib qhov teeb meem no tsawg kawg ib qho hauv koj lub neej lub rooj hloov pauv tau tawg los ntawm kev siv tas mus li. ntau lub sijhawm yog lub caij nplooj ntoo hlav sab hauv hloov pauv los yog m
48 X 8 Scrolling LED Matrix Zaub Siv Arduino thiab Hloov Sau Npe: 6 Kauj Ruam (nrog Duab)
48 X 8 Scrolling LED Matrix Display Siv Arduino thiab Shift Cov Ntawv Sau Npe: Nyob zoo txhua tus! Qhov no yog kuv thawj Kev Qhia thiab nws yog txhua yam hais txog kev ua 48 x 8 Programmable Scrolling LED Matrix siv Arduino Uno thiab 74HC595 hloov npe. Nov yog kuv thawj qhov haujlwm nrog Arduino pawg thawj coj txhim kho. Nws yog qhov kev sib tw muab rau m
Cov Xim Ntau Yam Xim Stencils Nrog Cov Hloov Pauv Hloov: 12 Cov Kauj Ruam (nrog Duab)
Comprehensive Multi Color Stencils With Variable Output: Multilayer xim tiag tiag stenciling tsis yog txhua qhov sai thiab yooj yim. Tseeb, koj tuaj yeem crank ib zaug hauv ib teev, tab sis nws siv sijhawm thiab xyaum ua kom muaj peev xwm rov ua cov txheej txheem thiab paub yuav ua li cas txhawm rau nws rau txhua qhov sib txawv stencil. Hauv cov lus qhia no, Kuv yuav
Ua Lub Teeb Lub Npe Lub Npe Tawm ntawm Cov Ntsiab Lus Keyboard: 6 Cov Kauj Ruam
Ua Lub Teeb Lub Npe Lub Npe Tawm Ntawm Cov Ntsiab Lus Keyboard: Cov lus qhia no yuav qhia koj txhua tus yuav ua li cas thiaj ua lub npe lub teeb tawm ntawm qee qhov seem siv cov keyboard thiab ob peb lub tshuab hluav taws xob. Cia peb pib