Saturday, March 05, 2011

Native ANT+ ... almost done

Update March 19th - USB1 and USB2 Garmin sticks now supported. Its now time to get that UI looking a little less 1980s and a bit more 2010 ... but with the work on configurable layouts already in the bag it shouldn't be too hard to do.

I've worked up the support for more speed, cadence and power as well as the original HR. Along the way I learned a lot more about the ANT and ANT+ protocols. It was relatively painless, well, except from wasting an hour or so debugging my speed sensor code only to find the wheel magnet had fallen off! (d'oh).

Gonna get to work on making the config a but sexier and testing on Windows and Mac, but the hard yards have been done. Big props to Mark Rages for sharing quarqd.


Oh, the reason Watts and RPM are zero above is because I jumped off the turbo to press the pause button so I could take the screenshot. You will see that cadence (blue) and power (yellow) had been registering... honest :) The speed is high because I have almost no resistance on the turbo to prevent me from working too hard as I tested. My usual guinea pigs (the kids) are now bored of Dad's turbo thing.

6 comments:

wari said...

Wow! Looks great! Will there be support for Linux? Yeah, I know the driver support is not there for the stick, but I can dream right?

Mark Liversedge said...

The screenshot in the post is from Linux. Woeks fine via /dev/ttyUSB0.

:)

wari said...

Hah! Should of known with that ugly menu fonts, LOL.. Thanks, made my day :)

Igor said...

I'm more concerned how to make it work in Windows :D Because Garmin drivers act not like virtual serial port

Mark Liversedge said...

Funny you should say that Igor.

I just yesterday posted an update to work with the GARMIN USB1 stick via the SiLabls USBXpress API and this weekend will look at libusb-win for USB2 sticks.

bas2205 said...

Just wondering, could you post a short how-to guide on setting up the basic native ANT under windows in V3? I have a Garmin USB1 stick, Garmin Speed/Cadence GSC10 and Garmin HRM. I am at a complete loss on the steps to get it going and what to enter in which field...