I am building a multirotor project similar to this one I built a few months ago. This particular multirotor will be geared for flying FPV (First Person View) which means that I will transmit a 5.8Ghz video feed from my aircraft to a ground station where I can pilot from the view point of the aircraft.
I am going to have three small cameras: one at the nose, one topside and at the rear of the aircraft, and one in the belly facing down.
What I would like to do is assign a switch on my transmitter that will allow me to toggle between the three cameras.
I already know how to read a signal value from the receiver on my aircraft to the Arduino and I can get three nice, clean values (1000, 1500, 2000) depending on the state of a three position switch on my transmitter.
- Given that I can read three distinct values from my radio control on one pin, and
- Given that I have three different video signals coming in on three separate pins, and
- Given that I have one pin that will output the video signal to the 5.8Ghz video transmitter
How do I dynamically switch which video input is sent to the video output pin?