Skip to main content

GPIO cable extend length

Answered

Comments

3 comments

  • Official comment
    TDY_Demos
    Community team
    Expert (Gold)

    Hello Varun,

    It seems like there is too much voltage drop when you add the longer cables, or the arduino can not provide enough current.

    The proper solution would be to use a higher voltage/current pin, or to add a circuit to increase the current the pin can provide.

    This can be done with an opto isolator or FET and supplying and external voltage.  We have an article on doing this from the output pin of a camera (Buffering a GPIO pin strobe output signal using an optocoupler to drive external devices | Teledyne FLIR) but there is no reason you can't instead do this to buffer the output signal of your Arduino.

    If you can not add any circuitry and there is no extra pins you can use, you could try a thicker wire (less resistance) to see if that helps, or removing the breadboard and other connections in case that contributes to the extra loss.

    I expect if you take a scope and measure the voltage at the camera end, it will be too low to trigger the cameras.

    Please let me know if any of these suggestions work for you.

    Thank you,
    Demos

  • Varun Narasimhan

    Hi Demos

    Thank you for that. I have used different resistors to enable a higher voltage drop and and the cameras are getting triggered best I can tell.

    However, their recordings are not synced up.

    Sometimes, although rarely, they all have identical durations and play the video in real time.

    Sometimes some of them are half the duration of others and play the recording as if fast forwarded 2 x

    Sometimes even some of them play the video as if it is slowed down by 1/2.

    I think it has something to do with the exposure settings  or the frame rate that I am using on my mocap software or even the square wave frequency on my Arduino IDE.

    Do you have any ideas on how to treat this problem?

    Thank you,

    Varun

    0
  • TDY_Demos
    Community team
    Expert (Gold)

    Hello Varun,

    For your new question, I will answer in a new post that you created so we can keep the issues separated.

    Demos

    0

Please sign in to leave a comment.

Powered by Zendesk