sportablet
  • home
  • the app
  • answers
  • contacts
  • blog
Got a smartphone or a small-screen tablet? check out the Uploader for Garmin!

Support for Forerunner 310xt, 610, 910xt, 60, 70 going alpha

1/20/2013

9 Comments

 
Update:  Sportablet 3.7 and the Uploader for Garmin 2.9 provide beta-level support. A more detailed post will follow, but the passcode is no longer needed, and it's now safe to purchase the app if you feel so.

Sportablet 3.5 and the Uploader for Garmin 2.6Sportablet 3.5 and the Uploader for Garmin 2.6 provide alpha-level support for the Garmin Forerunner 310xt, 610, 910xt. Being still in alpha, support is disabled by default and can only be enabled with a passcode.

Note: I've just released those versions (January 20) so it may take a few hours before Google Play makes them available to you guys.

To obtain a passcode:

- Please understand that it's alpha code. It's fairly complete but lacks some error handling and error recovery. It may leave some files on your tablet in case of errors, and the only way to clean up those files will be uninstalling the app. Therefore, please don't ask for a passcode if you have purchased the app, or obtained a free activation code from me, because you may have to uninstall / reinstall the app when it goes beta or final.

- Follow the steps in my post "getting ready for ANT+". Instructions are for the 405, but you should be able to figure out how to make it work with your model (otherwise, sorry, the alpha is not for you :-). Unlike what is said in the instructions, enable device diagnostics under "options". Also, leave buffering and delay OFF at first.

- With diagnostics enabled, try to get the activities. The watch should pair and then an error message should appear, telling you that a passcode is needed. Click on the red "email log" button, send me the log. I'll get back to you with the passcode.

- Please understand that you're expected to actually try the app :-) and tell me if it's working fine with your Garmin, your tablet, your phone. I may need to add a few options to get the best reliability / performance on all platform, and withouth logs, it's hard to do so.

- for details on how to use the internal ANT+ chip in the Xperia see here.

- Please understand that, after you obtain a passcode, you should not buy the app during the alpha period, because it's recommended that you uninstall / reinstall the app when it goes beta or final.

- Please do not apply for a passcode if you're paranoid, you're afraid that my app will destroy your Garmin, your tablet, your phone, cause a nuclear war, summon demons to your house, or are otherwise suspicious that I'm a master of mischief trying to steal your precious money. Life is too short to deal with that.

If you're still reading this, yes, you're the right person to try the alpha :-)

9 Comments

Improved support for Garmin Etrex, Foretrex, GpsMap and Oregon

1/14/2013

47 Comments

 
note: this post covers only handheld models configured in serial / garmin mode; it doesn't cover models configured in mass storage mode. I suggest that you start from this more recent tutorial instead, which also covers mass storage mode. That tutorial will redirect you here if needed, with a much better picture of why you may want to set up your unit in serial / garmin mode in some cases.



When I first thought about creating Sportablet and the Garmin Uploader, my idea was to support the Forerunner and the Edge family. I’m mostly a runner these days, I used to mountain bike, and I occasionally swim in open waters, so those are the devices and the activities I’m most familiar with.

Still, at some point you guys started to ask me to support other Garmin devices, like the eTrex, the GpsMap, the Oregon, etc. I don’t have most of those, so it took me some time to support them at a decent :-) level. With Sportablet 3.4 and the Uploader 2.5, I would say that I reached a reasonable level, with some important parts yet to come.

State of the app
Sportablet and the Uploader have been tested with these models:
  • eTrex 20
  • eTrex 30
  • eTrex Legend HCx
  • eTrex Vista C
  • Foretrex 401
  • Oregon 550t
  • GPSMap60CSX 

If you use the GPSMap60CSX, please make sure you upgrade your firmware to version 4.20, as the communication protocol is much cleaner in that version.

If you have a different unit, read on and give the app a try. If you run into troubles, get in touch. If it works, send me a log :-).

Setting up your unit
At this time, for all the devices above, you have to set your unit in Garmin Mode. If you want to connect your unit in Mass Storage mode, see the other tutorial as linked above. The setting is usually under the System menu, sometimes is a little buried. If you can’t find it, get in touch. NOTE: some models don't have a "garmin mode". They have a "spanner mode" or a "serial mode". Try those that you have, in this order (garmin / serial / spanner).

With the unit in garmin/serial mode, my app will be able to access your tracklog. At least for some models (eTrex 20 and eTrex 30), that basically corresponds to what you have in your current.gpx file inside the unit. It won't access the history.

