golf scorecard logger supervisor: alan edgar napier university introduction: to automate and ease...

4
Golf Scorecard Logger Golf Scorecard Logger Supervisor: Alan Edgar Napier University Introduction: To automate and ease the scorekeeping of golf players matches for calculation of individual handicap scores and statistical illustration, a hand-held electronic scorecard logger unit is developed, with the implementation of the 1-Wire bus and iButtons. The logged data is downloaded to a PC, where the handicap is calculated and statistical data saved to illustrate the players progress over a period of time. -This will open up new opportunities for golf players of storing and analyse the scores, where improvement can be tracked. OK C Scorecard Logger Scorecard PC iButton R ead er iButton Student: Carsten Kristiansen BEng Electronic and Computer Eng.

Upload: constance-brooks

Post on 02-Jan-2016

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Golf Scorecard Logger Supervisor: Alan Edgar Napier University Introduction: To automate and ease the scorekeeping of golf players matches for calculation

Golf Scorecard LoggerGolf Scorecard Logger

Supervisor: Alan EdgarNapier University

Introduction:

To automate and ease the scorekeeping of golf players matches for calculation of individual handicap scores and statistical illustration, a hand-held electronic scorecard logger unit is developed, with the implementation of the 1-Wire bus and iButtons. The logged data is downloaded to a PC, where the handicap is calculated and statistical data saved to illustrate the players progress over a period of time.

-This will open up new opportunities for golf players of storing and analyse the scores, where improvement can be tracked.

OK ►◄ C

Scorecard Logger

Scorecard

PC

iButton ReaderiButton

Student: Carsten KristiansenBEng Electronic and Computer Eng.

Page 2: Golf Scorecard Logger Supervisor: Alan Edgar Napier University Introduction: To automate and ease the scorekeeping of golf players matches for calculation

iButton ImplementationiButton Implementation

Features of the DS1996 iButton:64kbit nonvolatile memory.64kbit nonvolatile memory.

142kbit/sec communication.142kbit/sec communication.

64 bit unique ROM registration number64 bit unique ROM registration number

256 bit scratchpad.256 bit scratchpad.

Over 10 years of data retention.Over 10 years of data retention.

The iButton with a size of a one pound coin is the players link between the The iButton with a size of a one pound coin is the players link between the Scorecard Logger and the PC. With the Dallas 1-Wire communication bus, an Scorecard Logger and the PC. With the Dallas 1-Wire communication bus, an iButton is used to identify the player and store the scores of a match, and enable iButton is used to identify the player and store the scores of a match, and enable the user to bring this data anywhere.the user to bring this data anywhere.

The 64kbit SRAM in the iButton is partitioned in 256 bit pages, with a total of 256 The 64kbit SRAM in the iButton is partitioned in 256 bit pages, with a total of 256 pages.pages.

The 64-bit factory lasered ROM:The 64-bit factory lasered ROM: 8-bit CRC Code 48-bit Serial Number 8-bit Family Code

MSB LSB MSB LSB MSB LSB

iButton reader at the Scorecard iButton reader at the Scorecard Logger:Logger:

Page 3: Golf Scorecard Logger Supervisor: Alan Edgar Napier University Introduction: To automate and ease the scorekeeping of golf players matches for calculation

The Scorecard LoggerThe Scorecard LoggerThe electronic hand-held battery driven Golf Scorecard Logger is for the player to The electronic hand-held battery driven Golf Scorecard Logger is for the player to bring along when a match is played. It interacts with the user through an LCD bring along when a match is played. It interacts with the user through an LCD display and a keyboard.display and a keyboard.

5V PowerSupply

ID ChipDS2502

P3.2

iButton InterfaceDS9092L

RTCC ChipDS1554P

Port 0

P2.0..P2.6

P2.7P3.7P3.6

1-W

ire

Bu

s

Dallas/MaximMicrocontroller

DS89C450

XTAL24MHz

2x16 LCD DisplayMC1602X

PC-COM InterfaceMAX203

Keypad4 x Switches

Hardware Block Diagram:Hardware Block Diagram:

For the hardware a PCB is designed For the hardware a PCB is designed using Surface Mount Technology (SMT) using Surface Mount Technology (SMT) to make it compact enough to fit in the to make it compact enough to fit in the chosen enclosure and optimize the chosen enclosure and optimize the power consumption.power consumption.

The circuit is created with the desire The circuit is created with the desire of a high quality and upgradeable of a high quality and upgradeable result, regarding the software and result, regarding the software and future work. future work.

The Golf Scorecard The Golf Scorecard Logger:Logger:

Page 4: Golf Scorecard Logger Supervisor: Alan Edgar Napier University Introduction: To automate and ease the scorekeeping of golf players matches for calculation

SoftwareSoftware

More info: www.ck-electronic.dk/gsl

User Start GameSetupGame

NameNo of holes

Backlight Stableford

No of players

User

Main:

Sub 1:

Sub 2:

Startup:Welcome

Stroke play

The software consists of The software consists of two areas, the scorecard two areas, the scorecard logger software and the logger software and the PC software. A part of PC software. A part of the menu structure for the menu structure for the scorecard logger is the scorecard logger is illustrated. illustrated.

Through a structured Through a structured approach the program approach the program code is created, using code is created, using development tools such development tools such as Keil uVision for the as Keil uVision for the Dallas 8051 processing Dallas 8051 processing unit, and Borland C++ unit, and Borland C++ Builder for the PC Builder for the PC software.software.

Scorecard Logger software:Scorecard Logger software:

Menu control and Menu control and navigation.navigation.

Game control and Game control and navigation.navigation.

Protocol handling.Protocol handling.

Error indication handling.Error indication handling.

Custom control setup.Custom control setup.

PC software:PC software:

Protocol handling.Protocol handling.

Calculation and Calculation and presentation of the presentation of the handicap score.handicap score.

Statistical and historical Statistical and historical view.view.

User setup and database User setup and database handling.handling.