I am building a very exciting project, and I am creating this post to get new, fresh and crazier ideas.
I have a big wall, and I am shooting at it. I need to calculate the exact X and Y coordinates where the projectile impacts.
There are several challenges:
With all that said, I am fully opened to options. The former are not constrains and I am willing to change the approach and start from scratch.
My approach so far is setting up three motion sensors and triangulating the position based on the impact wave. So far it have been inaccurate and needing lots of tune-up.
If you want to improve my approach suggesting a sensor or software that I may be missing, please be welcome, but as I said, I am willing to start it over.
This project will be completed, so if your solution is great, you will contribute to something very cool, and I can send you a picture of it or even invite you to shoot with me ;-)
Use a high-speed IR camera and use it to detect flares on a color-flattened image (Use OpenCV or other library convert 24 bit RGB etc -> black & white image).
Take the FOV of the camera and calculate the X & Y offset by triangulation based on the distance to the wall and the translation from the camera image's centre-point. If you need a matrix library use the GLM library - it's fast and will contain all the functions you need.
Good Luck!
This is just an idea. It might sound a little complicated but it might work.
Pretty much, what you have to do is an laser array with a sensor at the end. Here is what I mean.
Now let's say that you have way more lasers and sensors.
After that, you can use a photocell / photoresistor / light dependant resistor to see when and which laser beem is broken. After that, by having 1 laser on the X axis and 1 and the Y axis, you can pinpoint the bullet.
Now this gets complicated if there is many sensors. A short trick that I have is to directly wire the photocell to a an analog to digital converter and in the end, connect it to an array of shift registers (aka IO expander) of the Arduino. Thus, we can know which sensor got triggered.
This method does respect many of your constraints. It can detect a big or a small bullet, no matter the speed (though a faster Arduino could help). It can detect things even if there is a video on the wall. If calibrated proprely, the laser light will pretty much blind the photocell and if the laser beam is cut, even if slightly, the light intensity will lower quite a bit, indicating that a bullet passed at that point. No bullet / gun mod needed. If you mount this on a rack type of a "mobile" contruction, this can be used on many types of wall and you only need to realign both axes before using it again.
This might sound complicated, but this is just an idea / suggestion. If anybody has any suggestions for the analog to IO thing, please comment it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With