Showing posts with label Running. Show all posts
Showing posts with label Running. Show all posts

Wednesday, 21 August 2013

Assembling

Connections
The electrical connections are pretty simple so I did not do a schematic (power, an SPI connection through a level converter to the display unit and [software]serial/UART to nRF24AP2 module). I can make that up if people are interested......

To connect the device parts to the hat I decided "velcro" was the way to go. Allowing removal when needed. I waterproofed each of the elements in small "ziploc" bags with electrical type and put some velcro on the back of them. I then stitched the other half of the velcro into the hat (with some very poor sewing technique).

This is what it looks like:


and here is a quick video too:

and you can see in the video the bane of the 7-segment display -- the letter 'k'



Related work

The trouble with Garmin GPS devices....

It turns out that you can't actually talk to a Garmin Forerunner 410 GPS in a meaningful way out on the road.

I wanted to get the distance information essentially in real time. It turns out this is not possible.

 I did some testing against my USB ANT+ Stick that came with my Gamrin Forerunner and a modified version of the Python ANT Downloader on Ubuntu (https://github.com/brodykenrick/python-ant-downloader).

You can only get ANT-FS "files" for download from a FR410 after a run. Never anything (useful) during the run.

 See http://www.thisisant.com/forum/viewthread/4059/

That meant that we wouldn't be getting any distance info out of the watch. Not what we wanted. Was it just going to display messages and no real time info?

 Luckily there is another way to get distance information from the Garmin ecosystem. The Garmin Foot-pod.

 So now rather than integrate with GPS we are integrating with the Foot-pod sensor directly. As an added benefit we'll be able to display stride counts too!

What would we need?


What would it take to make this display?
  • A micro-controller
  • A power source
  • An ANT+ module
  • A display 
  • An ANT+ source of distance information (Garmin Forerunner 410 Foot-pod)

MCU
I have quite few Arduino boards lying around, so that seemed to be the easy choice on the processor. I ended up using a Tinyduino (Tinyduino) and an Arduino Pro Mini (link) in my two separate iterations.

 Power
I also have some LiPo batteries around from other projects. Lightweight and powerful (link).

A display
7-segment displays are cool in my opinion and so that was the display I decided would make most sense (in spite of the difficulty in getting some letters represented). These seemed to be good and cheap options based on the MAX7219 (http://dx.com/p/8-segment-led-display-board-module-for-arduino-147814) and cheaper than I could get the main chip for myself.

ANT+
An ANT+ module for talking to the Garmin. This would need to be purchased. The sparkfun modules (link) seemed good - however they weren't available anywhere. I ended up buying from Goodluckbuy.com in China (http://www.goodluckbuy.com/nrf24ap2-wireless-module-zigbee-module.html)

Source
I have a Garmin Forerunner 410, Heart Rate Monitor and Foot-pod.

What we wanted to create

My girlfriend is training for the Sydney Running Festival Marathon (September 2013). The training is with a group called CanToo that raise money for cancer research and offer professional training and a great group of people for spending the many hard number hours out on the road.

In order to make the training a bit more fun and to advertise both the CanToo cause and the effort and distances being run we came up with the idea of a wearable device worn whilst running that would indicate to bystanders the distances of the training runs and allow for a few other messages.

We wanted to be able to display on the back of a hat the distance that a Garmin GPS had measured for a run, the distance left for the day and some motivational messages for fun and general support.

The thinking was to create a hat mountable display that could connect to a Garmin Forerunner 410 (over ANT) and read out the distance for the run and display.


Arduino and ANT+ and 7-segment displays

What do you get when you combine: Arduino, ANT+ (Heart-rate-monitor & Foot-pod) and 7-segment displays?

A pretty strange device worn on a runner's hat that I am calling the Retro Runner Readout.

I wanted to document the details online in case someone wants to follow down this same path of wearable runner's tech.


Here is a shot of it in "inaction":