Irejista ye-Shift sisixhobo esisebenzisa i-logic yelogcey ukugcina kunye nokudlulisela idatha ye-binary.Isekethe ye-bidirectial eshukuma i-data nganye ukusuka kwigalelo kwimveliso kuyo yonke i-pulse nganye.Okwangoku kukho iintlobo ngeentlobo zemodeli yoguqulelo, phakathi kwe-74hc595 ye-7895 yi-Shift-Diseclel ye-Shift.Umsebenzi wayo kukuguqula imiqondiso ye-serial kwimiqondiso ehambelana nayo, kwaye iqhele ukusetyenziswa kwi-chips zomqhubi kwiityhubhu ezahlukeneyo zedijithali kunye nezikrini ze-Dot matrix.Eli nqaku liza kwazisa ulwazi lwayo malunga nemibandela kunye nezicelo.
Ikhathalogu
I-74hc595 Ngaba igalelo le-8-biilial ye-spitial, i-pierallel yemveliso ye-Shift Plaift, kwaye iziphumo zayo ezifanayo ziyimveliso ye-State State.Kwindawo yokunyuka ye-Sck (iwotshi ye-serial), idatha ye-serial igalelo kwirejista ye-SDL (igalelo ledatha yedatha) kunye nemveliso evela kwi-Q7 ikhuphe i-q7 ikhutshiwe.Iziphumo ezifanayo zenzeka kumda we-LCK (uLawulo lweLatch).Ngeli xesha, idatha kwirejista ye-Shift yesi-8 ye-Shift ivulwa kwirejista yemveliso eyi-8.Xa i-OE (iKhutsho) I-Stop Lawula iphantsi (Vula imeko), ixabiso lokukhupha lendlela yokuphuma kwi-terrallel ilingana nerejista yemveliso egciniweyo kwirejista yemveliso egciniweyo.
Iindlela ezizezinye kunye nokulingana
I-74hc595 inezikhonkwane ezili-14.Umzobo othile wePIN kunye nemisebenzi yayo yile ilandelayo.
IPIN 1 (i-SUR): Igalelo ledatha ye-serial
IPIN ye-SES yipini yedatha yedatha ye-74hc595.Idatha inokuba yigalelo kwi-chip kancinci nge-bit nge-PIN.Xa sisebenza, siqala ukufaka idatha ye-sersial kule pin, kwaye emva koko utshintsha idatha yegalelo kwirejista ye-Shift bift kancinci kancinci nge-pin yewotshi.
IPIN 2 (i-RCLK): Bhalisa igalelo le-clock
IPIN ye-RCLK yirejista i-pire ye-spect ye-74hc595.Xa yonke idatha yokufaka itshintshelwe kwirejista yotshintsho, sihlengahlengisa inqanaba lokutshintsha kwePift ye-RCLK ukutshintsha idatha kwirejista yemveliso ngaxeshanye.Umsebenzi weli pili kukulawula ukusebenza kwedatha.
IPIN 3 (SRCLK): Igalelo le-Clock
IPIN ye-SRCLK yi-Shift Refall Refaet iPIN ye-74hc595.Ngexesha lokusebenza kotshintsho, sitshintsha idatha yokufaka kwirejista yokutshintsha ngokulawula inqanaba lokutshintsha kwe-SRCLK.Umsebenzi wale pin kukulawula umqondiso wewotshi we-swift.
IPIN 4 (OE): Iziphumo zeNzuzo
IPIN ye-OE yimveliso yemveliso yokuphuma kwi-74hc595.Ngokulawula inqanaba leli pin sinokwenza okanye sikhubaze iPIN yePIN.Xa iPIN ye-OE iphezulu, iPIN yempuphu ikhubazekile kwaye akukho datha yokufaka idluliselwe.Xa i-oe i-oe iphantsi, iPIN yemveliso iya kudlula kwidatha yokufaka.
I-PIN 5 (DS): Igalelo ledatha ye-serial (i-bidirectial)
IPIN ye-DS yi-bidirectional ye-bidirectial ye-bidirectial yedatha ye-74hc595.Ngokungafaniyo ne-1 (i-SUS), iPIN ye-DS inokulawulwa yisekethe yangaphandle yokuphumeza unxibelelwano lwembali.Le pin itshintshiwe phakathi kwendlela ye-serial ye-serial kunye nemo yemveliso yemveliso.
I-PIN 6 (ST_CP)
I-st_cp pin yi-pip ye-Flip-Flop ye-Flop ye-Flock ye-74hc595.Xa iziphumo zemveliso ivenkile i-flop-flock spench itshintsha, idatha kwimemori yokukhupha iya kugcinwa kwiPIN yemveliso esekwe kwigalelo langoku.Umsebenzi weli pili kukulawula ukusebenza kwedatha.
IPIN 7 (SH_CP): Shift bhala igalelo le-clock
I-SH_CP iPIN yi-Shift Breyisha iPift ye-Shift Pift ye-74hc595.Xa irejista yokubhalisa i-Shift Stock Storing, idatha yokufaka iya kutshintshwa kwirejista ye-Shift kancinci.Umsebenzi wale pin kukulawula umqondiso wewotshi we-swift.
IPIN 8 (Q7 '): IPIN yePIN
I-Q7 'iPIN ye-8th bit (i-bit bit bit) i-74HC595, esetyenziselwa ukukhupha idatha ye-8th kwirejista ye-8th kwirejista ye-8th kwirejista ye-8th kwirejista ye-8th kwirejista ye-8th kwirejista ye-8th kwirejista ye-8th kwirejista ye-8.Imeko yenqanaba leli pi igqitywe yidatha yokufaka kunye nedatha kwirejista yotshintsho.
Izikhonkwane 9-16 (Q0-Q7): Izikhonkwane ezi-7
I-Q0 i-Q7 izikhonkwane ze-Q7 ziikhonkco ezi-8 ze-74HC595 (kubandakanya i-Q7 ukuya kwi-Q7), esetyenziselwa ukukhupha idatha ephantsi kwirejista ye-Shift.IPIN nganye ihambelana nemveliso yedatha.Ngezi zinto, idatha kwirejista ye-Shift ingaphumela kwisiphaluka sangaphandle ngokuhambelana.
I-74hc595 ihlala isetyenziswa kwezi ndawo zilandelayo.
Ulawulo oludlulayo
Iimpawu zemveliso ezifanayo ze-74hc595 zikwenza ukuba iqhube iqhube kakhulu kudlulile ngaxeshanye, kwaye umntu odlulayo unokulawula izixhobo zombane okanye ezingaphezulu zombane.Ke ngoko, ngokuyilwa kwesekethe kunye nenkqubo, sinokwakha inkqubo yolawulo lombane.
Ukwandiswa kweDijithali
Ngokuqhagamshela izikhonkwane zemveliso ye-microcontroller ukuya kwi-74h595, siyakwazi ukuqonda umsebenzi wokwanda kwesibuko, ngaloo ndlela sinika izikhonkwane zokungena ezingenamgaqo.Ngale ndlela, sinokuthatha ithuba le-74hc595 ye-74hc595 yendawo yokwandisa i-microcontroller i-port port port port posmer ye-microcontroller ukuya kumanqaku olawulo ngakumbi, eqonda ukulawulwa kwentloko okanye izinto ezichanekileyo.
Ulawulo lokubonisa
Kwimeko yokulawula umboniso we-LCD, i-74hc595 ikwakwazi ukusebenzisa igalelo laso le-sepylitial kunye neempawu zokukhupha izinto ezifanayo zokuhambisa idatha ye-microcontroller kwirejista yangaphakathi nganye nganye.Emva koko, ikhupha ezi datha ngokuhambelana nesekethe ye-LCD ngentsebenziswano.Ngale ndlela, sinokuhlaziya umxholo kwi-LCD bonisa, nokuba ngumbhalo, imifanekiso okanye ividiyo, ngendlela egudileyo.
Umculo wabetha ukukhanya
Xa sidibanisa i-algorithm ye-Algorithm enerejista ye-74HC595 ye-SHC599, sinokwenza isiphumo sokukhanya kwe-LED esingqinelana ngokugqibeleleyo kunye nokubetha komculo.I-Algorithm ye-Algorithm, njengeyona nto iphambili, inoxanduva lokufaka ngokuchanekileyo utshintsho lomculo kunye nokuvelisa imiqondiso yolawulo ehambelanayo.Ezi miqondiso ayisiyimiyalelo nje elula yokutshintsha, zinokuqulatha rhoqo, ukuqaqamba, kunye nokutshintsha kombala we-leds.I-74HC595 inokulawula ngokulula i-PoSS i-EDSES ezininzi ngokusebenzisa igalelo layo le-serial kunye neempawu zokuphuma.
Umboniso we-Static
Umda wokukhetha icandelo lomboniso ngamnye we-LED uqhagamshelwe kwimveliso efanayo ye-74hc595, ukuze nganye ibonakale ngokuzimeleyo (jonga inqaku elingezantsi).Kwangelo xesha, kuba umboniso ngamnye ulawulwa yi-78HC59 ye-Outc599 yePropathi yeNgcaciso, ikhowudi yokhetho yayo ilawulwa, ngoko abalinganiswa ababonisiweyo banokwahluka.Nangona kunjalo, kwiimfuno ezibonisiweyo ze-N-bit ze-N-bit ze-NOku kuthatha izixhobo ezingaphezulu kwaye iindleko ziphezulu.Uyilo olunjalo luyingenelo kwimiboniso ye-LEDI-ye-led emininzi kuba iyonyusa ubunzima kunye nomthwalo wendleko yenkqubo.
Isibonisi esinamandla
Kwizicelo eziboniswayo ezininzi ze-LED, ukuze zinciphise iindleko kwaye zigcine izixhobo zenkqubo, singakwazi ukudibanisa zonke iikhowudi ze-N-Bit OKANYE I-N-BIGS STOKY YOKUGQIBELA NGOKUGQIBELAUkusukela kwiikhowudi zokukhetha i-sagement zazo zonke ii-LEDs zilawulwa ngokufanayo zizibuko lemveliso yale-74hc595, nangaliphi na ixesha, i-N-bit ye-N-bit iya kubonisa abalinganiswa abafanayo.Ukuba sifuna ukuba ngamnye akhokele abalinganiswa obahlukileyo, kufuneka sisebenzise indlela yokuskena.Oku kuthetha ukuba nangaliphi na ixesha, sinenye kuphela i-LED ibonisa abalinganiswa.Ngexesha elithile, izibuko lokuphuma ezifanayo ze-74hc595 ziya kuphumeza ikhowudi yokukhetha yecandelo lomlinganiswa ohambelana nalo.Kwangelo xesha, uLawulo loKhetho lwe-bit I / O LE / O LELe nkqubo iza kwenziwa ngononophelo, ukuze i-lroy nganye ibonisa umlinganiswa kufuneka ubonakalise ngexesha.Kufanelekile ukuba ukufumanisa ukuba ukusukela kwi-74hc595 inomsebenzi weLatch kwaye kuthatha ixesha elithile ukukhetha ikhowudi yokufaka i-serial propment, ngokukodwa, asifuni kulibaziseko ukwenza isiphumo senkalo esibonakalayo.
I-Chip ye-74HC595 ilungu lochungechunge lwe-74.Ineempawu zesantya esikhawulezayo, ukusebenzisa amandla aphantsi, kunye nokusebenza ngokulula.Ingasetyenziswa ngokulula njenge-microcontroller imbeko yokuqhuba.
Umboniso we-LED
Imiboniso bhanyabhanya yesixhenxe ikhupha i-Diodeys, ikwabizwa ngokuba yimiboniso ye-LED, isetyenziswe ngokubanzi kwiindidi ezahlukeneyo zesixhobo ngenxa yexabiso eliphantsi, ukusetyenziswa kwamandla ephantsi kunye nokusetyenziswa kwamandla okuphezulu.Zininzi iindidi zabaqhubi beempahla ezinikezelweyo kwintengiso yangoku.Nangona uninzi lwazo lutyebile kwimisebenzi, amaxabiso abo aphezulu.Ke ngoko, ukusebenzisa ezi qhwa kwiinkqubo zexabiso eliphantsi kunye nezilula aziyobukrelekrele kuphela kodwa zonyusa iindleko zemveliso.Sebenzisa i-74hc595 yokuqhuba i-LEDS ineenzuzo ezininzi.Okokuqala, isantya sokuqhuba sikhawuleza kwaye ukusela amandla kwaso kuphantsi.Okwesibini, i-74hc595 inokuthi iqhube iinombolo ezahlukeneyo ze-LED, nokuba yinto eqhelekileyo yokuboniswa kwesikhokelo okanye isiboniso esiqhelekileyo esingafakwanga, sinokusiphatha ngokulula.Ukongeza, kulawulo lwesoftware, sinokulungelelanisa ngokulula ukuqaqamba kwe-LED kwaye kucime umboniso xa kukho imfuneko (idatha isagcinwa), ukunciphisa ukusetyenziswa kwamandla, kunye nokuvuka ngalo naliphi na ixesha apho kufuneka khona.Isekelo elelwe kusetyenziswa i-74hc595 alinayo kuphela isoftware elula kunye noyilo olulula lwesoftware, ukusetyenziswa kwamandla ephantsi, amandla okuqhuba onamandla, kodwa unendawo encinci ye / o.Ke ngoko, iye yaba sisisombululo esineendleko eziphantsi nesiguquguqukayo, ngakumbi ilungele imeko yemeko eneemfuno ezingqongqo kwiindleko kunye nezixhobo.
I-74hc595 i-chip yekhompyuter yokuqhuba
Lo mfanekiso ungezantsi yisekethi yephakethi ye-PAYBINE YENKULUMBUZO EYENZIWEYO UKUSETYENZISWA KO-AT8C2011 kunye ne-74HC595 i-inversions.
I-P115, ye-P116, kwaye i-P117 yezibuko ze-P1 zisetyenziselwa ukulawula umboniso we-LED.Ziqhagamshelwe kwisilayidi, i-SCLK kunye ne-SDA PIN ngokwahlukeneyo.Iityhubhu ezintathu zedijithali zisetyenziselwa ukubonisa ixabiso le-voltage.Iityhubhu ezintathu zedijithali zifakwe kwiBhodi yeSekethe ukuze zibonise ixabiso le-voltage.Phakathi kwabo, i-EED3 ihamba ngasekhohlo, kwaye i-EED1 ikwilungelo elifanelekileyo.Xa uthumela idatha, siqala ukuthumela ikhowudi yokubonisa ye-LED3, kwaye ekugqibeleni uthumele ikhowudi yokubonisa ye-EED1.Ukukhanya kwe-LED kulawulwa ngokuhlengahlengisa ukuchasana kwi-pr1 ukuya kwi-PR3.Olu uyilo alukuqinisekisi uku-ocwakiswa komboniso wedatha, kodwa kukwenza ukuba uhlengahlengiso olubonakalayo lokuqaqamba.
Sebenzisa i-buffers okanye abaqhubi
Ukongeza i-buffers okanye abaqhubi kwimveliso ye-74hc595, njengama-78ls244 (i-UNIDSEAL) okanye i-74ls245 (i-chirerectional) kunye nokusetyenziswa kozinzo lomqondiso.
Sebenzisa umbane ofanelekileyo
Nceda uqiniseke ukuba amandla ombane angamandla we-74H595 kuluhlu oluchaziweyo kwaye amandla alo aqinile ukuba afezekise iimfuno zokuqhuba komthwalo ofunekayo.Ukuba i-voltage yombane ayonelanga, inokubangela i-istlibel yemveliso yokuphuma ukuze ichaphazele amandla ayo okuqhuba kwaye ke ayinakuqhuba nomthwalo ngokufanelekileyo.
Yongeza isekethe yokuqhuba yangaphandle
Ukuba imveliso ye-74HC595 ayonelanga ukuba iqhube ngokuthe ngqo umthwalo onqwenelekayo, sinokongeza isekethe yokuqhuba yangaphandle, njengokusetyenziswa kweendlela zokuhambisa, iityhubhu zendawo (i-FEBS) okanye i-chips eyodwa yokukhupha uphawu lwe-74hc595.
Uyilo olululo lwe-PCB wiring
Kwi-wiring ye-PCB, kufuneka sizame ukunciphisa ukuxhathisa kunye nokwenza i-wiring yokuphucula ukusebenza kwempumelelo yomqondiso.Ukongeza, nceda uphephe ukuvelisa uphazamiseko kunye nengxolo kwi-wiring ukuze ungachaphazeli umgangatho we-OupPim Sypy ye-74HC595.
Sebenzisa ukuxhathisa umthwalo ofanelekileyo
Sifanele sikhethe ukuxhathisa komthwalo ofanelekileyo ngokwemizobo yesixhobo somthwalo.Ukuba ukuxhathisa komthwalo kuncinci kakhulu, kuya kukhokelela ekuhambeni okugqithisileyo kwaye kunokulimaza i-74hc595 chip.Kwelinye icala, ukuba umkhuseli womthwalo mkhulu kakhulu, isenokungakwazi ukufumana i-Ampling eyoneleyo yokuphuma.
Ukufakwa kweziphumo ezininzi
Ukuba izixhobo ezingaphezulu kufuneka ziqhutywa, kwaye iimfuno zokuqhuba zezi zixhobo ziyafana, sinokujonga ngokuthe gca iziphumo ze-74hc595s ezininzi ukuphucula amandla okuqhuba ngokubanzi.Nangona kunjalo, ngaphambi kokuba uhambelane, qiniseka ukuba iimfuno zokuqhuba zezi zixhobo ziyahambelana, kwaye iyonke yangoku emva kokuba isandula ukuthunyelwa kwe-74HC595, ukuze ichaphazele isiphumo sokuqhuba.
Imibuzo ebuzwa rhoqo [i-FAQ]
1. Ngaba i-74hc595 i-microcontroller?
I-74hc595 yirejista yokutshintsha esebenzayo kwi-serial kwiprotroltocol yokuphuma.Ifumana idatha ye-day ngokusuka kwi-microcontroller kwaye ithumele le datha ngokufana.
2. Yintoni umsebenzi we-74HC595?
I-74hc595 sisixhobo se-CMO SPOS ephezulu.Irejista yesibhozo yokutshintsha i-Shift ivule idatha evela kwi-serial Igalelo le-serial (DS) kwinguqu nganye elungileyo yewotshi ye-Shift iwotshi (i-SHCP).Xa iphakamise iphantsi umsebenzi kwakhona
3. Ingakanani i-74hc595 isiphatho?
Iphepha ledatha le-74HC595 litsho ukuba iziphumo nganye zinokuzisa ubuncinci i-35MA kuba le yeyona nto ivunyelweyo.Ngokucacileyo le nto ivunyelwe i-25MA evunyelweyo ye-μc.Kukho omnye umda: I-74hc595 akufuneki ibonelele ngaphezulu kwe-70ma lilonke.
4. Nguwuphi umahluko phakathi kweMax7219 ne-74hc595?
I-74hc595 yirejista yokutshintsha kunye ne-max7219 ngumqhubi wokubonisa okhethekileyo.Ke ngoko bobabini abakwenzi kwaloo nto.I-max7219 iya kuba (kakhulu) ilula ukuyisebenzisa ngepicaxe ukuba i-Coming Accents njengoko umsebenzi wezinto ezizimeleyo zenziwa yi-max7219 hayi i-pitaxe kodwa ibiza kakhulu.