独立站轮播图1

Nkhani

Moni, kulandilidwa kukaonana ndi katundu wathu!

Kodi sensa ndi chiyani? Ndi kuyatsa bwanji?

Kodi sensa ndi chiyani?

Sensa ndi chipangizo chomwe chimazindikira ndikuyankha kumtundu wina wazinthu zochokera ku chilengedwe. Kulowetsako kumatha kukhala kuwala, kutentha, kuyenda, chinyezi, kukakamiza kapena kuchuluka kwa zochitika zina zachilengedwe. Zomwe zimatuluka nthawi zambiri zimakhala chizindikiro chomwe chimasinthidwa kukhala chiwonetsero chowerengeka ndi anthu pamalo a sensa kapena kutumizidwa pakompyuta pamaneti kuti muwerenge kapena kukonzanso.

Zomverera zimagwira ntchito yofunika kwambiri pa intaneti ya zinthu (IoT). Amapangitsa kuti zikhale zotheka kupanga chilengedwe chosonkhanitsira ndi kukonza deta yokhudzana ndi malo enaake kuti athe kuyang'aniridwa, kuyang'anira ndi kuwongolera mosavuta komanso moyenera. Masensa a IoT amagwiritsidwa ntchito m'nyumba, m'munda, m'magalimoto, m'ndege, m'mafakitale komanso m'malo ena. Zomverera zimatsekereza kusiyana pakati pa dziko lapansi ndi dziko lomveka, zomwe zimakhala ngati maso ndi makutu a makina apakompyuta omwe amasanthula ndikuchitapo kanthu pa zomwe zasonkhanitsidwa kuchokera ku masensa.

Sensola

Kuti BkuliraaSensola?

1. Mbiri

Nthawi zambiri, tikamasokoneza mphamvu ya sensa, choyamba timafunika kuyatsa, yomwe imatchedwanso sensor bringup. Gawo ili la ntchitoyo limapangidwa makamaka ndi mainjiniya oyendetsa, koma nthawi zina amafunikanso kuchitidwa ndi wokonza makinawo.

Koma kwenikweni, ngati zikuyenda bwino, mutatha kukonza sensa, i2c adilesi, ndi sensor chip_id mu dalaivala wa sensor, chithunzicho chikhoza kupangidwa, koma nthawi zambiri, nthawi zambiri sichikhala chosalala, ndipo mavuto ambiri adzakumana nawo. .

 

2. Njira yobweretsera sensa

Ikani ku fakitale ya sensa kuti mudziwe zofunikira za Sensor, kuphatikizapo kusamvana, Mclk, chiwerengero cha chimango, m'lifupi mwake chazithunzi zosaphika, ndi chiwerengero cha mipi_lanes. Ngati kuli kofunikira, fotokozani kuti kuchuluka kwa mipi komwe kumathandizidwa ndi nsanja sikungadutse;

Pambuyo pokonzekera, konzekerani dalaivala wa sensa, choyamba konzekerani mawonekedwe a sensa, adilesi ya I2C, chip_id;

Pezani chojambula cha bolodi la mavabodi, tsimikizirani kasinthidwe kogwirizana ndi hardware, ndikukonzekera mapini a mclk, reset, pwrdn, i2c mu dts molingana ndi chithunzi cha bokosilo;

Pambuyo pa masitepe omwe ali pamwambawa, ngati palibe vuto ndi hardware, mukhoza kuunikira chithunzicho, ndiyeno konzekerani nthawi yowonetsera sensa, phindu la analogi ndi zolembera zina mwatsatanetsatane malinga ndi deta ya sensor;

 

3. Vuto mwachidule

a. Momwe mungadziwire zikhomo za reset, pwrdn, i2c, mclk?

Choyamba, muyenera kuphunzira kuwerenga zojambulajambula. Ndinasokonezeka kwambiri nditapeza chithunzicho pachiyambi. Ndinkaona kuti pali zinthu zambiri zimene zasokonekera. Sindinadziwe kuti ndiyambire pati. Ndipotu, palibe malo ambiri oti mumvetsere. Sindiyenera kumvetsetsa chithunzi chonse.

