Umhlahlandlela wokugcina we-DS18BB20 ye-Digital lokushisa sensor
2024-04-19 3961

I-DS18B20 iyinzwa yokushisa yedijithali evame ukusetshenziswa.Ikhipha isiginali yedijithali futhi inezici zobukhulu obuncane, ngaphezulu kweharhead ephansi, amandla aqinile okulwa nokuphazamisa kanye nokunemba okuphezulu.Kulesi sihloko, sizokwethula inzwa ye-DS18BB20 ngamunye esuka kwizici zesakhiwo, izici, imigomo yokusebenza, ukuhlelwa kwe-PIN njll.

Namabhuku


Yini i-DS18B20?


DS18B20

DS18B20 Ingabe inzwa yokuqala yokushisa ekhiqizwa nguDallas Semiconductor e-United States ukusekela interface "yebhasi elilodwa".Inokusetshenziswa kwamandla okuphansi, ikhono elinamandla lokulwa nokumelana, okulula ukufanisa izinzuzo zeprosesa, izinga lokushisa lingaguqulwa ngokuqondile libe yisiginali yedijithali ngomugqa.I-DS18B20 Isebenzisa ukuxhumana okungu-1-wire kuphela umugqa wedatha (nomhlaba) kanye nokuxhumana kwe-microcontroller.I-sensor inebanga lokutholwa lokushisa lika -55 ° C kuya ku-125 ° C futhi linokunemba kwe- + -0.5 ° C lapho uhla lokushisa ludlula -10 ° C kuye ku-85 ° C Ngaphezu kwalokho.Ngokwengeziwe, i-DS18B20 inganikwa amandla ngokuqondile kusuka kulayini wedatha ngaphandle kokudinga ukunikezwa kwamandla kwangaphandle.

Ngokungafani nama-thermitors ajwayelekile, isebenzisa ubuchwepheshe bebhasi elilodwa ukuze banciphise ukuphazamiseka kwangaphandle futhi bathuthukise ukunemba kokulinganisa.Ngasikhathi sinye, ingaguqula ngokuqondile amazinga okushisa alinganisiwe abe amasiginali wedijithali edijithali ecubungula ama-microcomputer, okwenza ukudluliswa kwedatha nokucubungula okulula ngesimo esibonakalayo esilula.

Ukushintshwa nokulingana





Isakhiwo sangaphakathi se-DS18B20


DS18B20 Block Diagram

I-sensor yahlanganiswa ikakhulukazi izikhathi ezi-4, okuyi-64-bit ROM, inzwa yokushisa, i-alamu yokushisa engaguquki ye-alamu yokuvuselela i-TM nerejista yokucushwa.Inombolo ye-serial-bit engu-64 e-RO iqoshwe ngezithombe ngaphambi kokushiya ifektri.Kungathathwa njengenombolo yenombolo ye-serrial ye-DS18E20.Inombolo ye-serial-bit ye-64-bit ye-DS18E20 ngayinye yehlukile.Ikhodi yokuhlola evuselelwa nge-cyclic redundancy (CRC = K ~ 8 + x ~ 5 + x ~ 4 + 1) ye-64-bit Rom.Umsebenzi we-ROM ukwenza i-DS18B20 ngayinye ehlukile, ukuze ama-DS18B20 amaningi angaxhunywa kwelinye ibhasi.

Izici ze-DS18B20 sensor


Ukuhanjiswa kwentambo eyodwa


I-DS18B20 isebenzisa uhlelo lokudluliselwa ngocingo olulodwa (1-wire) lokuxhumana.Le protocol ivumela i-DS18B20 ukuthi ixhumane nekhebula elilodwa ledatha yokudluliswa kwedatha kanye nokunikezwa kwamandla.

Uhla olukhulu


Inzwa ingalinganisa ngaphezulu kobubanzi bokushisa buka -55 ° C kuya ku-125 ° C, okwenza kube lula ukuthola izidingo eziningi zokuhlola izinga lokushisa.

Isilinganiso se-Multi-Point


Ngebhasi le-1-wire, singaxhuma izinzwa eziningi ze-DS18BB20 zokulinganisa okushisa kwamaphoyinti amaningi.

Ikheli le-Hardware elihlukile


I-sensor ngayinye ye-DS18B20 inekheli le-hardware elihlukile le-64-bit, elinikezwa ngokuzenzakalelayo umenzi ngesikhathi senqubo yokukhiqiza.Leli kheli le-Hardware le-64-bit lihlotshaniswa nenombolo yemodeli ye-Sensor, usuku lokukhiqiza nenombolo ye-serial, ngakho-ke inzwa ngayinye inobunikazi bayo obuhlukile.Ngaleli kheli le-Hardware le-64-bit, inzwa ingakhonjwa ngawodwana futhi idluliselwe nayo.

Ukukhishwa kwedijithali


Amanani we-DS18B20 aphumayo amanani wokushisa wedijithali, angahlanganiswa ngqo nezinhlelo zedijithali ngaphandle kwesidingo sokuguqulwa kwesiginali ye-analog.

