Using 3 Channel Video Switcher Module with Arduino

Discussion in 'The Projects Forum' started by StealthRT, Dec 7, 2014.

  1. StealthRT

    Thread Starter Active Member

    Mar 20, 2009
    223
    0
    Hey all I am wondering how to go about switch from camera 1, 2 or 3 using this 3 Channel Video Switcher Module on ebay here.

    [​IMG]

    Since there's only V+, V- and signal for the "switch" it looks to take a PWM but I am not quite sure if that's correct or not. If correct then how would I (in code) send that out for each camera to change?

    UPDATE

    Well I've tried the following code:
    Code (Text):
    1.  
    2. int LED_pin = 9; // must be one of 3, 5, 6, 9, 10 or 11 for PWM
    3.  
    4. void setup() {
    5.   pinMode(LED_pin, OUTPUT); // Initialize pin for output
    6. }
    7.  
    8. void loop() {
    9.   int dtwait = 1000; // Pause interval, milliseconds
    10.   int V1=20, V2=220, V3=120; // 8-bit output values for PWM duty cycle
    11.   analogWrite(LED_pin, V1);
    12.   delay(dtwait);
    13.   analogWrite(LED_pin, V2);
    14.   delay(dtwait);
    15.   analogWrite(LED_pin, V3);
    16.   delay(dtwait);
    17. }
    18.  
    and just to test it I hooked up 2 green LEDs to digital pin 9 and I can confirm it does light the led's in 3 stages. From bright, medium and then dim-ish.

    So I went ahead and powered up the FPV by hooking it up like so:
    [​IMG]

    I'm not getting any voltage off that pin on the FPV. I even hooked up a volt meter and tested it without the LEDs attached to that pin and still had no reading.

    Someone suggested looking at this post http://www.rcgroups.com/forums/showthread.php?t=1955631 but there so much code that I'm not sure what i need and what i don't need.

    What could I be doing incorrectly?
     
  2. StealthRT

    Thread Starter Active Member

    Mar 20, 2009
    223
    0
    One looks like it says P15V 331QE BZ10
    [​IMG]

    While the other side has one that maybe says STC 15F104E F-4V938.A
    [​IMG]
     
Loading...