第一av在线_日韩成人久久久_亚洲人成电影网站色_精品精品导航_亚洲综合中文_精品国产91久久久久久_可以在线观看的黄色_99热这里有精品

世界播報(bào):佳能EF鏡頭SPI控制
2023-05-31 01:25:19 來源:面包芯語 編輯:


(相關(guān)資料圖)

使用廉價(jià)的MCU,搭配SPI協(xié)議驅(qū)動(dòng)你的佳能攝像頭。逆向Canon EF卡口鏡頭,這個(gè)是昨天的文章。ASCOM EF Lens Controller – control unit for Canon EF/EF-S lenses. It allows you to control lens using the ASCOM platform tools.Features (supported by driver):focus control;aperture value control;temperature measure (additional sensor required, e.g. popularDS18B20).This device uses SPI interface. Description of lens commands were taken from published articles about reverse engineered internal Canon protocol.Connection to lens is easy. It is only necessary to know pinout of itscontacts. This information is available on the Web. Just ?google? canon efpinout. I recommend to use a scheme, shown below.This picture describes electric pins on lens or special macro-adapter which issuitable for soldering wires. You can buy adapters in any photo shop or onweb stores such as EBay. It looks something like this.Next component – microcontroller, which support SPI interface. It may beATmega, STM32, PIC or board, based on its controllers. Factory PCB has allrequired components and will be easy for beginners while simplemicrocontroller allows you to make own custom device.I used Arduino Nano based on ATmega328P controller. Its performance isenough for our purpose. Small size and low cost - its advantage.Pinout diagram above shows the designations of Arduino Nano contacts. Sowe need:Note: only huge lenses may require external power supply. I tested mylenses (EF-S 18-55, EF 50/1.8, EF200/2.8L) and measured their currentconsumption. It was less than 200 mA. It means that these lenses can bepowered directly from 5V Arduino pin. Entire system will be powered fromUSB, and there is no need for additional wires.You can experiment on the breadboard but for the final design it is better touse a more respectable solution.I want to point out one feature associated with Arduino. Now, these boardsuse the Automatic (Software) Reset, which is convenient for firmware uploadbut do not really need us. The fact is that:One of the hardware flow control lines (DTR) of the FT232RL is connected to thereset line of the ATmega168 or ATmega328 via a 100 nanofarad capacitor. Whenthis line is asserted (taken low), the reset line drops long enough to reset the chip.This means that each connection (?Connect? button in MaximDL orFocusMax) to the device will cause it to reboot. Result is 3-5 sec delay. Ifyou are not satisfied, simplest solution is to unsolder DTR pin to preventtransfer of reboot signal. I used ?ChinaDuino?, it has CH340G as UART chip.Original Arduino uses FT232RL.These schemes allow you to easily find the DTR pin. After making thesechanges, device connects immediately.SoftwareSoftware consists of two main parts:Arduino sketch (firmware) is responsible for interaction with lens;ASCOM device driver.Unit relations shown in the figure below:The red highlighted functionality implemented in addition to the mainfunctions realized in driver pattern. Focuser driver has no iris controlfunctions by default. But aperture value control is important feature.代碼使用我就不寫了,后面我會(huì)上代碼:Use P# to get current focus position (5000 by default)Use Mxxxx# to move focus, e.g. M5270#Use Axx# to change aperture value, where xx – count of steps (1/3EV). 0 – wide open on your lens.

下載這個(gè)控制軟件,有一種年老失修的美

ASCOM

Click ?Properties?, you can see driver setup dialog. Set requiredparameters:

COM Port Number – controller connection port;

Lens Model – choose your lens from drop-down list. In fact youcan use any lens. Just add it to lens.txt which is in driverinstallation folder and insert all aperture values of lens;

Aperture Value – select required aperture value. Changes will besaved in EEPROM of Arduino chip.

After all changes are saved, you can connect to the controller.Temperature will be displayed only if you connect a sensor. I usedanalog KTS-1 sensor. GET TEMPERATURE section in my sketch work with this sensor. You can use any other. Do not forget to correct your sketch. If you do not need to measure temperature just comment this strings.

關(guān)鍵詞:

相關(guān)閱讀
分享到:
版權(quán)和免責(zé)申明

凡注有"環(huán)球傳媒網(wǎng) - 環(huán)球資訊網(wǎng) - 環(huán)球生活門戶"或電頭為"環(huán)球傳媒網(wǎng) - 環(huán)球資訊網(wǎng) - 環(huán)球生活門戶"的稿件,均為環(huán)球傳媒網(wǎng) - 環(huán)球資訊網(wǎng) - 環(huán)球生活門戶獨(dú)家版權(quán)所有,未經(jīng)許可不得轉(zhuǎn)載或鏡像;授權(quán)轉(zhuǎn)載必須注明來源為"環(huán)球傳媒網(wǎng) - 環(huán)球資訊網(wǎng) - 環(huán)球生活門戶",并保留"環(huán)球傳媒網(wǎng) - 環(huán)球資訊網(wǎng) - 環(huán)球生活門戶"的電頭。

