FAQ FAQ  Forum Search   Events   Register Register  Login Login

E-mount electronic protocol reverse engineering

Page  <1 121314
Author
bostwickenator View Drop Down
Newbie
Newbie

Joined: 19 June 2009
Status: Offline
Posts: 28
Post Options Post Options   Quote bostwickenator Quote  Post ReplyReply Direct Link To This Post Posted: 25 September 2020 at 02:42
Sorry I didn't realize how I left those scattered around it's been a while since I was in the code. I've updated the readme with a diagram of the connections (MS paint sorry) https://github.com/LexOptical/E-Mount/blob/master/README.md
 



Back to Top
profhankd View Drop Down
Newbie
Newbie

Joined: 11 February 2010
Country: United States
Location: Lexington, KY
Status: Offline
Posts: 29
Post Options Post Options   Quote profhankd Quote  Post ReplyReply Direct Link To This Post Posted: 25 September 2020 at 04:19
Originally posted by bostwickenator bostwickenator wrote:

Sorry I didn't realize how I left those scattered around it's been a while since I was in the code. I've updated the readme with a diagram of the connections (MS paint sorry) https://github.com/LexOptical/E-Mount/blob/master/README.md


Just to be clear, I wasn't complaining. :-)

I just want to make sure that when I wire it up any failure to duplicate the behavior you saw is due to me testing with a different E body model. I modified a Voking extension tube and am expecting my Teensy 3.5 next week, so probably another week before I have results to post here....
Back to Top
bostwickenator View Drop Down
Newbie
Newbie

Joined: 19 June 2009
Status: Offline
Posts: 28
Post Options Post Options   Quote bostwickenator Quote  Post ReplyReply Direct Link To This Post Posted: 25 September 2020 at 15:07
Sounds good! Happy to help if you have any issues with getting that bootstrapped
Back to Top
profhankd View Drop Down
Newbie
Newbie

Joined: 11 February 2010
Country: United States
Location: Lexington, KY
Status: Offline
Posts: 29
Post Options Post Options   Quote profhankd Quote  Post ReplyReply Direct Link To This Post Posted: 13 October 2020 at 05:54
Ok. I managed to hack connections into a Voking adapter and hooked it up as you suggested to a Teensy 3.5. It spews lots of C and c messages and when my NEX-5 is turned off shows a B and L. Mixed in among the C and c messages are things like:

00:44:31.248 -> C 5971747
00:44:31.248 -> c 5988131
00:44:31.248 -> [B:5988268]
00:44:31.248 -> [l:5988582]
00:44:31.248 -> Init Complete
00:44:31.248 -> [b:5988595]
00:44:31.248 -> C 5988605
00:44:31.248 -> [B:5993466]
00:44:31.248 -> [b:5994175]
00:44:31.248 -> [L:5994184]
00:44:31.248 -> [l:5994832]
00:44:31.248 -> Body->Lens F02900020001FFFFFFFFFF7F0000000000000000000000000000000000000000000000000000A60555 5995290
00:44:31.248 -> Us->Body no message
00:44:31.281 -> c 6004815
00:44:31.281 -> C 6005113

However, the camera doesn't seem to be getting much out of this. The only sign that a lens is attached is that the camera is not letting me fire the shutter. It still has "F--".

Is this roughly what you'd expect? What do you think I should be doing next?

Thanks.

Back to Top
Entropy512 View Drop Down
Groupie
Groupie

Joined: 22 July 2015
Country: United States
Status: Offline
Posts: 55
Post Options Post Options   Quote Entropy512 Quote  Post ReplyReply Direct Link To This Post Posted: 24 November 2020 at 19:33
Originally posted by bostwickenator bostwickenator wrote:

You should pull my Teensy code. It does all the negotiation stages and enters the main message loop. From there it should be pretty easy to do what you are talking about. Also I have docs for the message sequence. Just please don't start from scratch again 3 of us have gotten to roughly this point before giving up. https://github.com/LexOptical/E-Mount

I wouldn't say necessarily that anyone has given up, more like taking an extended break... This project has always been in "spurts" for me. (I've always had a bad habit of not completely finishing projects...)

Glad to see you here Hank, your posts on dpreview are always incredibly useful, and most importantly, your 3D printing skills are way beyond mine.

My lack of mechanical ability to go beyond "hacked extension tube" always limited where I could go.

I STILL have a Teensy I haven't gotten around to setting up to run Alex's code yet. I swear I'll do it one of these days.

Sorry for the slow response - when this thread activity happened I was on family vacation, and forgot about it until the Pentax adapter news reminded me of it.
Back to Top
profhankd View Drop Down
Newbie
Newbie

Joined: 11 February 2010
Country: United States
Location: Lexington, KY
Status: Offline
Posts: 29
Post Options Post Options   Quote profhankd Quote  Post ReplyReply Direct Link To This Post Posted: 24 November 2020 at 19:43
Originally posted by Entropy512 Entropy512 wrote:

Originally posted by bostwickenator bostwickenator wrote:

You should pull my Teensy code. It does all the negotiation stages and enters the main message loop. From there it should be pretty easy to do what you are talking about. Also I have docs for the message sequence. Just please don't start from scratch again 3 of us have gotten to roughly this point before giving up. https://github.com/LexOptical/E-Mount

I wouldn't say necessarily that anyone has given up, more like taking an extended break... This project has always been in "spurts" for me. (I've always had a bad habit of not completely finishing projects...)

Glad to see you here Hank, your posts on dpreview are always incredibly useful, and most importantly, your 3D printing skills are way beyond mine.

My lack of mechanical ability to go beyond "hacked extension tube" always limited where I could go.

I STILL have a Teensy I haven't gotten around to setting up to run Alex's code yet. I swear I'll do it one of these days.

Sorry for the slow response - when this thread activity happened I was on family vacation, and forgot about it until the Pentax adapter news reminded me of it.


I have the hacked adapter & teensy sitting next to me... but I had 3 papers into Electronic Imaging on other things, so I've not touched this since my last post. Maybe in another week or two -- our semester just ended, so at least I will not be spending most of my time with teaching things....
 



Back to Top
Dyxum main page >  Forum Home > Dyxum Community > Knowledge Base Page  <1 121314

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.109 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.