As observed in the eTrex Legend HCx, if you save your tracklog, the eTrex will "compress" the track by removing some GPS points and removing the time coordinate from all points. In this case, the app will set the track time to the download time, and will space sampling points evenly in time - which means, of course, that speed won't be real. 
This is an issue on the eTrex side, which cannot be fixed by external software. Details are available in many websites, like: 
http://tchester.org/sgm/analysis/gps/etrex_saved_track_accuracy.html
http://www.gpsmap.net/GarminHints.html
http://www.gpsinformation.org/dale/tracklog.htm
http://gen5.info/q/2009/06/03/getting-a-good-track-from-a-garmin-etrex

Setting up the app
What I’ve found is that the tracklog protocol (as opposed to mass storage mode) does not split your tracks properly. They’re all sent as segments of a single long track.

In most cases, that would make the app useless, so I added a simple heuristics to split segments in tracks. When a segment starts over 1 hour later than the previous segment ends, I simply create a new track. It’s a simple a quick strategy, which should work fine in practice (it certainly did with the data I got from you guys).

Still, that strategy is optional, and is off by default. However, it is suggested that you turn it on, by clicking “options”, scrolling down to “GPS tracklog”, and enabling the autosplit.

Connecting the unit
Please understand that the Garmin handhelds are not full-fledged ANT+ devices. They can read from ANT+ accessories, and can exchange some data with similar units over ANT+ using a Garmin proprietary protocol, but they cannot exchange data with a computer over ANT+. In fact, they are not sold with an ANT+ dongle like (for instance) the Forerunner 310/910, and there is no Garmin software even on Windows that can communicate with the handhelds over ANT+. Since your Android device is playing the role of your computer here, you'll have to follow the same rules, and use a USB connection. 

[For those of you who wants to know more: ANT+ is a complex protocol with many profiles. Some profiles are standard. Some are not. The unit-to-unit profile / protocol used by the handheld models is not standard, it's one of the many Garmin secrets. It can be reverse engineered, of course. I did that, for instance, for the Forerunner 405/410. But it takes time and energy, and at this stage, my apps simply don't have the kind of ROI to justify the investment. With significant more support (read: purchases, but also spreading the word etc) from users, things may change.]
Picture
You will probably need an OTG adapter like this to convert your micro-usb port into a type-A female host port. 

Note that it MUST be an OTG adapter: it's not just about changing size. An OTG adapter has a wire inside telling the Android device to switch the port into host mode. Of course, your android device must also be USB-friendly, and that's up to the manufacturer.

In some cases, you'll have to provide external power. Please read Step 2 on this other tutorial to learn how to supply power. 

Current limits
At this time, the track summary you see in the main screen won’t show total duration and distance, and therefore not even average pace and speed.  The eTrex, GPSMap etc don’t send the distance over the tracklog protocol, so I have to calculate that based on all the GPS coordinates, using the WG84 ellipsoid, accounting for any spurious sample, etc.

In Sportablet, I do that when you open the track (so you get the right statistics and charts), but that requires some CPU time and memory. Currently, I'm not doing so during download; I first need to check that it won't interfere with USB timings on low-end tablets / phones.

Still, the app can transfer your tracks to Garmin Connect anyway. It actually makes all the units above compatible with Garmin Connect, even not supported by Garmin like the eTrex Legend® HCx, the GPSMap60CSX, and the eTrex Vista C. Not bad for a little app :-)
47 Comments

    About me

    I'm a decent runner, ex mountain biker, and a good swimmer. I created Sportablet to squeeze a little more fun out of my Forerunner.

    In my everyday life,  I design software-intensive systems at different scales, using a number of paradigms, languages and technologies. ​

    Archives

    May 2021
    January 2021
    November 2019
    September 2019
    March 2019
    May 2018
    September 2017
    May 2017
    March 2017
    February 2017
    September 2016
    July 2016
    March 2016
    May 2015
    March 2015
    February 2015
    November 2014
    September 2014
    August 2014
    July 2014
    April 2014
    March 2014
    February 2014
    November 2013
    September 2013
    August 2013
    July 2013
    June 2013
    May 2013
    April 2013
    March 2013
    February 2013
    January 2013
    December 2012
    November 2012
    September 2012
    August 2012
    July 2012
    June 2012
    May 2012
    April 2012
    March 2012

    Categories

    All
    Announce
    Beta
    New Features
    Supported Devices

    RSS Feed

Powered by Create your own unique website with customizable templates.