Ukunemba okuphezulu


I-sensor ye-DS18B20 inekhono lokukala amazinga okushisa anokunemba okuphezulu kwe- ± 0.5 ° C, okwenza kube lula ukuthola izimo zohlelo lokusebenza ezidinga ukunemba okuphezulu.

Ukusetshenziswa kwamandla okuphansi


I-sensor isebenza kusuka kuhla lwe-voltage luhlu lwama-3 v kuya ku-5.5 v. Ukusetshenziswa kwalo okuphansi kwamandla kwenza kube kuhle ngezimo ezidinga ukubhekwa kokushisa okuqhubekayo esikhathini eside.Ukusetshenziswa kwamandla kwale sensor kuphansi kakhulu kangangokuba kungasebenza isikhathi eside sesikhathi ngaphandle kokuwohloka kokusebenza.

Ngabe isebenza kanjani i-DS18B20?


Ukufundwa nokubhala isikhathi kanye nesilinganiso sokulinganisa sokushisa kwe-DS18B20 kuyafana nalokho kwe-DS1820, kepha inani lamadijithi wenani lokushisa elitholwayo lihlukile ngenxa yezinqumo ezahlukahlukene.Uma kuqhathaniswa ne-DS1820, isikhathi sokuguqulwa kokushisa kwe-DS18B20 sifinyezwa kusuka kumasekhondi ama-2 kuye kuma-750 milliseconds.Izinga le-Oscillation le-Crystal Oscillator ye-Crystal Oscillator lishintsha kakhulu ngezinguquko zokushisa, futhi isiginali ekhiqizwayo isetshenziswa njengokufakwa kwe-Counter 2. Irejista yokushisa ifakwa enani eliyisisekelo elihambelana ne--55 ° C.I-Counter 1 Ibala phansi isiginali ye-pulse ekhiqizwe yi-Crystal Oscillator ephansi ye-Crystal Oscillator.Lapho inani elisethiwe le-counter 1 liyancipha ku-0, inani lerejista yokushisa lizokwanda ngo-1, inani elisethiwe le-counter 1 lizolayishwa kabusha, futhi i-counter 1 izoqala kabusha ukubala amasiginali we-Pulse Crystal Crystal Oscillator aphansi.Le nqubo izoqhubeka kuze kube yilapho i-Counter 2 ibe yi-0, lapho kuqongelelwa khona inani lokurejista lokushisa lizoma.Ekugcineni, inani irejista yokushisa lingamazinga okushisa alinganisiwe.

Uphawu, izinyawo kanye nokucushwa kwe-PIN ye-DS18B20


Symbol, footprint and pin configuration of DS18B20

Izithombe ezingenhla zingophawu, unyawo kanye nokucushwa kwe-PIN ye-DS18B20.

Isimiso sokushayela se-DS18B20


Inqubo yokushayela ye-DS18B20 ithembele kakhulu ohlelweni lwebhasi le-1-wire.Lolu hlelo lwebhasi luvumela i-BUS Master eyodwa ukulawula amadivayisi athile noma amaningi ngezigqila.Kulokhu, i-MCU yethu isebenza njengeNkosi ne-DS18B20 ihlala isebenza njengenceku.Ohlelweni lwebhasi le-1-wire, yonke imiyalo nedatha kuthunyelwa ngokuya ngomgomo we-Order-Order Orn Organity kuqala.

Izinhlelo ezingamabhasi ezi-1 zisebenzisa umugqa wedatha eyodwa kuphela futhi zidinga ukumelana nokudonswa kwangaphandle kwe-puns-up cishe ka-5kω.Ngakho-ke, esimweni esingasetshenziswanga, izinga elikulayini wedatha liphezulu.Idivaysi ngayinye (noma ngabe i-master noma inceku) ixhumeke kulayini wedatha ngokusebenzisa i-PIN evulekile noma i-3-State Gate Pin.Lo mklamo uvuma idivaysi ngayinye ukuthi "ikhululeke" umugqa wedatha ukuze lapho idivaysi eyodwa ingadlulisi idatha, amanye amadivaysi angasebenzisa ngempumelelo umugqa wedatha.Isikhombimsebenzisi sebhasi eli-1-wire (i-PIN PIN) ye-DS18B20 yakhiwa umjikelezo ovulekile wokukhipha umjikelezo wangaphakathi.Ukucushwa kwalo kwe-Hardware kuboniswa esithombeni esingezansi:

Driving principle of DS18B20

Kunezinyathelo ezintathu eziphambili zokusebenzisa umshayeli we-DS18BB20:

Isinyathelo sokuqala: Qalisa i-DS18B20;

Isinyathelo sesibili: Umyalo wamaRom (ulandelwa yinoma yisiphi isicelo sokushintshana kwedatha);

Isinyathelo sesithathu: Umyalo Wokusebenza kwe-DS18BB20 (olandelwa yinoma yisiphi isicelo sokushintshana kwedatha);

