Lengths Counter for Swimmers

An example application using speech synthesis, an accelerometer, and a magnetometer

Published in issue 7/2012 on page 68

There’s no lack of distance counters for walkers or cycling; but swimmers are reduced to mentally totting up how many lengths of the pool have been complete, for want of a counter suitable for their favourite sport. The project described on these pages got designed to build an electronic solution that takes care of this tedious counting. The result is a device that’s reliable, handy, light, discreet – and inexpensive.

Downloading of this magazine article is reserved to Elektor Members only. To become a Member, go to www.elektor.com/subs.



Main components used in project
PIC18F27J13-I, Microchip, MCU, 8 bit, 128 KB Flash, 3 KB RAM (QFN28)
MAG3110FCR1, Freescale, 3-axis magnetometer w. I2C interface I2C (DFN10)
MMA7361LCR1, Freescale, 3-axis accelerometer w. analogue outputs (LGA14)
SSM2301RMZ-R2, Analog Devices, 1,5 W classe D audio amplifier (MSOP8)
ASLS-2, Assemtech, Acceleration sensitive switch (2G),
OKW Smart Case M A9066109 + A9166001 : recommended housing
ADS02008MR-R Projects unlimited : mini LSP 8 Ohm, Ø20 mm