by Tdarcos » Wed May 16, 2018 9:04 pm
RealNC wrote: Wed May 16, 2018 12:27 pm
On a 60Hz game, an exposure time of 16.7ms is going to give the best result. The scanline is going to be picked up by the camera exactly once over the whole frame. How you would get the camera to sync to the beginning of the scanout though, I have no idea.
Is there a way to connect a pressure device or relay to one of the GPIO pins on a Raspberry Pi? If so, you could calculate the amount of time it takes the relay to fire, tripping the camera's shutter button, then figure the additional amount of microseconds to delay sending the high or low signal to that PIN.
I'm not much on hardware, but perhaps it can be a relay connected to a charged capacitor that the pin tells it to discharge, throwing the plunger.
Or if you have a camera module for the PI, program a snapshot instead of or using the GPIO pin.
[quote=RealNC post_id=96783 time=1526498848 user_id=914]
On a 60Hz game, an exposure time of 16.7ms is going to give the best result. The scanline is going to be picked up by the camera exactly once over the whole frame. How you would get the camera to sync to the beginning of the scanout though, I have no idea.
[/quote]
Is there a way to connect a pressure device or relay to one of the GPIO pins on a Raspberry Pi? If so, you could calculate the amount of time it takes the relay to fire, tripping the camera's shutter button, then figure the additional amount of microseconds to delay sending the high or low signal to that PIN.
I'm not much on hardware, but perhaps it can be a relay connected to a charged capacitor that the pin tells it to discharge, throwing the plunger.
Or if you have a camera module for the PI, program a snapshot instead of or using the GPIO pin.