FAQ FAQ  Forum Search   Events   Register Register  Login Login

E-mount electronic protocol reverse engineering

Page  <1 111213
Author
QuietOC View Drop Down
Senior Member
Senior Member

Joined: 28 February 2015
Country: United States
Location: Michigan
Status: Offline
Posts: 2868
Post Options Post Options   Quote QuietOC Quote  Post ReplyReply Direct Link To This Post Posted: 09 August 2019 at 14:51
I am curious about the Techart TZE-01. It seems like they got it working quite quickly. Is Nikon using similar protocols to Sony? Why do Samyang AF FE lenses not work on it?
Sony A7III HVL-F45RM LA-EA3 LA-EA4 MB-IV MC-11 EF-E II MD-NEX KR-NEX DA-NEX
Minolta Maxxum 600si
Pentax Q7 5-15 15-45/2.8 8.5/1.9 11.5/9 AF-P/Q
 



Back to Top
Athiril View Drop Down
Newbie
Newbie

Joined: 02 July 2020
Country: Australia
Status: Offline
Posts: 3
Post Options Post Options   Quote Athiril Quote  Post ReplyReply Direct Link To This Post Posted: 02 July 2020 at 22:03
Is this far enough along to make a “dumb” adapter?

IE rather than translating between two protocols, just take output from an E mount body into an Arduino, and drive a stepper motor directly with a motor driver circuit? All that’s really needed would be “move back” “move forward” and “stop” or “off”.
Back to Top
Entropy512 View Drop Down
Groupie
Groupie

Joined: 22 July 2015
Country: United States
Status: Offline
Posts: 54
Post Options Post Options   Quote Entropy512 Quote  Post ReplyReply Direct Link To This Post Posted: 02 July 2020 at 22:22
Originally posted by Athiril Athiril wrote:

Is this far enough along to make a “dumb” adapter?

IE rather than translating between two protocols, just take output from an E mount body into an Arduino, and drive a stepper motor directly with a motor driver circuit? All that’s really needed would be “move back” “move forward” and “stop” or “off”.

bostwickenator (Lex Optical) got to the point of emulating a "fake" lens and having it accepted by a body... I think?

So I think he was close. I haven't touched this in over a year (I'll get back to it eventually...) and I'm not sure what he's done.

Doing something like that with a manual focus legacy lens and a focus gear was something I always wanted to experiment with, never got around to it though.
Back to Top
bostwickenator View Drop Down
Newbie
Newbie

Joined: 19 June 2009
Status: Offline
Posts: 23
Post Options Post Options   Quote bostwickenator Quote  Post ReplyReply Direct Link To This Post Posted: 03 July 2020 at 02:23
I could fool a camera into detecting an emulated lens and then change the aperture values the camera was receiving. The focus commands are harder to interpret I never got to the point of deciphering the protocol to a fwd/stop/back. It's more complicated than that because the camera can command the lens to an absolute position not just a direction. In fact there are quite a few focusing modes. That said I don't think I was far off that I just haven't figured out that detail. I actually have a stepper motor attached to an old lens to do exactly what you were suggesting lol.

If you wanted to make a chip to talk to the camera and return the focal length of a lens for setting the image stabilizer that is possible with what I currently have.
Back to Top
Athiril View Drop Down
Newbie
Newbie

Joined: 02 July 2020
Country: Australia
Status: Offline
Posts: 3
Post Options Post Options   Quote Athiril Quote  Post ReplyReply Direct Link To This Post Posted: 03 July 2020 at 12:21
Originally posted by Entropy512 Entropy512 wrote:

Originally posted by Athiril Athiril wrote:

Is this far enough along to make a “dumb” adapter?

IE rather than translating between two protocols, just take output from an E mount body into an Arduino, and drive a stepper motor directly with a motor driver circuit? All that’s really needed would be “move back” “move forward” and “stop” or “off”.

bostwickenator (Lex Optical) got to the point of emulating a "fake" lens and having it accepted by a body... I think?

So I think he was close. I haven't touched this in over a year (I'll get back to it eventually...) and I'm not sure what he's done.

Doing something like that with a manual focus legacy lens and a focus gear was something I always wanted to experiment with, never got around to it though.


That’s exactly what I was thinking, a gear around the focus ring.

