Umgaqo woyilo osisiseko wesikrini esikhokeleyo somboniso kuloliwe ohamba ngaphantsi komhlaba
Umgaqo osisiseko woyilo lomgaqo kaloliwe okhokelwayo wesikrini;Njengendawo yokubonisa ulwazi olujoliswe eluntwini kwindlela engaphantsi, umboniso okhokelwayo wangaphakathi unoluhlu olubanzi kakhulu lwexabiso loluntu nelorhwebo.
Okwangoku, iimoto ezihamba ngaphantsi komhlaba ezisebenza eTshayina zixhotyiswe ngokubanzi ngomboniso okhokelwayo wangaphakathi, kodwa kukho imisebenzi embalwa eyongezelelweyo kunye nomxholo wesikrini esinye.Ukuze sisebenzisane nokusetyenziswa kwenkqubo entsha yolwazi lwabakhweli bemetro, siyile i-multibus metro ye-LED yesikrini esiguqukayo.
Isikrini sokubonisa asinakho nje i-interfaces ezininzi zebhasi kunxibelelwano lwangaphandle, kodwa yamkela ibhasi enye kunye nezixhobo zebhasi ze-I2C kuyilo lwesiphaluka solawulo lwangaphakathi.
Kukho iindidi ezimbiniIzikrini ze-LEDkuloliwe ohamba ngaphantsi komhlaba: enye ibekwe ngaphandle kwikhareji ukubonisa icandelo elibalekayo likaloliwe, indlela ehamba ngayo kunye negama lesitishi sangoku, elihambelana nesiTshayina nesiNgesi;Olunye ulwazi lwenkonzo lunokuboniswa ngokweemfuno zokusebenza;Umboniso wokubhaliweyo unokuba ne-static, ukuskrola, uguqulelo, ingxangxasi, oopopayi kunye nezinye iziphumo, kunye nenani loonobumba ababonisiweyo yi-16 × 12 16 oonobumba be-matrix yamachaphaza.Enye i-terminal ye-LED yangaphakathi, ebekwe kuloliwe.Umboniso we-LED wangaphakathi unokuseta i-terminal ngokweemfuno zokusebenza kukaloliwe, kwaye ubonise i-terminal yangoku ngexesha lokwenyani, kunye nobushushu obukhoyo kuloliwe, oonobumba abali-16 × abasibhozo 16 abalinganiswa bematrix.
Ukuqulunqwa kwenkqubo
Isikrini senkqubo yokubonisa i-LED yenziwe ngeyunithi yokulawula i-microcomputer eyodwa kunye neyunithi yokubonisa.Iyunithi yokubonisa enye ingabonisa i-16 × 16 oonobumba baseTshayina.Ukuba ubungakanani obuthile benkqubo yokubonisa i-LED iveliswa, inokuqondwa ngokusebenzisa iiyunithi ezininzi zokubonisa ezikrelekrele kunye nendlela "yokwakha iibhloko".Unxibelelwano lothotho lusetyenziswa phakathi kweeyunithi zokubonisa kwinkqubo.Ukongeza ekulawuleni iyunithi yokubonisa kunye nokuhambisa imiyalelo kunye nezibonakaliso zekhompyutheni ephezulu, iyunithi yokulawula iphinda ifakwe kunye ne-bus ye-digital sensor yeqondo lokushisa 18B20.Ngombulelo kuyilo lwemodyuli yesiphaluka solawulo, ukuba kukho iimfuno zokulinganisa umswakama, i-18b20 inokuphuculwa kwisekethe yemodyuli eyenziwe yi-DS2438 esuka eDallas kunye ne-HIH23610 esuka kwi-HoneywELL.Ukuze kuhlangatyezwane neemfuno zonxibelelwano zesithuthi sonke, i-CAN ibhasi isetyenziselwa unxibelelwano phakathi kwekhompyutheni ephezulu kunye neyunithi yokulawula nganye kwisithuthi.
uyilo lwehardware
Iyunithi yokubonisa yenziwe ngepaneli yokubonisa i-LED kunye nesekethe yokubonisa.Ibhodi yeyunithi yokubonisa i-LED yenziwe ngeemodyuli ze-4 dot matrix × i-64 dot matrix ye-universal ehlakaniphile yokubonisa iyunithi, iyunithi enye yokubonisa ingabonisa i-4 16 × 16 dot matrix iimpawu zesiTshayina okanye iimpawu.Unxibelelwano lothotho lusetyenziswa phakathi kweeyunithi zokubonisa kwinkqubo, ukuze umsebenzi wenkqubo yonke ulungelelaniswe kwaye udityaniswe.Umboniso wesekethe unamazibuko amabini e-16 pin flat cable, abaqhubi beebhasi ezimbini ze-74H245 ze-tristate, enye i-74HC04D i-inverter ezintandathu, ezimbini i-74H138 i-decoder ezisibhozo kunye ne-74HC595 iilatshi ezisibhozo.Ingundoqo yesiphaluka solawulo yi-microcontroller ye-high-speed 77E58 ye-WINBOND, kunye ne-crystal frequency yi-24MHz AT29C020A yi-256K ROM yokugcina i-16 × 16 dot matrix ilayibrari ye-Chinese character kunye ne-16 × 8 dot matrix ASCII ikhowudi ikhowudi.I-AT24C020 yi-EP2ROM esekelwe kwi-serial ye-I2C yebhasi, egcina iziteyitimenti ezicwangcisiweyo, ezifana namagama esikhululo sikaloliwe, imibuliso, njl njl. Ubushushu kwisithuthi bulinganiswa nge-bus eyodwa ye-digital sensor sensor 18b20.I-SJA1000 kunye ne-TJA1040 ngumlawuli webhasi ye-CAN kunye ne-transceiver ngokulandelanayo.
Uyilo lweyunithi yesekethe yokulawula
Yonke inkqubo ithatha i-microcontroller enamandla 77E58 yeWinbond njengengundoqo.I-77E58 ithatha isiseko se-microprocessor ehlaziyiweyo, kwaye imiyalelo yayo iyahambelana nochungechunge lwe-51.Nangona kunjalo, ngenxa yokuba umjikelo wewotshi iyimijikelo emi-4 kuphela, isantya sokubaleka siqheleke ngokuphindwe ka-2 ~ 3 ngaphezulu kwe-8051 yesiqhelo kwi-frequency yewotshi efanayo.Ke ngoko, iimfuno ze-frequency ze-microcontroller kumboniso oguqukayo womthamo omkhulu weempawu zesiTshayina zisonjululwe kakuhle, kwaye umlindi unikezelwe.I-77E58 ilawula imemori ye-flash ye-AT29C020 nge-latch 74LS373, kunye nobukhulu be-256K.Ekubeni umthamo wememori mkhulu kune-64K, uyilo luthatha indlela yokujonga i-paging, oko kukuthi, i-P1.1 kunye ne-P1.2 isetyenziselwa ukukhetha amaphepha kwimemori ye-flash, eyahlula ngamaphepha amane.Ubungakanani beedilesi zephepha ngalinye yi-64K.Ukongeza kokukhetha ii-chips ze-AT29C020, i-P1.5 iqinisekisa ukuba i-P1.1 kunye ne-P1.2 ayiyi kubangela i-misoperation ye-AT29C020 xa iphinda isetyenziswe kwi-16 pin flat cable interface.Umlawuli we-CAN yinxalenye ephambili yonxibelelwano.Ukuze kuphuculwe ikhono lokuchasana nokuphazamiseka, i-6N137 i-optocoupler ephezulu yongezwa phakathi komlawuli we-CAN SJA1000 kunye ne-CAN transceiver TJA1040.I-microcontroller ikhetha isilawuli se-CAN SJA1000 chip nge-P3.0.I-18B20 sisixhobo sebhasi enye.Ifuna kuphela i-port ye-I/O enye yojongano phakathi kwesixhobo kunye ne-microcontroller.Iyakwazi ukuguqula ngokuthe ngqo ubushushu kwisignali yedijithali kwaye uyikhuphe ngokulandelelana kwimodi yekhowudi yedijithali ye-9-bit.I-P1.4 ikhethwe kwisiphaluka sokulawula ukugqiba ukhetho lwe-chip kunye nemisebenzi yokudlulisa idatha ye-18B20.I-Cable Cable Cable SCL kunye ne-bidirectional data cable SDA ye-AT24C020 ixhunywe ngokulandelanayo kwi-P1.6 kunye ne-P1.7.16 i-pin flat wire interfaces ye-microcontroller, eziziindawo zokujongana kwisiphaluka solawulo kunye nesekethe yokubonisa.
Bonisa uqhagamshelwano lweyunithi kunye nolawulo
Inxalenye yesiphaluka sokubonisa idibaniswe kunye ne-16 ye-pin flat wire port yecandelo lesiphaluka solawulo ngokusebenzisa i-16 pin flat wire port (1), ehambisa imiyalelo kunye nedatha ye-microcontroller kwisiphaluka sokubonisa i-LED.I-16 pin ucingo olusicaba (2) lusetyenziselwa ukukhupha izikrini ezininzi zokubonisa.Udibaniso lwayo ngokusisiseko lufana ne-16 pin flat wire port (1), kodwa kufuneka kuqatshelwe ukuba isiphelo sayo se-R siqhagamshelwe kwisiphelo se-DS sesibhozo se-74H595 ukusuka ekhohlo ukuya ekunene kwi-Figure 2, Xa i-cascading, iya kuba. idityaniswe kuthotho nge-16 pin intambo yesicaba (1) izibuko lesikrini esilandelayo sokubonisa (njengoko kubonisiwe kuMfanekiso 1).I-CLK yitheminali yomqondiso wewotshi, i-STR yi-terminal latch yerowu, i-R yi-terminal yedatha, i-G (GND) kunye ne-LOE zizikhanyiso zomgca zenza iitheminali, kunye no-A, B, C, D ziziteminali ezikhethiweyo kumqolo.Imisebenzi ethile yezibuko ngalinye imi ngolu hlobo lulandelayo: A, B, C, D ziitheminali zokukhetha umqolo, ezisetyenziselwa ukulawula uthumelo oluthile lwedatha ukusuka kwikhompyuter ephezulu ukuya kumqolo obekiweyo kwiqela lenjongo yokubonisa, kwaye R yidatha i-terminal, eyamkela idatha ehanjiswa sisilawuli esincinci.Ukulandelelana kokusebenza kweyunithi yokubonisa i-LED ngolu hlobo lulandelayo: emva kokuba i-terminal ye-clock ye-CLK ye-clock ifumana idatha kwi-terminal ye-R, isiphaluka solawulo ngesandla sinikeza i-pulse edge edge, kunye ne-STR kuluhlu lwedatha (16 × 4) Emva kokuba yonke idatha ye-64 idluliselwe, i-edge ekhulayo ye-pulse inikezelwa ukuba ifake idatha;I-LOE imiselwe kwi-1 yi-microcontroller ukukhanyisa umgca.Umzobo oqingqiweyo wesekethe yokubonisa uboniswe kuMzobo 3.
Uyilo lwemodyuli
Izithuthi zeMetro zineemfuno ezahlukeneyo zokubonisa okukhokelwayo kwangaphakathi ngokweemeko zangempela, ngoko siye saqwalasela ngokupheleleyo oku xa siqulunqa isiphaluka, oko kukuthi, phantsi komqathango wokuqinisekisa ukuba imisebenzi ephambili kunye nezakhiwo zihlala zingatshintshi, iimodyuli ezithile zingatshintshwa.Esi sakhiwo senza isiphaluka solawulo lwe-LED sibe nokwandiswa okulungileyo kunye nokulula ukusetyenziswa.
Imodyuli yobushushu kunye nokufuma
Kwiindawo ezishushu kunye nemvula emzantsi, nangona kukho i-air conditioner rhoqo kwimoto, umswakama ubuye ubonakaliso olubalulekileyo abakhweli abakhathalelayo.Imodyuli yobushushu kunye nokufuma eyilwe sithi inomsebenzi wokulinganisa ubushushu kunye nokufuma.Imodyuli yeqondo lokushisa kunye nemodyuli yeqondo lokushisa kunye nomswakama ine-socket interface efanayo, zombini ezo zizakhiwo zebhasi enye kwaye zilawulwa yi-P1.4 port, ngoko kulungele ukutshintshisa.I-HIH3610 sisivamvo sokufuma esidityanisiweyo esinesiphelo sombane esiveliswe yiNkampani ye-Honeywell.I-DS2438 yi-10 bit A/D converter kunye nojongano lonxibelelwano lwebhasi enye.I-chip iqulethe i-high-resolution sensor yeqondo lokushisa kwedijithali, engasetyenziselwa imbuyekezo yeqondo lokushisa leenzwa zokufuma.
485 imodyuli yokwandisa iibhasi
Njengebhasi evuthiweyo kunye nexabiso eliphantsi, ibhasi ye-485 inendawo engenakuphinda ithathelwe indawo kwindawo yoshishino kunye nebala lezendlela.Ngoko ke, senze imodyuli yokwandisa ibhasi ye-485, enokuthi ithathe indawo yemodyuli ye-CAN yokuqala yonxibelelwano lwangaphandle.Imodyuli isebenzisa i-MAXIM's photoelectric isolation MXL1535E njenge-485 transceiver.Ukuqinisekisa ukuhambelana kokulawula, zombini i-MXL1535E kunye ne-SJA1000 i-chip ekhethiweyo nge-P3.0.Ukongeza, ukwahlukaniswa kombane kwe-2500VRMS kubonelelwe phakathi kwecala le-RS2485 kunye nomlawuli okanye icala lengqiqo yokulawula ngesiguquli.Isekethe ye-TVS diode yongezwa kwinxalenye yemveliso yemodyuli ukunciphisa ukuphazamiseka kokunyuka komgca.Izitsiba zisenokusetyenziswa ukwenza isigqibo malunga nokulayisha ukuxhathisa kwisikhululo sebhasi.
Uyilo lwesoftware
Isoftware yenkqubo yenziwe ngesoftware yolawulo lwekhompyuter ephezulu kunye nesoftware yolawulo lweyunithi.Isoftware yolawulo lwekhompyuter ephezulu iphuhliswa kwiqonga elisebenzayo leWindows22000 usebenzisa iC ++ BUILD6.0, kubandakanywa ukhetho lwemowudi yokubonisa (kubandakanya i-static, flashing, scrolling, typing, njl.), ukhetho lwesikhokelo sokuskrola (kubandakanywa phezulu nasezantsi ukuskrola kunye nesobunxele kunye ukuskrola ngasekunene), uhlengahlengiso oluguqukayo lwesantya somboniso (okt ukudanyaza kwamagama, isantya sokuskrola, ukuchwetheza isantya sokubonisa, njl.njl.), bonisa igalelo lesiqulatho, umboniso wepreview, njl.
Xa inkqubo isebenza, inkqubo ayinakukwazi ukubonisa kuphela iimpawu ezifana nesibhengezo sesikhululo kunye nentengiso ngokwezicwangciso ezicwangcisiweyo, kodwa iphinda ifake ngesandla iimpawu ezifunekayo zokubonisa.Isoftware yolawulo yomlawuli weyunithi icwangciswe yi-KEILC ye-8051 kwaye iqiniswe kwi-EEPROM yekhompyuter enye ye-chip 77E58.Ikakhulu igqibezela unxibelelwano phakathi kweekhomputha eziphezulu nezisezantsi, ukufumana idatha yokushisa kunye nomswakama, ulawulo lwe-interface ye-I / O kunye neminye imisebenzi.Ngexesha lomsebenzi wokwenene, ukuchaneka komlinganiselo wobushushu kufikelela ku-± 0.5 ℃ kwaye ukuchaneka komlinganiselo wokufuma kufinyelela ± 2% RH.
Ukuqukumbela
Eli phepha lazisa ingcamango yoyilo lwendlela engaphantsi komhlaba ebonisa isikrini se-LED ukusuka kwimiba yoyilo lwe-hardware schematic diagram, isakhiwo sengqiqo, umzobo webhloko yokwakheka, njl. ukuziqhelanisa neemfuno zemo engqongileyo ezahlukeneyo, kwaye inokulinganisa okuhle kunye nokuguquguquka.Emva kweemvavanyo ezininzi, isikrini esikhokelelweyo sangaphakathi sisetyenziswe kwinkqubo entsha yolwazi lomkhweli wemetro yasekhaya, kwaye umphumo ulungile.Uqheliselo lungqina ukuba isikrini sokubonisa sinokugqibezela umboniso omileyo wabalinganiswa baseTshayina kunye nemizobo kunye nemiboniso eyahlukeneyo eguquguqukayo, kwaye ineempawu zokukhanya okuphezulu, akukho flicker, ulawulo olulula lwengqiqo, njl., oluhlangabezana ngokupheleleyo neemfuno zokubonisa izithuthi zikaloliwe. ngenxaIzikrini ze-LED.
Ixesha lokuposa: Dec-16-2022