Ukufinyelela ngakunye ku-DS18B20 kumele kulandele lezi zinyathelo.Uma noma yiziphi zalezi zinyathelo zilahlekile noma azenzile, i-DS18B20 ngeke iphendule.

Isetshenziswa kuphi inzwa ye-DS18BB20?


Ukuhlolwa Kwesayensi Ucwaningo


Ngenxa yokunemba kwayo okuyingqayizivele, inzwa ivame ukusetshenziswa ekuhlolweni kocwaningo lwesayensi, ikakhulukazi labo abadinga ukulinganiswa kokushisa okunembile.

I-Cold Chain Logistics


Inzwa ye-DS18BB20 idlala indima ebalulekile ezindlini ezibandayo ze-Chain Logistics.Isetshenziselwa ukuqapha izinga lokushisa lezimpahla kulo lonke inqubo yokuhamba, iqinisekisa ikhwalithi nokuphepha kwezimpahla ezibucayi bokushisa.

Ezenzakalelayo zezimboni


Lapho ubheka izinga lokushisa kwinqubo yokukhiqiza, inzwa ingasiza izinkampani ukuthi zigcine ithrekhi yesimo sokusebenza semishini ngesikhathi sangempela ukuqinisekisa ukuthi imishini nezinqubo zisezingeni elifanele lokukhiqiza kanye nekhwalithi.

Ukuhlolwa kokushisa kwe-elekthronikhi


Kwemishini ye-elekthronikhi, izinzwa ze-DS18B20 zingasetshenziswa ukuqapha izinga lokushisa lezakhi ngazinye, ukuthola amazinga okushisa ngendlela esifike ngesikhathi, ngaleyo ndlela kugweme izinkinga ezinjengokulimala kwemishini ngenxa yamazinga okushisa aphezulu.

Izicelo ze-Inthanethi zezinto (i-IOT)


Idizayinelwe amasistimu ashumekiwe kanye namadivayisi we-IOT, le nzwa inika amandla okushisa okukude kanye neqoqo ledatha ngokuxhuma kumadivayisi afana nama-mictocontroller noma okusajingijolo PI.

Izinhlelo zokulawula lokushisa


Ngaphezu kwalokhu, inzwa ivame ukusetshenziselwa ukubona amasistimu okulawula okushisa, njengama-thermostats, amasistimu wokulawula ama-greenhouse, izinhlelo zomoya nokunye.Ngokusebenzisa izinzwa ze-DS18BB20, lezi zinhlelo zinganikeza ukulawulwa kokushisa okuqondile njengoba kudingeka ukuqinisekisa ukusebenza kahle kohlelo.






Imibuzo Ebuzwa Njalo [I-FAQ]


1. Yini inzwa ye-DS18BB20?


I-DS18B20 inzwa encane yokushisa enokwakhiwa ku-12bit ADC.Ingaxhumeke kalula kokufakwa kwe-Arduino Digital.Inzwa insizakalo ngebhasi le-wire eyodwa futhi idinga okuncane ngendlela yezinto ezengeziwe.

2. Ngabe i-DS18B20 inzwa yedijithali?


Ukusebenza okuyisisekelo kwe-DS18B20 kuyinzwa yayo yokushisa eqondile yedijithali.

3. Uyini umehluko phakathi kwe-LM35 ne-DS18B20?


I-DS18B20 iyisilinganiselo sefekthri ukuze kukhishwe izinga lokushisa elifanele.I-LM35 i-Factory Calloged for voltage (hhayi lokushisa), futhi i-arduino kufanele iguqule lokhu ku-learte.

4. Inembile kangakanani inzwa ye-DS18BB20?


I-DS18BB20 I-Digital Thermal Sensor inembile impela futhi ayidingi noma yiziphi izingxenye zangaphandle ezizosebenza.Ingalinganisa amazinga okushisa avela ku -55 ° C kuya ku- + 125 ° C ngokunemba kokulinganisa kwe- ± 0,5 ° C.

MAYELANA NATHI Ukwaneliseka kwamakhasimende ngaso sonke isikhathi.Ukwethembana kanye nezintshisakalo ezivamile. I-ARIAT Tech isungule ubudlelwano besikhathi eside nobuzinzile nabakhiqizi abaningi nabenzeli. "Ukuphatha amakhasimende ngezinto zokwakha zangempela nokuthatha insizakalo njengezinkinga", yonke ikhwalithi izohlolwa ngaphandle kwezinkinga futhi idluliselwe uchwepheshe
Ukuhlolwa komsebenzi.Imikhiqizo ephakeme kakhulu esebenza kabi futhi insizakalo engcono kakhulu ukuzibophezela kwethu kwaphakade.

I-imeyili: I-Info@ariat-tech.comI-HK TEL: +00 852-30501966ENZA: Rm 2703 27F Ho King Comm Center 2-16,
UFa Yuen St MongKok Kowloon, eHong Kong.