Login required to started new threads

Login required to post replies

Prev Next
Bike CdaCrr Android app (now part of an aero system)
Quote | Reply
Hi all,

I have been playing with virtual elevation method for several years now (many thanks to Robert for this and all other guys who provided advices here on ST) and as recent threads pointed out, field testing ask us a lot of time. In order to reduce the time to collect data and analyse it, I recently wrote an Android app to monitor CdA and Crr on an ANT+ enabled phone and it needs an ANT+ powermeter (and an additional ANT+ speed sensor for crank PM). The main features are:

-Compute CdA on laps if mean velocity is high enough (given a Crr estimation)
-Compute Crr on laps if mean velocity is low enough (given a Cda estimation)
-Air density is calculated automatically with weather station data and the app try to use device sensor as much as possible (pressure, temperature if any)
-Data is recorded in 2 different CSV files which is possible to get for post analysis and comparison (for example via Aerolab in GoldenCheetah)

Edit: The app is today a part of an aero system as a anemometer may be connected: see https://forum.slowtwitch.com/...ost=6926334#p6926334
Edit (2021/12): Ant+ protocol is not necessary anymore for phone or sensors. BLE sensors are supported so any Android phone will run the app

I am testing now an other mode (segment mode) where CdA is computed on the fly with a limited precision (2 digits only) during a ride. Every 1.5 km (@35 kmh), a number is printed on the screen of the device. Of course it is a virtual CdA number cause it depends of wind and drafting, but it is very interesting to see the influence of drafting for example in a group ride...

Thanks, if you get a try with the app (it has been tested with PowerTap and Power2max for the moment and several ANT+ Sony or Samsung phones) and I am interested by any new feature request.

Link on Google play: https://play.google.com/...etails?id=com.cdacrr





Blog | Twitter| Bike CdaCrr app
Last edited by: bugno: Dec 29, 21 5:16
Quote Reply
Re: Bike CdaCrr Android app [bugno] [ In reply to ]
Quote | Reply
iPhone App?
Quote Reply
Re: Bike CdaCrr Android app [ccassidy] [ In reply to ]
Quote | Reply
Windows app?

BoulderCyclingCoach.com
Quote Reply
Re: Bike CdaCrr Android app [ccassidy] [ In reply to ]
Quote | Reply
Android dev newbie here (as you can see, the app UI is minimalist) so no Windows/iOS plan for the moment, sorry.

Blog | Twitter| Bike CdaCrr app
Last edited by: bugno: Mar 6, 16 9:03
Quote Reply
Re: Bike CdaCrr Android app [bugno] [ In reply to ]
Quote | Reply
I don't have an Android phone so I can't run it but that's a nice idea. Good luck with it.
Quote Reply
Re: Bike CdaCrr Android app [bugno] [ In reply to ]
Quote | Reply
Very cool! My wife has an Ant+ Android, but I'm probably SOL on taking that on rides.

Is there a dongle or something that can be used for non-Ant Androids?
Quote Reply
Re: Bike CdaCrr Android app [rruff] [ In reply to ]
Quote | Reply
The best advices about trying to use a non ANT+ phone can be found on the site of a very popular Android app (IpBike) also using ANT+:
http://www.iforpowell.com/cms/index.php?page=ipbike
http://www.iforpowell.com/...p?page=usb-ant-stick

So yes, there is USB ANT stick or there is also a an ANT+ enabler application for several phones (Nexus ones, some HTC or LG G2):
https://play.google.com/store/apps/details?id=com.z2software.antplus


