-
Filtering out unwanted light
12/25/2021 at 20:35 • 0 commentsSilicon sensors are sensitive up to more than 1100nm so in order to limit the effect IR light has on photos cameras have an IR filter that cuts off around 650nm. Since I'm using IR LEDs in the target this was a problem so I removed that filter from the camera. This worked fine but too much visible light could confuse the camera. I found on Aliexpress IR bandpass filters for 940nm, just right for the LEDs I'm using.
Superglued the filter on the Raspberry Pi camera lens holder and done! Luckily it's thin enough (0.55mm) to not interfere with the 6mm lens.
-
Calibration
12/05/2021 at 20:57 • 0 commentsCalibrating the gun requires a means of fixing it in place and aiming it perfectly at the target, ideally from the same distance that you will be shooting from. I used a vise to hold the gun in place and kept nudging it very gently to align the sights with the target.
Once this setup is completed I could find where in the picture the target center is with respect to the 4 IR LEDs and apply any necessary offsets in order to obtain a perfect shot.