Electronics > Microcontrollers
DIY Control of Electronic Aperture for a Digital Lens [SOLVED]
jpanhalt:
I got my first camera in 25 years due to my older Canon taking a fall from its tripod. I went with a new the Nikon Z30 and saw a decent used Quantaray 200 to 55mm telephoto/macro lens that has a Nikon F mount for $10 on eBay. Now, I know why. There is no manual way to control the aperture. A brief search did not return anything helpful for DIY digital control or the protocol.
There are 5 electrical contacts at the lens base arranged as a group of 4 +1. Has anyone sorted out the protocol for that control? I would simply set the aperture to something useful and control focus and ISO manually.
Failing that, will the electronic FTZ (Nikon F to Z with electrical contacts) work with it? It does fit a non-electronic FTZ adapter.
Regards, John
EDIT: just found this:
--- Quote ---The basic Nikon F interface is 5 pins, Vcc (regulated power), RW1 (tach), SCK (serial clock), SIO (serial data), gap, gap, LGND (ground).
--- End quote ---
I2C? My Nikon Z has more pins than that.
Apparently, drive is a screw/motor drive.
shtirka:
--- Quote from: jpanhalt on March 16, 2023, 06:49:24 pm ---I got my first camera in 25 years due to my older Canon taking a fall from its tripod. I went with a new the Nikon Z30 and saw a decent used Quantaray 200 to 55mm telephoto/macro lens that has a Nikon F mount for $10 on eBay. Now, I know why. There is no manual way to control the aperture. A brief search did not return anything helpful for DIY digital control or the protocol.
There are 5 electrical contacts at the lens base arranged as a group of 4 +1. Has anyone sorted out the protocol for that control? I would simply set the aperture to something useful and control focus and ISO manually.
Failing that, will the electronic FTZ (Nikon F to Z with electrical contacts) work with it? It does fit a non-electronic FTZ adapter.
Regards, John
EDIT: just found this:
--- Quote ---The basic Nikon F interface is 5 pins, Vcc (regulated power), RW1 (tach), SCK (serial clock), SIO (serial data), gap, gap, LGND (ground).
--- End quote ---
I2C? My Nikon Z has more pins than that.
Apparently, drive is a screw/motor drive.
--- End quote ---
Well to me that sounds like (at least from what you are initially describing) an SPI setup - though I doubt it would help much since there doesnt seem to be any sort of cheat sheet on what sort of instructions/commands are available for the actual lens control
Ilya
jpanhalt:
Thank you for the reply. I assumed the RW1(tach) was not read/write or CS/SS, but rather a real tachometer feedback from the focus and aperture motors. That left only 2 wires. The source was a photography site, so I don't put much reliance in the labels. However, it could be most anything, even a special camera interface.
jpanhalt:
It took more than a few minutes, but I found it:
https://nikonhacker.com/wiki/Lens_Serial_Interface
Google search:
https://www.google.com/search?q=https%3A%2F%2Fnikonhacker.com%2Fwiki
%2FLens_Serial_Interface&source=hp&ei=4_EUZIHcJqO90PEPnuSCkAk&iflsig=AK50M_UAAAAAZBT_82_cUflJC
VCdpET2qGqVkff8JEss&ved=0ahUKEwjB2b6_ieT9AhWjHjQIHR6yAJIQ4dUDCAs&uact=5&oq=https%3A%2F
%2Fnikonhacker.com%2Fwiki
%2FLens_Serial_Interface&gs_lcp=Cgdnd3Mtd2l6EANQAFgAYP0FaABwAHgAgAFwiAFwkgEDMC4xmAEAoAECo
AEB&sclient=gws-wiz
Here are some other (of several) interesting links:
https://hackaday.com/2013/04/24/hacking-a-sigma-lens-to-work-with-a-canon-camera/
https://stanford.edu/class/ee367/Winter2017/burkle_danyliw_girvin_ee367_win17_report.pdf
EDIT: It's a modified SPI without SS. The "tach" must be the handshake and functions R/W (A0)
cantata.tech:
Great work.
I'm going to try this on my Nikon1 J5 and see if it works. I have a collection of vintage lenses.
Navigation
[0] Message Index
[#] Next page
Go to full version