I didn't test any of these two solutions. I just tried on a Motorola 4G, the Tacx dongle : https://www.tacx.com/...ant-dongle-micro-usb
and it was unsuccessful :-(


Update: the Tacx dongle works on the Motorola 4G (just missing the ANT USB Service on the phone): https://www.thisisant.com/...tory/ant-usb-service

Blog | Twitter| Bike CdaCrr app
Last edited by: bugno: Feb 1, 17 5:40
Quote Reply
Re: Bike CdaCrr Android app [bugno] [ In reply to ]
Quote | Reply
Downloaded it today. I will give some feedback as I use it.
Quote Reply
Re: Bike CdaCrr Android app [bugno] [ In reply to ]
Quote | Reply
Very nice. I'll try it out.
Quote Reply
Re: Bike CdaCrr Android app [trail] [ In reply to ]
Quote | Reply
Thanks guys. If you have all the requirements (ANT+ phone & powermeter), you will see it works well. Field testing is not easier (wind and cars are still the enemy), but it is very cool to see immediatly the numbers instead of going back home after the sessions, switch on the computer, download the data, run your spreadsheet or Aerolab, find weather data on Internet, and compute at least. And there is a lot of new features currently waiting to improve the process...

Blog | Twitter| Bike CdaCrr app
Quote Reply
Re: Bike CdaCrr Android app [bugno] [ In reply to ]
Quote | Reply
Yeah, I have velodrome access, so I'm going to try it there. I was going to do this myself and call the app "Beermantis" But glad you did it.
Quote Reply
Re: Bike CdaCrr Android app [trail] [ In reply to ]
Quote | Reply
Yes velodrome. If you have a look at the line "Device/ANT+ sensors", you will see the roll angle of the device. Not used yet in the model (basically the virtual elevation method). But for a velodrome, it could be refined by implementing also the centripetal force thanks to the roll angle given by the phone sensors.

Blog | Twitter| Bike CdaCrr app
Quote Reply
Re: Bike CdaCrr Android app [bugno] [ In reply to ]
Quote | Reply
I loaded the app and checked the roll angle here in office on some known agles and that works well, but I am not sure where it is getting its weather data as it says it is 2.9C when it is much closer to 20C today

edit: oops, I see it says paris france, while rest of numbers could have applied to where I am :)
Last edited by: jeffp: Mar 7, 16 12:47
Quote Reply
Re: Bike CdaCrr Android app [bugno] [ In reply to ]
Quote | Reply
Congratulations. Looking good. I'll have to see if I can get an android phone with Ant+.

Developing aero, fit and other fun stuff at Red is Faster
Quote Reply
Re: Bike CdaCrr Android app [bugno] [ In reply to ]
Quote | Reply
I would really like to try this but I have an iPhone (on AT&T). I know nothing about Android phones. Does anybody know if I can buy a cheap unlocked android phone on eBay and make this work??? I see some cheap ones like Samsung Galaxy S3 III SCH-I535 -16GB- VERIZON UNLOCKED - Android Smartphone
Would this work? Do I have to have internet service? Since it is unlocked, can I stick my AT&T simm card in it?
Quote Reply
Re: Bike CdaCrr Android app [ccassidy] [ In reply to ]
Quote | Reply
S3s aren't on the list. https://www.thisisant.com/directory/filter/~/60/~/~/

The S4 is one of the cheaper phones that is. Plenty for less than $100 on ebay that look serviceable. I may upgrade my 6 year old phone for this...
Quote Reply
Re: Bike CdaCrr Android app [rruff] [ In reply to ]
Quote | Reply
jeffp wrote:
I loaded the app and checked the roll angle here in office on some known agles and that works well, but I am not sure where it is getting its weather data as it says it is 2.9C when it is much closer to 20C today

edit: oops, I see it says paris france, while rest of numbers could have applied to where I am :)

You can change the location in the settings (as other infos like weight, tire circumference, CdA/Crr estimations,...). Default location Paris is in reference to the (first ?) ride shared by Robert several years ago showing the interest of VE method :-)

SkippyKitten wrote:
Congratulations. Looking good. I'll have to see if I can get an android phone with Ant+.

Thanks SkippyKitten, I follow your blog with interest and learnt a lot of things. An app receiving the wind information (by bluetooth?) from your Arduino card and merging with the ANT+ signal (speed, power) from the powermeter will be of main interest.

