![]() If it is 20 mA or less then the Arduino digital pin can handle that. Put your meter in current mode across the camera's pin and measure the current when the pin is shorted (ie. We can probably assume that the current will be low, after all they wouldn't short out the camera's battery through that pin. I'm just not sure about connecting 5V directly to ground though. That would go to the collector of the transistor in the opto-coupler (pin 5 in this particular case). You need to identify by measuring with a meter which pin has the positive voltage on it. I wasn't sure what voltages would be on them, or if there would be a spike, so I used an opto-coupler like this: ![]() In the same way as you describe, two pins had to be shorted. I had a project a while ago where I wanted to trigger a camera flash. The Vin pin could easily be up around the 10V mark, depending on what you plug into the barrel jack. ![]() ![]() I certainly would not be using it as a 5V "virtual ground" - whatever that means. Is this an okay use without damaging it? I have a camera which triggers when two wires coming from it are connected, so it triggers on a short At the moment I am using it as a sort of 5V "virtual ground".
0 Comments
Leave a Reply. |