Putt Trainer
Hardware- 3 Devlogs
- 6 Total hours
A smart golf assistant that analyses your putting stroke and gives feedback
A smart golf assistant that analyses your putting stroke and gives feedback
Dev Log Entry 3
I finally got everything communicating properly. After troubleshooting the breadboard rows, it turned out the default I2C pins on the ESP32-C3 Super Mini are strapping pins, which was messing with the boot traffic and breaking the connection to the sensor. To bypass that issue entirely, I re-routed the data lines to pins 12 and 13. I updated the code initialization to point there, and the MPU6050 connected instantly.
With that fixed, both the accelerometer and the 1.28-inch round watch screen are wired up and fully functional on the breadboard.
The main challenge now is the software. The core swing-tracking algorithm is still pretty buggy. The calculation that determines whether the clubface is open, closed, or square at the point of impact is throwing weird values, and the stroke path replay animation looks unnatural.
Building a Compact Putting Coach
Had this random idea to build a compact putting coach, so I spent some time mocking it up and running a simulation over on Wokwi to make sure the logic actually worked.
Wokwi doesn’t have the actual round 1.28-inch (240x240) watch display I’m planning to use for the final build, so I had to use a bigger 2.8-inch TFT just to get the simulator running.
Now that the code is working, I’m moving off the screen and onto the hardware. Time to fire up the iron and start soldering everything down onto a perfboard.
Wish me luck