0
$\begingroup$

I have been trying to create a sensor that detects when a golf club hits a golf ball. My idea was to have a lidar sensor to continuously poll the head of the golf club, and return a positive indication when the distance has changed significantly. To do this, I use the VL50l0X. However, as I get further away from the golf club (>15cm only), the lidar stops sensing where the head is, returns an out of range signal. I have tried different range profiles but the same error is returned.

It is connected to the 3v3 output on an arduino uno, using the example code provided by adafruit.

I believe this may be due to the fact that the golf club is angled away from the lidar (about 70 degrees), as, when I substitute the golf club head for a flat surface, it works as intended. I would like to ask if there are different sensors I can look at to this application, or some other way to approach this problem. I was advised that a shock sensor would not be the best idea due to the time difference between the golf club hitting the ball and the sensor.

Link to VL53l0X datasheet

$\endgroup$
10
  • $\begingroup$ You can't make the golf club face more diffuse? $\endgroup$
    – DKNguyen
    Commented Feb 22, 2022 at 16:38
  • $\begingroup$ Thanks for replying! Not in particular because the problem statement was to use commercially available products. However would this be done by polishing the face in some way? $\endgroup$
    – vernal123
    Commented Feb 22, 2022 at 16:41
  • $\begingroup$ Not polishing. The opposite: roughing up a bit. Like 600+ grit sandpaper but I don't know if that is acceptable. Try just masking tape first though to verify that is the problem. Or maybe a marker or dull pain that can be easily removed if the face doesn't have grooves. $\endgroup$
    – DKNguyen
    Commented Feb 22, 2022 at 16:41
  • $\begingroup$ I will try that thanks! Off the topic but do you know other sensors that could solve this issue too? $\endgroup$
    – vernal123
    Commented Feb 22, 2022 at 16:44
  • $\begingroup$ Ultrasonic....maybe? But affected by more environmental stuff and lower sample rate. Oh yeah, plastic-type materials are often transparent to your your IR beam is transparent so some paints or tape might not work. $\endgroup$
    – DKNguyen
    Commented Feb 22, 2022 at 16:44

2 Answers 2

1
$\begingroup$

Just use a microphone. There is a fairly loud, distinctive sound when the club hits the ball.

$\endgroup$
2
  • $\begingroup$ thanks for your reply! how would I distinguish it from the wind gushing into the microphone for example? $\endgroup$
    – vernal123
    Commented Feb 22, 2022 at 17:20
  • $\begingroup$ Google "microphone windscreen" $\endgroup$ Commented Feb 22, 2022 at 20:46
0
$\begingroup$

Try using a retroreflector to return the lidar signal back to the origin, or maybe a matt textured white paint would be sufficient.

With regard to a shock sensor, a simple piezoelectric device would should have a quite short (and predictable) response time, for example some sensors are under 100 microseconds.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.