Blog | Twitter| Bike CdaCrr app
Quote Reply
Re: Bike CdaCrr Android app [rruff] [ In reply to ]
Quote | Reply
rruff wrote:
S3s aren't on the list. https://www.thisisant.com/directory/filter/~/60/~/~/

The S4 is one of the cheaper phones that is. Plenty for less than $100 on ebay that look serviceable. I may upgrade my 6 year old phone for this...

Yes, Samsung S4 contains 3 sensors (temperature, pressure, humidity) and thus air density is perfectly described with this phone. But, with no sensors and weather meteo data it is fine also.

ccassidy wrote:
I would really like to try this but I have an iPhone (on AT&T). I know nothing about Android phones. Does anybody know if I can buy a cheap unlocked android phone on eBay and make this work??? I see some cheap ones like Samsung Galaxy S3 III SCH-I535 -16GB- VERIZON UNLOCKED - Android Smartphone
Would this work? Do I have to have internet service? Since it is unlocked, can I stick my AT&T simm card in it?

Indeed, S3 is not in the list, but can be used with an ANT stick, see: http://www.selfloops.com/...ces/tech-guides.html

Another cheaper option is the Sony Ericsson Xperia Active (2012). Small screen but robust, it has ANT+ support and includes a barometer which is useful for the automatic segment mode of the CdaCrr app. You will need to upgrade to Android 4.0 Ice Scream Sandwich, though.

Network is not mandatory for the app, it is useful to get weather data automatically and to upload the CSV files (results) by mail for instance to your laptop. But, you can specify manually weather data in the app settings and cable connect the phone to your PC to get the files directly after. Oh, and the voice record feature (to remember for instance the reason why a lap should be discarded, eg: a car drafted you) will not be available (Speech Recognizer needs network).

Blog | Twitter| Bike CdaCrr app
Quote Reply
Re: Bike CdaCrr Android app [bugno] [ In reply to ]
Quote | Reply
I have an S5 and am pretty excited to try this out. Strong work.
Quote Reply
Re: Bike CdaCrr Android app [bugno] [ In reply to ]
Quote | Reply
bugno wrote:

Indeed, S3 is not in the list, but can be used with an ANT stick, see: http://www.selfloops.com/...ces/tech-guides.html

Thanks for the link, I did not know about this. I have an extra ANT+ stick I've been hoarding onto (have 3, use 2) and this seems like the perfect opportunity to use it. I'm going to find that cable to buy and then find some time to get this up and running. Definitely excited to try this out. Thanks!
Quote Reply
Re: Bike CdaCrr Android app [bugno] [ In reply to ]
Quote | Reply
this requires a speed sensor, correct?
does it adjust crr based on temp?
Quote Reply
Re: Bike CdaCrr Android app [jeffp] [ In reply to ]
Quote | Reply
jeffp wrote:
this requires a speed sensor, correct?
does it adjust crr based on temp?


Yes, you need ANT+ speed, sorry I forgot to mention it. Included in the PowerTap but for crank PM, you need
an ANT+ sensor for speed. It is not using GPS information for the moment, to save battery.

I will add the Tom Anhalt rule of thumb indeed (1.4% per °C if I remember correctly), to correct Crr settings for CdA run, and for a Crr run, compute the raw Crr and the adjusted value at 20°. Thanks for the idea !

Blog | Twitter| Bike CdaCrr app
Last edited by: bugno: Mar 8, 16 7:04
Quote Reply
Re: Bike CdaCrr Android app [bugno] [ In reply to ]
Quote | Reply
now just get the on the fly reading to 3 decimal places :) accuracy be damned
Quote Reply
Re: Bike CdaCrr Android app [bugno] [ In reply to ]
Quote | Reply
This looks awesome, looking forward to giving it a try.
Quote Reply
Re: Bike CdaCrr Android app [bugno] [ In reply to ]
Quote | Reply
what are the suggestions for ant+ speed sensors these days? garmin hub sensor not accurate enough?
Quote Reply

Prev Next