Lens serial communication

Wifi, USB, GPS, Grips, Mics, Ext Power, Lens, Flash

Re: Lens serial communication

Postby leegong » Mon Nov 04, 2013 8:15 am

Hey , lain ,
The dumping data in my E-mail box , thanks so much .
It will take me some time reading them , will tell you the result as soon as i find it .

Kind regards,
Leegong
leegong
Core Developer
 
Posts: 2143
Joined: Mon Mar 19, 2012 12:21 am
Location: Hangzhou , China
Been thanked: 553 times

Re: Lens serial communication

Postby coderat » Mon Nov 04, 2013 8:16 am

coderat
Core Developer
 
Posts: 2283
Joined: Fri Apr 26, 2013 10:21 am
Been thanked: 450 times

Re: Lens serial communication

Postby leegong » Mon Nov 04, 2013 5:53 pm

leegong
Core Developer
 
Posts: 2143
Joined: Mon Mar 19, 2012 12:21 am
Location: Hangzhou , China
Been thanked: 553 times

Re: Lens serial communication

Postby coderat » Mon Nov 04, 2013 5:58 pm

coderat
Core Developer
 
Posts: 2283
Joined: Fri Apr 26, 2013 10:21 am
Been thanked: 450 times

Re: Lens serial communication

Postby leegong » Mon Nov 04, 2013 7:17 pm

leegong
Core Developer
 
Posts: 2143
Joined: Mon Mar 19, 2012 12:21 am
Location: Hangzhou , China
Been thanked: 553 times

Re: Lens serial communication

Postby leegong » Tue Nov 05, 2013 1:33 am

leegong
Core Developer
 
Posts: 2143
Joined: Mon Mar 19, 2012 12:21 am
Location: Hangzhou , China
Been thanked: 553 times

Re: Lens serial communication

Postby astronomer » Tue Nov 05, 2013 1:23 pm

The pin 5 is somehow linked to the magnetic strip reader inside the AF-S/AF-I lens. This is only presented in lens with built in AF motor and the frequency of output is related the rotation speed of the AF element. See the image below for reference from service manual.

GMR-1.png

GMR-2.png


And some additional information, it seems the new AF-S lens has flash memory inside their rom chip and host all the lens correction information in it. And the firmware of the lens can be flashed through the body. I never seen this in older AF-D lens.
User avatar
astronomer
Developer
 
Posts: 722
Joined: Fri Apr 06, 2012 10:06 am
Location: US
Been thanked: 293 times

Re: Lens serial communication

Postby astronomer » Tue Nov 05, 2013 4:03 pm

User avatar
astronomer
Developer
 
Posts: 722
Joined: Fri Apr 06, 2012 10:06 am
Location: US
Been thanked: 293 times

Re: Lens serial communication

Postby coderat » Tue Nov 05, 2013 7:33 pm

Attachments
gmradj.gif
gmradj.gif (30.95 KiB) Viewed 3023 times
adjeldevice.gif
adjeldevice.gif (14.74 KiB) Viewed 3026 times
coderat
Core Developer
 
Posts: 2283
Joined: Fri Apr 26, 2013 10:21 am
Been thanked: 450 times

Re: Lens serial communication

Postby coderat » Tue Nov 05, 2013 10:33 pm

@Lain:
can you check pulses on Pin 5 and Pin 8 once with AF working, once with manual focusing. There are several pulses possible: rotation of manual-focus-ring and focus plane position detection (based on GMR).

In fact focus distance encoding in serial data is not precise: usually some value 1...8 that is actually a range index. Having a pulse signal for exact detection opens a possibility to show it on LCD (if it is measured by camera).

Best regards,
coderat
coderat
Core Developer
 
Posts: 2283
Joined: Fri Apr 26, 2013 10:21 am
Been thanked: 450 times

PreviousNext

Return to External Hacks

Who is online

Users browsing this forum: No registered users and 3 guests