Then the techart adapter came out and I figured I could mod it and take the motor output directly into a tiny duino, and send it to a motor on the focus ring instead snd when it reaches full throw, send it to the motor for the auto extension tube for closer focus, maybe with a switch for close AF like some lenses have.

Though given the price of it I didn’t want to gamble.

Maybe it’s easier to do this via a cheap EF AF adapter since the commands are published.

Edited by Athiril - 03 July 2020 at 12:25
Back to Top
Athiril View Drop Down
Newbie
Newbie

Joined: 02 July 2020
Country: Australia
Status: Offline
Posts: 3
Post Options Post Options   Quote Athiril Quote  Post ReplyReply Direct Link To This Post Posted: 03 July 2020 at 12:28
Originally posted by bostwickenator bostwickenator wrote:

I could fool a camera into detecting an emulated lens and then change the aperture values the camera was receiving. The focus commands are harder to interpret I never got to the point of deciphering the protocol to a fwd/stop/back. It's more complicated than that because the camera can command the lens to an absolute position not just a direction. In fact there are quite a few focusing modes. That said I don't think I was far off that I just haven't figured out that detail. I actually have a stepper motor attached to an old lens to do exactly what you were suggesting lol.

If you wanted to make a chip to talk to the camera and return the focal length of a lens for setting the image stabilizer that is possible with what I currently have.


I don’t know if it helps but I still have an A7s I, which is CDAF only, I remember gen III coming out and Sony making adapters work way better then they do on previous gen. So I guess the adapters are buggy and gen III is more flexible and compensating for known problems, where as older gen is more ‘strict’ in the protocol
 



Back to Top
Entropy512 View Drop Down
Groupie
Groupie

Joined: 22 July 2015
Country: United States
Status: Offline
Posts: 54
Post Options Post Options   Quote Entropy512 Quote  Post ReplyReply Direct Link To This Post Posted: 05 August 2020 at 12:13
Originally posted by Athiril Athiril wrote:

Originally posted by bostwickenator bostwickenator wrote:

I could fool a camera into detecting an emulated lens and then change the aperture values the camera was receiving. The focus commands are harder to interpret I never got to the point of deciphering the protocol to a fwd/stop/back. It's more complicated than that because the camera can command the lens to an absolute position not just a direction. In fact there are quite a few focusing modes. That said I don't think I was far off that I just haven't figured out that detail. I actually have a stepper motor attached to an old lens to do exactly what you were suggesting lol.

If you wanted to make a chip to talk to the camera and return the focal length of a lens for setting the image stabilizer that is possible with what I currently have.


I don’t know if it helps but I still have an A7s I, which is CDAF only, I remember gen III coming out and Sony making adapters work way better then they do on previous gen. So I guess the adapters are buggy and gen III is more flexible and compensating for known problems, where as older gen is more ‘strict’ in the protocol

Sorry for the slow reply - I thought I had replied to this before.

The adapters aren't buggy - Sony explicitly limited the adapters to speaking a subset of the protocol that older lenses were capable of "playing nice" with. Among other things, the "native" protocol has some additional AF commands that allow a body to command a lens to not only move to a specific position/in a specific direction, but to do it at a specific speed. The "legacy adapter" subset only allows relative/absolute movements at maximum speed, because A-mount lenses appear to only be commandable in this way.

Moving at a controlled speed is critical to CDAF, which is why legacy-adapter CDAF is so horrible. It still is on even the latest bodies. I don't know what Sony did body-side to add legacy-adapter PDAF, but that's really what changed everything for legacy adapters. Any functionality that requires CDAF has generally taken much longer for Sony to figure out how to do with legacy adapters, or simply has not/likely will never figure out. They eventually figured out eye-AF, likely by using PDAF to get things really close to a CDAF solution and/or using PDAF to get close enough to find an eye and then use PDAF on the eye itself, but video AF is still horrible.

The A7S/S2/original R have no PDAF capability, so they need native lens CDAF to be acceptable. Emulating a native lens is a LOT harder.
Back to Top
Dyxum main page >  Forum Home > Dyxum Community > Knowledge Base Page  <1 111213

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.063 seconds.

Monitor calibration strip

Dyxum.com - Home of the alpha system photographer

In memory of Cameron Hill - brettania

Feel free to contact us if needed.