You are browsing as a guest. Sign up (or log in) to start making projects!

Putt Trainer

Hardware
  • 3 Devlogs
  • 6 Total hours

A smart golf assistant that analyses your putting stroke and gives feedback

Open comments for this post

2h 24m 8s logged

Dev Log Entry 3

  • Status: Core features working.
  • Next step: Code improvement and optimization.
    Overview
    After working through a few bugs, the main codebase is finally functional. The core elements are up and running as expected. A couple of hours of troubleshooting went unlogged during the process, but the main goal was reached.
    What was accomplished
  • Fixed the issues that were blocking the code from running.
  • Tested the core features to make sure everything works properly.
  • Caught up on unlogged development time.
    What’s next
    Now that the code works, the next focus is making it better. The upcoming tasks include:
  • Cleaning up the code to make it more organized.
  • Improving performance and efficiency.
  • Planning out the next set of features.
0
1
15
Open comments for this post

3h 24m logged

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.

0
1
5
Open comments for this post

31m 1s logged

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

0
1
6

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…