Trigger for projector and kinnect Azure

Hi,
I am doing a project where I have to synchronize a projector with a camera, in this case a kinnect azure.
The need is that when the projector emits an image the camera cannot record and when the camera turns off it records the camera. Each change must be made around 2ms to be able to form a real-time image without defects in the image, since if they worked at the same time a delayed and unstructured image would come out.

I have made an electronic design with a 555 and a 7402, to obtain two different signals in high and low state and using the v-sync of the projector and the sync in of the Azure, but the result has not been as expected, it does not work.

Now I want to make this design with arduino, and I think it is more complicated than turning on and off two LEDs by delay.

To face the problem, I think there are about two aspects.
In the first one, you could enter black frames for a period of time, but in this case you should turn off the azure when the projector emits.
As a second option, it would be to activate projector and deactivate camera and otherwise directly from arduino.
I am open to possible solutions and contributions.

Thanks for your time

The need is that when the projector emits an image the camera cannot record and when the camera turns off it records the camera. Each change must be made around 2ms to be able to form a real-time image without defects in the image, since if they worked at the same time a delayed and unstructured image would come out.

Please rephrase this in terms of inputs and timing requirements.
What the inputs ?
What are the input voltage requirements ?
What are the timing requirements for the inputs.
ie:
Inputs:
A:[ 5V, PULSE, 2mS
B: 5V , LOGIC HIGH/LOW
etc...

Hi,

Thank you very much for having responded so quickly and sorry for my slow response. I've been researching on another project and now I'm going back to this.

Your answer has helped me to consider the problem again.
I will start by stopping the vga signal. I have read that pin 13 (h-sync) and 14 (v-sync) can help me to interrupt the signal with an arduino UNO, but as indicated in some forums it is better to do it with interrupt signals and avoid delay.

I have cut the VGA cable and punctured cable to cable on a protoboard to have these two cables 13 and 14 located and generate signals that interrupt that video signal for 2ms every 16.66ms which is the update period, that is, each pulse . I think, interrupting only vsync would be enough (pin14).

Thanks.

The frequency of the projector will be 60Hz, which means that it will be a periodic signal of 16.66ms in v-sync (pin14).
My question is how to generate interruptions in this analog signal.
I want to generate an interruption of 2ms every 16.66ms.
I don't know how to do it, I'm new to this, I don't stop reading tutorials and implement code that I think doesn't make much sense, but it doesn't work.

Thank you

The VGA signal of pin 14 is 3.3V, and is similar to a square signal.
I have taken a program to read analog signals but I am not getting the expected operation, since I have set one that detects the rising and falling edges of the signal, showing the changes through an LED, it changes too slowly than expected since that in a period of 16.66ms should blink 2 times and does it once every second. The code I used is the example of analogInput. The idea is to detect the rising edge to generate at that moment a 2ms interruption in that signal, this should generate a very fast flickering on the screen.
The next step is to include a camera and the operation must be when the other is not working and vice versa in a fast way, having to generate 2 periodic interruptions.

Can someone help me please?

Thank you