I-DS18B20 yi-Sensor yobushushu obuqhelekileyo.Ikhupha umqondiso wedijithali kwaye ineempawu zesayizi ezincinci, i-haredware ephantsi ngaphezulu, ubuchule obuqinileyo be-anti-phathatho kunye nokuchaneka okuphezulu.Kweli nqaku, siza kwazisa i-DS18B20 ye-DS18b0 ye-DS18B ye-DEMP nganye nganye kwicandelo lesakhiwo, iimpawu, umgaqo ongumgaqo-siseko, iPIN ... ..
Ikhathalogu
I-DS18b20 Ngaba i-sersor yokuqala yobushushu iveliswe nguDallas semicondcuctoctor eUnited States ukuba ixhase unxibelelwano "olunye lwebhasi".Inomsebenzi wamandla asezantsi, ubuchule obuqinileyo bokuphazamiseka, kulula ukuthelekisa izibonelelo zeprosesa, amaqondo obushushu anokuguqulwa ngokuthe ngqo kumqondiso wedijithali ngomgca.I-DS18B20 Sebenzisa unxibelelwano lwe-1-wire ongumgca wedatha kuphela (nomhlaba) kunye nonxibelelwano lwe-microcontrontroller.Inzwanor inoluhlu lobushushu Uluhlu lweqondo lokuchongwa kweqondo lobushushu oluthile nge-125 ° C kwaye ikwachaneki no -0.Ukongeza, i-DS18B20 inokuxhonywa ngokuthe ngqo kumgca wedatha ngaphandle kokufuna ukuhanjiswa kwamandla ngaphandle kwengqondo.
Ngokungafaniyo nabathengisi obuqhelekileyo, isebenzisa itekhnoloji yebhasi eyodwa ukunciphisa ngokufanelekileyo ukuphazanyiswa kwangaphandle kunye nokuphucula ukuchaneka kwemilinganiselo.Kwangelo xesha, kunokuguqula ngokuthe ngqo iqondo lobushushu linemiqondiso yedijithali ye-microcomputer, esenza idatha yodluliselwano ilula kunye nokulungisa ngokulula ngonxibelelwano olulula.
Ukutshintshwa kunye nokulingana
Inzwane iqokelelwe ngamaxesha ama-4, ayi-64-bit ye-FAT, isiza se-bit, isiza seqondo lobushushu se-Alathuri se-Alatile Subger Countration Alarger Countger.Inombolo ye-64-bial ye-bial kwi-ro yifoto-ikhutshiwe ngaphambi kokuba ishiye umzi-mveliso.Ithathwa njengenombolo yedilesi ye-DS18E20.Inombolo ye-64-bial-bial ye-DS18E20 yahlukile.Ikhowudi yokubuyisa i-SyclicalsUmsebenzi we-ROM kukwenza i-DS18b20 eyahlukileyo, ukuze i-DS18b20 iqhagamshelwe kwibhasi enye.
Ukuhanjiswa kwe-wire enye
I-DS18b20 isebenzisa iProtocol yoShire yi-Wire (1-wire) yonxibelelwano.Le protocol ivumela i-DS18b20 ukunxibelelana nentambo yedatha enye kuphela yokuhanjiswa kwedatha kunye nokunikezelwa kwamandla.
Uluhlu olukhulu
Inzwa inokulinganisa ngaphezulu kwenqanaba lobushushu le -55 ° C ukuya kwi-125 ° C, lenza ilungele uluhlu olubanzi lweemfuno zokujonga ubushushu.
Imilinganiselo yamanqaku ngamanqaku amaninzi
Ngebhasi ye-1-wire, sinokuqhagamshela iinzwa ezininzi ze-DS18B20 zeMilinganiselo yobushushu yamanqaku amaninzi.
Idilesi yeHardware eyodwa
Idilesi nganye ye-DS18b0 ye-DS18b0 ineedilesi ezahlukileyo ezingama-64-bit, ezizabelwa ngokuzenzekelayo ngumenzi ngexesha lenkqubo.Le dilesi ye-Hitware yeHardware inxulunyaniswa nenombolo yemodeli ye-EXYEZONgale dilesi yeHardware yeHardware, i-sensor ingachongwa ngokukodwa kwaye inxibelelaniswe nayo.
Imveliso yedijithali
Ixabiso lobushushu be-DS18b20 Iziphumo ze-Digital Ixabiso le-digital, elinokudityaniswa ngokuthe ngqo neenkqubo zedijithali ngaphandle kwesidingo sotshintsho lomqondiso we-Analog.
Ukuchaneka okuphezulu
I-DS18B20 yeSpenter inamandla okulinganisa amaqondo obushushu ngobungakanani obungaphezulu kwe- ± 0.5 ° C, eyenza ilungele iimeko zesicelo ezifuna ukuchaneka kwesicelo esifuna ukuchaneka kwesicelo esifuna ukuchaneka kwesicelo.
Ukusetyenziswa kwamandla asezantsi
Inzwa isebenza kuluhlu lweevolthi zokuhambisa nge-3 v ukuya kwi-5.5 v.Ukusetyenziswa kwamandla kwalesonsor kusezantsi kakhulu kangangokuba kunokusebenza ixesha elide ngaphandle kokuncipha kwentsebenzo.
Ukufundwa kwexesha kunye nokubhala ixesha kunye nemilinganiselo yobushushu ye-DS18b20 kuyafana nezo ze-DS1820, kodwa inani leenombolo zexabiso lobushushu ezifunyenwe zahlukile ngenxa yezisombululo ezahlukeneyo.Xa kuthelekiswa ne-DS1820, ixesha lokucocwa kweqondo lokuguqula le-DS18b20 lifutshane ukusuka kwimizuzwana emi-2 ukuya kwi-750 milliseconds.Inqanaba le-OSFELISITOTION ye-OSCILL ye-Osstillator esebenzayo eguqukayo kunye notshintsho kubushushu, kwaye irejista evelwayo isetyenziswa njengexabiso le-pulser.I-1 ibala i-pulse ifakwe kwi-pulse eveliswe yi-crystal ye-crystal esebenzayo.Xa ixabiso leseti leseti le-1 lincipha ukuya kwi-0, ixabiso lerejista yobushushu liya kunyuka nge-1, ixabiso leseti le-1 liya kuphinda litshintshelwe imiqondiso ye-cystillator esebenzayo.Le nkqubo iya kuqhubeka de i-2 ibala ukuya kwi-0, apho ukuqokelela kwexabiso lerejista yobushushu kuya kuyeka.Okokugqibela, ixabiso kwirejista yobushushu liqondo lobushushu.
Imifanekiso ingentla iluphawu, unyawo kunye noqwalaselo lwePIN kunye nePINO20.
Inkqubo yokuqhuba ye-DS18b20 ixhomekeke ikakhulu kwinkqubo ye-1-wire ye-1-wire.Le nkqubo yebhasi ivumela inkosi yebhasi ukuba ilawule izixhobo zekhoboka elinye okanye ngaphezulu.Kule meko, i-MCU isebenza njengeNkosi kunye ne-DS18b20 ihlala isebenza njengekhoboka.Kwinkqubo yebhasi ye-1-wire ye-1, yonke imiyalelo kunye nedatha ithunyelwa ngokungqinelana nomgaqo-nkqubo we-odolo esezantsi.
Iinkqubo ezi-1 zebhasi zebhasi zisebenzisa umgca wedatha enye kuphela kwaye ifuna umkhuseli ongaphandle wokutsala omalunga ne-5kω.Ke ngoko, kwimeko engasetyenziswanga, inqanaba kumgca wedatha luphezulu.Isixhobo ngasinye (nokuba iSuby okanye ikhoboka) liqhagamshelwe kumgca wedatha ngokusebenzisa i-drain evulekileyo okanye iPIN ye-3-yesango.Le uyilo luvumela isixhobo ngasinye ukuba 'sikhulule "umgca wedatha ukuze xa enye isixhobo ingadluli kwidatha, ezinye izixhobo zinokusebenzisa ngokufanelekileyo umgca wedatha.Umnxibelelanisi webhasi ye-1Ukucwangciswa kwe-hassreware kuboniswa kumzobo ongezantsi:
Kukho amanyathelo amathathu aphambili okusebenzisa umqhubi we-DS18b20:
Inyathelo lokuqala: Qalisa i-DS18B20;
Inyathelo lesiBini: Umyalelo weROM (ulandelwa nasiphi na isicelo sedatha);
Inyathelo lesithathu: I-DS18b20 Umsebenzi (ulandelwa nasiphi na isicelo sedatha);
Ukufikelela ngasinye kwi-DS18b20 kufuneka kulandele la manyathelo.Ukuba kukho naliphi na la manyathelo alahlekileyo okanye akenziwa, i-DS18b20 ayiyi kuphendula.
Uvavanyo loPhando lweSayensi
Ngenxa yokutshintsha kwayo, i-sensor isetyenziswa rhoqo kuvavanyo lwezenzululwazi, ngakumbi ezo zinyanzelisa imilinganiselo yobushushu echanekileyo.
I-Couin Couin Logistics
I-DS18B20 insormer idlala indima ephambili kwi-compristics ebandayo.Isetyenziselwa ukubeka iliso kubushushu bempahla kuyo yonke inkqubo yothutho, iqinisekisa umgangatho kunye nokhuseleko lweempahla ezinobuthathaka.
I-Automation Automast
Xa ubeka iliso kubushushu kwinkqubo yemveliso, i-sensor inokunceda iinkampani zigcina umkhondo wenqanaba lokusebenza kwezixhobo zokuqinisekisa ukuba izixhobo kunye neenkqubo ziphucule ukusebenza kunye nomgangatho.
Ukubekwa kweliso kwi-elektroniki yezixhobo
Kwizixhobo ze-elektroniki, i-DS18B20 yenzwa inokusetyenziselwa ukubeka iliso kubushushu bamacandelo athile, ukubona ubushushu ngendlela enamaxesha ngamaxesha, ngenxa yoko kuphepha iingxaki zomonakalo kunye nokulahleka kwedatha.
I-Intanethi yeZinto (IOI) Izicelo
Yenzelwe iinkqubo ezingenisiweyo kunye nezixhobo ze-II: Inqwala iququzelele ukubekwa kweliso ekude kunye nokuqokelelwa kwedatha ngokuqokelelwa kwezixhobo ezifana ne-microtrollernd okanye i-raspberry pi.
Iinkqubo zoLawulo lobushushu
Ukongeza koku, i-insorsor isetyenziselwa ukuqaphela iinkqubo zokulawula ubushushu, ezinje nge-thermostas, iinkqubo zolawulo lweGreenhouseNgokusebenzisa izinzwa ze-DS18B20, ezi nkqubo zinokubonelela ngolawulo lobushushu oluchanekileyo njengoko kufuneka baqinisekise ukusebenza ngokufanelekileyo kwenkqubo.
Imibuzo ebuzwa rhoqo [i-FAQ]
1. Yintoni i-DS18b20 yenzwane?
I-DS18B20 ngumthombo wobushushu omncinci nge-12bit ye-ADC.Inokuqhagamshelwa ngokulula kwi-Arduitha igalelo.Inzwane inxibelelana ngebhasi ye-wire ye-wire kwaye ifuna kancinci ngendlela eyongezelelweyo.
2. Ngaba i-DS18b20 Inzwa yedijithali?
Ukusebenza kwesiqhelo kwe-DS18b20 ngumthombo wobushushu be-wigital yedijithali.
3. Nguwuphi umahluko phakathi kwe-LM35 ne-DS18b20?
I-DS18B20 ngumzi-mveliso onamathele kwiqondo lobushushu.I-LM35 ngumzi-mveliso onamathele kwi-voltage (hayi ubushushu), kwaye i-Arduino kufuneka iguqule le gqondo.
4. Ichanekile njani i-DS18b20
I-DS18B20 ye-DSMPIL yedijithali ichanekile kwaye ayifuni nayiphi na into yangaphandle ukusebenza.Inokulinganisa amaqondo obushushu avela ku--55 ° C ukuya kwi-135 ° C ngomlinganiselo wokuchaneka kwe- ± 0,5 ° C.