Hi All,
My son plays hockey and is also interested in Arduino / technology. My wife was active on another post, but asked I take over
- link here
We looked at computer vision, but ~100 FPS on a RPi just wasn't enough with the stereo cameras we were looking at, and needed a much more expensive solution.
A hockey net is 4ftx6ft and we're looking to see where his shot went in with x,y coordinates and ideally the speed; and then ideally write it to a DB or something so we can track progress over time & make a bit of a game. Note, the puck is about 1in x 3 inch, and can hit speeds of up to 90mph+.
Based on the other thread linked above, we got a 5 pack of ultrasonic HC-SR04 and a 5 pack of sound detection modules.
We're looking to learn with trial and error here. I wanted to share what we are thinking, and where we are at today. Currently, we have a Uno R3 + starter kit + multiple bread boards in addition to the sensors above.
Basically, we're thinking of trying a tarp covering the net, or some sort of wood, so the puck will make a loud sound on impact. From there / the other post, we want to attempt to use the sound detectors placed at the four corners to calculate the exact ms the sound is detected in each mic and then attempt to triangulate. Today, we got one mic working on sound detection, and would love some additional feedback on how to code / the math for this problem.
The second option we are looking at is the ultrasonic sensors. We also got one working with NewPing, and can see the distance with once sensor. Depending on the FOV, can the sensors see the entire area, we would also place one at each corner to attempt to triangulate based on distance from the sensors. I'm not fully convinced they would have the right FOV / refresh rates to handle 90mph.
Break beams could be an ideal solution, however, I think we would need way to many to cover the entire net given the size of the puck. Are there any 'wide fov' break beams? Otherwise we would need 48 on the Y axis and 24 on the X based on the size of puck.
I know there are other options such as placing multiple piezo into a woven fabric, but it's unlikely we could get the accuracy we would want.
For speed, we were thinking of 2 break beams close to where the puck is shot to calculate the time in between. But the speed is less of a priority at this time as we have a radar gun.
Any other options I'm missing? Does anyone have some guidance on how to use the microphone or ultrasonic sensors to start the triangulation process?
Thanks all!