Chifukwa timakonza makamera makamaka, pezani gawo la mawonekedwe a MIPI_CSI, monga momwe tawonetsera pa Chithunzi a, ndikungoyang'ana pazikhomo zolamulira za CM_RST_L (reset), CM_PWRDN (pwrdn), CM_I2C_SCL (i2c_clk), CM_I2C_SDA ( i2c_MMC_data ) mclk) pamwamba

 

b. I2C imalephera?

Adilesi ya i2c imakonzedwa molakwika: Nthawi zambiri, i2c ili ndi ma adilesi awiri, ndipo mulingo wake ndi wosiyana akakokedwa kapena pansi.

Yang'anani vuto lamagetsi a hardware AVDD, DVDD, IOVDD, magetsi atatu a hardware ena amakhala ndi magetsi osatha, ndipo magetsi ena atatu amayendetsedwa ndi mapulogalamu. Ngati imayang'aniridwa ndi mapulogalamu, muyenera kuwonjezera mphamvu zitatu izi pa pini yowongolera dalaivala.

Kukonzekera kwa pini ya mclk ndikolakwika: mungagwiritse ntchito oscilloscope kuti muyese ngati wotchi yoperekedwa ku sensa ilipo, kapena ngati wotchiyo ili yolondola, monga: 24MHz, 27MHz.

Kusintha kolakwika kwa pini ya i2c: Nthawi zambiri, mutha kuyang'ana fayilo yofananira ya pinmux-pins yachiwongolero chachikulu kuti mutsimikizire ngati GPIO yofananira yatanthauziridwa molondola;

 

c. Palibe chithunzi kapena chachilendo pachithunzi;

Lowetsani lamulo ku mbali ya ISP kuti muwone ngati pali zolakwika pakutumiza kwa mipi.

Chizindikiro cha mipi chikhoza kuyezedwa ndi oscilloscope.

Tengani chithunzi chosasinthika kuti muwone ngati pali cholakwika chilichonse. Ngati pali cholakwika pachithunzi chosasinthika, nthawi zambiri chimakhala vuto ndi mawonekedwe a sensor. Funsani wina kuchokera ku fakitale yoyambira ya sensa kuti ayang'ane.

Pambuyo powonjezera phindu, pali mikwingwirima yowongoka (yomwe imatchedwanso FPN), yomwe imagwirizana ndi sensa, ndipo kawirikawiri imapeza fakitale yoyambirira ya sensor kuti igwirizane nayo;

Hampo

Zotani sensors akuphatikizidwa mu kamera ya Hampo?

Malingaliro a kampani Dongguan Hampo Electronic Technology Co., Ltd, yomwe idakhazikitsidwa mu 2014, ndi opanga apadera pakupanga, R&D ndikupanga zinthu zamagetsi zamagetsi ndi makanema., yemwe ali ndi zaka zopitilira 10 pamakampani awa.

Kuti akwaniritse zosowa za makasitomala, Hampoikulemeretsa zinthu zake nthawi zonse, pomwe masensa ambiri akhala lightmmwamba, makamaka kuphatikiza mndandanda wa SonyIMX179, IMX307, IMX335, IMX568, IMX415, IMX166, IMtengo wa MX298, IMX291, IMX323 ndiIMX214ndi zina zotero; Omnivision mndandanda ngati OV2710, OV5648,OV2718OV9734 ndiOV9281ndi zina; Mndandanda wa Aptina ngati AR0230,Mtengo wa AR0234, AR0330, AR0331, AR0130 ndi MI5100 etc., Ndipo sensa ina ngati PS5520, OS08A10, RX2719, GC2093, JXH62, ndi SP1405 ndi zina zotero.

Ngati mukukonzekera kupanga projekiti ndi sensa ina, ingolumikizanani nafe, tidzakhala bwenzi lanu lapamtima.


Nthawi yotumiza: Mar-28-2023