aconbere
Subscriber
2.9.0 has done it! We have a working tester! (Bonus points the camera's shutter is accurate as well).
All right, I managed to finish my very first version of the "Tuner" before my vacation. And here comes the solution.
The hardware modification is simple, just grab another Nano (maybe the one you used as programmer), connect Vin and GND of the added Nano to the one on the shield board. And then cut the Light PWM wire connecting shield board and the light unit board in the middle. Reconnect the wire on the shield board side to D2 on the added Nano and the light unit side to D12 as shown bellow:
Now your are all setup for the hardware mod. Just download the attached ZIP file, unzip it and open the .ino file with you Arduino IDE. Look for the following section:
View attachment 349928
These are the parameters corresponding to each EV level you'd like to control.
Column 1 controls the clock divider. The larger the number the slower the control signal frequency goes. Just leave it untouched.
Column 2 controls the output frequency of the control signal. It's the comparator number in a timer. Once the number is reached, the counter will trigger a pulse output. So with the same pulse width, smaller number in column 2 means faster output pulse train and higher output power(brighter light).
Column 3 and 4 controls the pulse width. A larger number provides a longer pulse which leads to brighter light.
Try to play with column 2,3 and 4. Tune them and upload the code to your added Nano with Arduino IDE. Check the result, change the parameters, upload and check again. Repeat the process until you're satisfied with the output accuracy and linearity. You will have to tune the whole table for each EV but it shouldn't be a a big deal.
Last but not least, play at your own risk! I will absolutely take NO responsibility to any potential lost done by my code.![]()
I tried this mod but was unsuccessful. It seemed to roughly work until I got to EV16, then the LED went very dim. Maybe it was going into a protect mode? I backed off the 3rd and 4th column from 140 to 139 but it still went dim. Should I just keep backing it off until it stays on?
The nano board I'm using is a little different from the one you have pictured. It is an official Arduino board, not a knock-off, but the PCB is green and the micro is in a different package. Looks like a QFN rather than a QFP. But it's still labeled as an ATMEL M328P. Not sure if that has anything to do with it.
Also, the code only seemed to work with the calibration setting of 12.50. Using 14.03 the emitted light was all over the place, but that makes sense because there is probably a different table for the other calibration constant.
Edit: Running firmware v2.6
Are there any reports on how accurate the tester is? Has someone compared it to a Kyoritsu tester for example?
Maybe a closed-loop control would eliminate that problem? And thermal drift as well. I presume that a photodiode in zero-bias mode has a linear response over a wide range of illuminations.However, with the firmware available, it did not have a linear response.
Maybe a closed-loop control would eliminate that problem? And thermal drift as well. I presume that a photodiode in zero-bias mode has a linear response over a wide range of illuminations.
Admittedly I did not read the 270+ posts before writing my suggestion.Actually, in this thread, billywei decoded the brightness signal to the LED driver and intercepted it and altered it to provide the correct response for his LED.
![]()
Building A Professional Grade Shutter Tester
How are you measuring the output? The LEDs in the left of the picture look like the ones I wound up using.www.photrio.com
is not a closed-loop system. Or, if you prefer, the loop is closed in the designer's head and the response time is the interval between updates. It addresses the non-linearity of one particular LED, but not replacements, or drift due to warm-up during operation.Try to play with column 2,3 and 4. Tune them and upload the code to your added Nano with Arduino IDE. Check the result, change the parameters, upload and check again. Repeat the process until you're satisfied with the output accuracy and linearity. You will have to tune the whole table for each EV but it shouldn't be a a big deal.
Photrio.com contains affiliate links to products. We may receive a commission for purchases made through these links. To read our full affiliate disclosure statement please click Here. |
PHOTRIO PARTNERS EQUALLY FUNDING OUR COMMUNITY: ![]() |