Sie sind auf Seite 1von 1

Problem

wimming is a popular form of exercise for


many, but despite the popularity of regular pedometers, there has not been a popular
pedometer device for swimmers. Existing pedometers are rarely waterproof. Swimming also involves different strokes and complex motions, beyond the ability of a typical pedometer. Specialized devices are often expensive.

Swimming
Fitness Counter
A pedometer device for swimmers
Jim Chen / Advisor: Dr. Joseph Boyd

Goals

ecause the device must be designed to be compact, wearable, rechargeable, and waterproof, a variety
of challenges are encountered in the design process. The device is completely sealed with polycaprolactone, with no gaps, contacts, or movable parts. It is operated by physical taps instead of buttons, which
reuses the accelerometer and saves cost. It also uses wireless power transfer for recharging the battery.

Circuit Board Design

Device

Display

Microcontroller
(ARM Cortex-M0)

LCD
Sensors

Swimmer

User Interface
Digital Signal
Processing

Motion

Accelerometer
Device

Pattern
Recognition

Module

Power Module
Hardware
Component

Current Source

Firmware
Component

Li-ion
Battery

Rectifier
Coil

User
External
Input/Output

Power

Charging Station

Analog Signal
Digital Signal
I2C Signal

USB

Microcontroller
(ARM Cortex-M3)

H-bridge

RESET

Target size: 4.8 cm (1.9 in.)


length 4 cm (1.6 in.) width 2
cm (0.8 in.) height
12864px monochrome LCD
Three-axis, 8-g accelerometer
35mAh rechargeable battery
NXP LPC1114 (ARM Cortex-M0)
microcontroller
Custom printed circuit board
Waterproof casing made from
polycaprolactone plastic

WR(LCD_WR)

D4(LCD_D4)

LCD
SSEL
INT1
SCL
SDA

3.3V

PIO2_0/~DTR

PIO1_7/TXD/CT32B0_MAT1 32

D3(LCD_D3)

~RESET/PIO0_0

PIO1_6/RXD/CT32B0_MAT0 31

D2(LCD_D2)

PIO0_1/CLKOUT/CT32B0_MAT2

PIO1_5/~RTS/CT32B0_CAP0 30

D1(LCD_D1)

XTALIN

XTALOUT

Vdd

PIO1_8/CT16B1_CAP0

PIO0_2/SSEL/CT16B0_CAP0

PIO0_3

R/PIO1_2/AD3/CT32B1_MAT1 24

10 PIO0_4/SCL

R/PIO1_1/AD2/CT32B1_MAT0 23

11 PIO0_5/SDA

R/PIO1_0/AD1/CT32B1_CAP0 22

Vdd 29

LCD

PIO3_2 28

A0(LCD_A0)

PIO1_11/AD7 27

D7(LCD_D7)

PIO1_4/AD5/CT32B1_MAT3/WAKEUP 26

D0(LCD_D0)

SWDIO/PIO1_3/AD4/CT32B1_MAT2 25

D5(LCD_D5)

12 PIO1_9/CT16B1_MAT0

CS2(LCD_CS2)

13 PIO3_4

PIO1_10/AD6/CT16B1_MAT1 20

CS1(LCD_CS1)

14 PIO3_5

SWCLK/PIO0_10/SCK/CT16B0_MAT2 19

SCK
TXD

VCC

PIO0_9/MOSI/CT16B0_MAT1 18

16 PIO0_7/~CTS

PIO0_8/MISO/CT16B0_MAT0 17

Vss

SCL

HDR2X5

D4
MM5Z15V

R3
100k

TXD

RSET GND
PSSI2021SAY

VCC
3.3V

Q1
NTA7002NT1G
D3
BAV99

BATT
C8
2.7nF

R4
12.7k

BATT

U6

C11

U3

24pF
VCC

X1
3.3V

SCL
SDA

C10

LM4040-4V096

VCC
3.3V

12.7k
C21
100nF

VREF

MCP7941X

24pF

VCC

CS1(LCD_CS1)

3.3V

CS2(LCD_CS2)
RES(LCD_RES)
A0(LCD_A0)

VCC
U8

3.3V

SSEL
MISO
SCK
MOSI
AT25DF041A-SSHF

D0(LCD_D0)

LCD

VCC
SCL
STTS751

100nF

C13
100nF

D5(LCD_D5)
D6(LCD_D6)
D7(LCD_D7)

3.3V

U4
C6

D2(LCD_D2)

D4(LCD_D4)

U7
SDA

RD(LCD_RD)

D3(LCD_D3)

LM4041

C12

WR(LCD_WR)

D1(LCD_D1)

12.7k

VCC

3.3V

U5

R2

VCCREF

Written in C
ChibiOS/RT operating system

U1
VCC

RXD

D2
BAV99

R6

Firmware

D5
BAV99
3

100

Sealed prototype (with LCD shown)

100nF

100k

R1

12.7k

J3

C7

SWCLK
MOSI
MISO

HDR1X2

R5

SDA

SWDIO
SWCLK
RESET

R7

C1
100nF

3.3V

J2

D6(LCD_D6)

J1

VCC

C5
100nF

VREF
VCCREF
RXD

D1
BAV99
2

C4
100nF

SWDIO

R/PIO0_11/AD0/CT32B0_MAT3 21

15 PIO0_6/SCK

3.3V

RES(LCD_RES)

Swimming Fitness Counter

RD(LCD_RD)

VCC

U2
LPC1111

3.3V

VCC

LCD

Specifications

Circuit board (with charging coil and battery)

System Design

he design underwent two revision to arrive at a functioning version of the device. It satisfies the original goals of measuring basic statistics about the swimmers
workout including the distance and number
of laps, to an acceptable degree of accuracy.
It is also small, waterproof, low-powered,
and cost-effective: without the wristband,
the device measures 1.75 (4.4cm) by
1.25 (3.2cm) by 1 (2.5cm); it is completely
sealed from the environment; the battery
can last for days in regular usage; and one
prototype costs less than $60. There are also
several possible featured that are left unimplemented, including record-keeping and
timekeeping.

Challenges

33

o design, build, and test a device which


can function as a pedometer-equivalent
for swimmers. Worn during swimming, the device will be able to measure and indicate to
the swimmer statistics related to the workout,
including the distance and the number of laps.
The device will be small, waterproof, lowpowered, and cost-effective.

Results

TXD
VCC
3.3V
C9
100nF

3.3V

0
LEDK
LED-

100nF SCL

VCC

R8

SDA
LEDA
LED+

C2
4.7F

C3
100nF
MMA8453Q INT1

HDR1X18
LCD

By Rufino Uribe [CC-BY-SA-2.0 (http://creativecommons.org/licenses/by-sa/2.0)], via Wikimedia Commons

Unsealed prototype (with wrist band)