99在线热播精品免费| 日韩久久久精品| 日韩黄色网络| 欧美日韩另类视频| 久久亚洲黄色| 亚洲成av人片在线观看香蕉| 国产精品99久久| 精品剧情v国产在线观看| 久久精品网址| 137大胆人体在线观看| 久久久美女毛片| 日本在线中文字幕一区二区三区| а√天堂中文在线资源8| 国产一区二区精品久久| av网站无病毒在线| 99国产麻豆精品| 婷婷综合六月| 91久久国产最好的精华液| 深爱激情综合网| 亚洲人成免费电影| 亚洲免费福利一区| 欧美哺乳videos| 日韩精品色哟哟| 国产在线69| 亚洲精品亚洲人成人网在线播放| 日韩欧美久久| 亚洲国产精品va在线| 日韩黄色免费网站| 超碰在线观看免费| 亚洲国产精品久久久久婷婷884 | 欧美综合一区二区三区| 国产精品精品国产一区二区| 激情视频免费观看在线| 成人免费va视频| 91麻豆精品国产综合久久久| 91免费观看视频| 亚洲欧美综合久久久久久v动漫| 欧美性xxxxxx少妇| 一级成人国产| 国产在线激情| 婷婷一区二区三区| 亚洲天堂偷拍| a免费在线观看| 色婷婷综合久色| 在线欧美亚洲| 色婷婷在线播放| 欧美在线不卡视频| 天堂久久一区二区三区| 九色porny视频在线观看| 欧美色精品在线视频| 久久精品30| 在线免费av资源| 欧美一级xxx| 国产一区二区剧情av在线| 欧洲精品久久久久毛片完整版| 日韩免费在线观看| 高清不卡一二三区| 精品国产影院| 伊人影院在线播放| 亚洲一二三区视频在线观看| 欧美91大片| 美女尤物在线视频| 91麻豆精品国产自产在线| 韩国理伦片一区二区三区在线播放 | 亚洲三级在线观看| 中文字幕免费精品| 国产丝袜视频在线播放| 91精品国产免费| 国产一区二区伦理片| 日韩欧洲国产| 三级视频在线播放| 婷婷六月综合亚洲| 免费成人在线观看视频| 九九九精品视频| 嫩草嫩草嫩草嫩草| 一区二区三区日韩欧美| 亚洲伦理精品| 在线一区视频观看| 五月天最新网址| 亚洲国产一区二区三区| 午夜亚洲影视| 只有精品亚洲| 三级视频网站在线| 欧美影视一区二区三区| 国产真实乱偷精品视频免| 老司机成人在线| 黄色av网站在线播放| 日韩一级免费观看| 国产午夜一区二区三区| 欧美一区二区三区久久精品茉莉花| 91黄页在线观看| 亚洲日本aⅴ片在线观看香蕉| 中文字幕一区二区三区乱码在线| 国内精品久久久久久久影视麻豆| 日本在线аv| 亚洲免费观看在线观看| 久久久人人人| 国内精品国产成人国产三级粉色| www.av在线| 欧美成人福利视频| 最新国产成人在线观看| 丝袜国产日韩另类美女| 大桥未久女教师av一区二区| 成人jjav| 亚洲第一av在线| 亚洲一线二线三线久久久| 久久成人av少妇免费| 亚洲成人一品| 亚洲色图官网| 成人羞羞视频免费看看| 丁香五六月婷婷久久激情| 粉嫩绯色av一区二区在线观看| 色欧美自拍视频| 男女啪啪999亚洲精品| 国产视频精品久久| 欧美成人伊人久久综合网| 中文字幕在线观看一区| 日本在线播放一区二区三区| 欧美日韩一本| 成人性生交大片免费看网站| 男女性激情视频在线观看| 色哟哟一区二区在线观看| 91美女片黄在线观看91美女| 在线亚洲激情| 日韩成人午夜| 国产精品av一区二区三区 | 精品久久中文字幕| av成人免费在线观看| 亚洲在线黄色| 欧美艳星介绍134位艳星| 久久电影天堂| 国产原创精品视频| 精东影业在线观看| 欧美一区二区精品久久911| 一区二区视频免费在线观看| 美女视频黄 久久| 久久精品亚洲人成影院| 精品视频一二| 超碰中文在线| 国产在线一二| 日日躁夜夜躁人人揉av五月天| 欧美精品v国产精品v日韩精品| 亚洲欧美日韩中文字幕一区二区三区| 国产精品18久久久久久久网站| 在线观看一区| 国内黄色精品| 亚洲一级大片| 奇米777日韩| 色屁屁www国产馆在线观看| 天堂电影在线| 亚洲精品一区二区三区影院 | 亚洲高清福利| av在线天天| 亚洲国产成人在线视频| 欧美日韩一区二区三区在线| 一区二区三区日韩欧美| 久久久久久久综合狠狠综合| 国产一区二区在线免费观看| 亚洲国产高清一区| 日韩精品永久网址| 狼人精品一区二区三区在线| 伊人久久大香| 免费高清视频在线一区| 国模私拍一区二区国模曼安| 国产一二三区在线观看| 成人亚洲性情网站www在线观看| 最近中文字幕mv2018在线高清 | 国产欧美日韩不卡| 成人av电影在线网| 国产乱码精品一区二区三区忘忧草 | 麻豆精品精品国产自在97香蕉 | 亚洲福利电影网| 亚洲免费看黄网站| 亚洲色图.com| 亚洲欧美aⅴ...| 最近日韩中文字幕| 中文字幕免费一区| 国产喷白浆一区二区三区| 不卡在线视频中文字幕| 成人久久久精品乱码一区二区三区 | 久久久久国产成人精品亚洲午夜| 成人午夜激情片| 成人一级视频在线观看| 国产成人一级电影| 国产成a人无v码亚洲福利| 国产在线一区二区| 国产一区亚洲一区| 国产福利不卡视频| 国产iv一区二区三区| 国产·精品毛片| 国产91丝袜在线观看| 成人国产精品免费观看动漫| 国产精品一区二区久久精品爱涩 | 欧美小视频在线观看| 黄色成人在线播放| 在线免费视频一区二区| 欧美日本一区二区三区四区| 制服丝袜中文字幕一区| 精品国产电影一区二区| 国产午夜精品久久久|