Project in progress
Golf Grip alignment tool

Golf Grip alignment tool © GPL3+

Having problems sinking your birdie putts? Maybe your putter grip is on crooked! This project gives you a way to perfectly align your grip.

  • 1,744 views
  • 2 comments
  • 8 respects

Components and supplies

Necessary tools and machines

09507 01
Soldering iron (generic)

Apps and online services

About this project

I work at a golf store where we install golf grips. Putter grips, in particular, have a flat flange that needs to be correctly aligned with the putter face. Eyeballing the installation isn't the easiest thing to do and we often are asked to re-grip putters because the manufacturer didn't do it correctly to begin with. This project utilizes the output of an accelerometer, powered by an Arduino UNO, to make sure the grip is installed perfectly straight.

An external power source, as seen in the cover image, is powering the Arduino UNO. It's a 5 Volt, 1 amp battery. The variable resistor, seen in the schematic, controls how much voltage is allowed to pass through the LCD screen enabling the user to adjust the brightness of the output. The accelerometer is attached to a mini breadboard and on top of two strong magnets. These magnets hold this set-up on top of the grip as they attract to steel shaft of the golf club.

Code

Accelerometer/lcd screen codeArduino
This code reads the output from accelerometer and converts the output to degrees. It then sends the data to the LCD screen in the circuit and displays in degrees with respect to the X-axis of the acceleromter.
#include <LiquidCrystal.h>// include the library code

/**********************************************************/
//char array1[]="  "; //the string to print on the LCD
//char array2[]="MONEY MAKER MIKE "; //the string to print on the LCD
int tim = 250; //the value of delay time
// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(4, 6, 10, 11, 12, 13);

//Analog read pins
const int xPin = 0;
const int yPin = 1;
const int zPin = 2;

//The minimum and maximum values that came from
//the accelerometer while standing still
//You very well may need to change these
int minVal = 265;
int maxVal = 402;


//to hold the caculated values
double x;
double y;
double z;
double xa;
double xb;

void setup(){
  Serial.begin(300); 
  lcd.begin(16, 2);
}


void loop(){

  //read the analog values from the accelerometer
  int xRead = analogRead(xPin);
  int yRead = analogRead(yPin);
  int zRead = analogRead(zPin);

  //convert read values to degrees -90 to 90 - Needed for atan2
  int xAng = map(xRead, minVal, maxVal, -90, 90);
  int yAng = map(yRead, minVal, maxVal, -90, 90);
  int zAng = map(zRead, minVal, maxVal, -90, 90);

  //Caculate 360deg values like so: atan2(-yAng, -zAng)
  //atan2 outputs the value of -π to π (radians)
  //We are then converting the radians to degrees
  x = RAD_TO_DEG * (atan2(-yAng, -zAng)+PI);
  y = RAD_TO_DEG * (atan2(-xAng, -zAng) + PI);
  z = RAD_TO_DEG * (atan2(-yAng, -xAng) + PI);

  //Output the caculations
  lcd.setCursor(0,0);
  lcd.print("x: "); 
  lcd.print(xa);
 
  xa = -180+abs(x);
  xb = abs(xa);

  if  (xa>178 || xb>178) //setting the tolerance
  
  {
  lcd.setCursor(0,2);
  lcd.print("STOP!");
  delay(600);
  lcd.clear();
  }
  

  /*
  lcd.print(" | y: ");
  lcd.print(y);
  lcd.print(" | z: ");
  lcd.println(z);
  */

  delay(300);//just here to slow down the serial output - Easier to read
}

Schematics

Circuit Schematic
Schematic
Installation Video
This is a video of a golf grip being installed. The accelerometer is used to make sure it is on straight!
Video.MOV

Comments

Author

Default
Hunter Mitchell
  • 1 project
  • 0 followers

Published on

May 2, 2016

Members who respect this project

10487434 10101544397202548 602652689234148955 nDefault1112Img 130010703616 1718942488330788 803005213954905534 nDefault

and 2 others

See similar projects
you might like

Similar projects you might like

Arduino Powered CPR Feedback Device

Project showcase by David Escobar

  • 3,792 views
  • 8 comments
  • 25 respects

Simple Arduino Digital Clock Without RTC

Project in progress by Annlee Fores

  • 96,163 views
  • 23 comments
  • 80 respects

AI LCD friend!

Project tutorial by aip06

  • 2,989 views
  • 8 comments
  • 7 respects

Displaying Sensor Values on LCD

by Wimpie van den Berg

  • 42,769 views
  • 4 comments
  • 36 respects

Simple Ultrasonic Distance Measurer With LCD Display

Project showcase by onatto22

  • 5,696 views
  • 4 comments
  • 19 respects
Add projectSign up / Login