VALLES Analog datafield for edges

https://apps.garmin.com/en-US/apps/b388aca6-91a8-4453-a35a-daf6437f170c#0

Code on Git

(I changed the name from "Valles MTB hybrid", because now I practice also road and gravel with my friends, so now it is just called "Valles Analog")

This is the evolution of my life on a bicycle and with garmin. I started monitoring my HR and bike speed on a vivoactive HR, and later upgraded to the Vivoactive 3, then I got an Edge 1000, a vivoactive 4, and now I got the fenix 7 solar and the edge 1040 solar.  When you are with your Mountain Bike on the trails you need to have most of your attention to the road, and unfortunately with the small screen of the watch  it was difficult to read all the variables from your ride like Speed, Cadence, HR, HR zones, etc. Looking into the available Datafields I loved the Analog implementation from Stanislav for the vivoactive but unfortunatelly it did not include the heartrate zones. So I decided to learn how to make my own Datafield. I believe that showing the numbers with an analog dashboard like those of an automobile, will let me understand the speed faster than when reading a number. So Implemented it for 

  1. Speed 
  2. Cadence 
  3. Heart Rate Zones
  4. Power Zones
  5. Wind heading and speed
  6. compass

Hearth Rate zones are normally used for training, and they have a standard color, so I added the background of the speed to change of color depending of the Hearth Rate Zone I am.  The color zones are as follow:

  1. Zone 1- Gray: 50%-59% of Maximum HR: Warm-Up/Cool Down & Active Recovery.
  2. Zone 2- Blue:60%-69% of Max HR:Endurance or long time effort maintained. Also it is believed that training on this zone you are using mainly your FAT as energy
  3. Zone 3- Green:70%-79% of Max HR: Aerobic zone where you don-t put so much stress of the muscle and can be maintained for long rides.
  4. Zone 4 - Yellow: 80%-89% of Max HR. Anaerobic zone where you energy come more than carbs than fat, muscle are fatigued around 1 hour after depleting your carbs reserves.
  5. Zone 5 - Red: 90%-100% of MHR. Maximum effort, it can be sustained for a very short period round 30 seconds to 3 minutes. 

With a very quick view of the screen you can see on what HR zone you are on that moment when you memorize the colors.

Later when I could purchase the EDGE 1000 and saw the big screen can let you put more information in there. I also noticed that the same concept for the watches applies to the cycling computer since your attention need to be always on the road, so a quick glance on the screen can let you know how are you performing. 

And Now with my later acquisition which is a PowerMeter, I implemented the same concept as with the Hearth Rate zones. However Power zones are defined different than those from the HR, so instead of 5 zones we have 7. Instead of Max HR the FTP number is used:

  1. Gray- Zone for warming/cool down and also recovery. <55% FTP
  2. Blue- Zone for endurance or fat burning. Long distance rides. 57%-75% FTP
  3. Green- Aerobic zone or also called Tempo zone. or, 76-90% FTP
  4. Yellow- Lactate Threshold, normally for Time trial efforts. 91-105% of FTP
  5. Orange- VO2 Max , 106-120% FTP
  6. Red - Anaerobic capacity. >= 121% of FTP
  7. Purple- Max effort 

Currently the FTP is 217 watts as default but on the "Settings" you can change it to your latest FTP. Unfortunately the power zones can not be obtained directly from your profile like the HR zones therefore it needs to be input manually.

4 years later I retook this app, but lost the keyh to update the original, so have to publish it again. This time I wanted to update it to work with the Edge 1040. At the same time I improved the look of it, fixed some bugs, and included a compass to know where I am going inside the trails, and when doing road or gravel a wind head and speed indicator. 

  The idea is to know the wind direction so that we can better position on a road cycling behind your friend who is pulling. The arrow on the left is the compass pointing to the north, and on the right is an indicator similar to those found on airport, where the sack inflates more depending of the wind speed.. but also indicates wind direction. on this example the wind is coming from North/West. 

The color of the indicator and the width of it changes accordingly to the wind speed. I used the Beaufort wind scale as a reference. 

thickness color definition   m/s
1 Blue calm   0  0.5
2 Blue light air   0.5-1.5
3 Blue light breeze   2 - 3
4 Green Gentle breeze   3.5  5
5 Green Moderate breeze   5.5  8
6 yellow Fresh breeze   8.5  10.5
7 yellow strong Breeze   11  13.5
8 orange Moderate gale   14  16.5
9 orange Fresh Gale   17  20
10 Red Strong Gale   20.5  23.5
11 Red whole gale   24  27.5
12 Red Storm   28  31.5
13 Purple Hurricane   > 32

Donations are appreciated.

paypal.me/Vallesedge

  • Now available for edge 1000, 1030, 830 and 530.

  • I don't see a place showing how to install a Datafield, so let me create this quick tutorial:

    First, lets check that you have installed on your Garmin Edge the "Valles MTB Hybrid Datafield for edges". This verification will be using your cellphone and the Garmin connect app:

    1.

    On your main screen, go and click on your Garmin Devices. (I have a vivoactive 3 watch, so I click there)

    2.

    Then you make sure your edge is fully synchronized, then click on it.

    3.

    Now Click on "Activities and setup of applications".

    4.

    Now click on "Datafields"

    5.

    There you can check that "VALLES MTB Hybrid datafield for edgeds" is on the section of "installed".

    If you have a powermeter and want to setup the power zones using your FTP follow the next 2 pictures, otherwise skip to the screens with the edge.

    6.

    When you clicked on the datafield, you can then click on "setup" and then

    7.

    Change the FTP settings.  And you are done.

    Setup of the datafield on the Garmin Edge 1000

    A.

    Go to "settings" which is on the lower left section of your main screen.

    B.

    no select "Activity Profiles"

    C.

    Select the "profile" where you want to place your Datafield. Or you can create a new one.  Here I am a going to create a new one.

    D.

    Now, go the the section "Connect IQ", on this example I had already downloaded 6 datafields on the edge so it shows 6 of 10.

    E.

    now select the "Valles MTB Hybrid"

    F.

    I place my datafield on "Screen 1", If you want to install it on another screen make sure you turn it ON... (See how I have screen 3-5 turned off)

    G.

    Screen 1 had by default 5 sections, my datafield requires the complete screen to work properly so change the number to "1".

    H.

    then click on the check mark  "√ " and then click on the screen  (The check mark on the middle of the bottom section is after you had selected the datafield to use"

    I.

    After that, go to the "Connect IQ section"... 

    J.

    You can see that for this "profile" there is 0 of 10 datafields installed. 

    K.

    Now select "Valles MTB hybrid" and it will show  up on the screen. like:

    L.

    Now you can click on the check mark "√ "  on the bottom.

    M.

    and again, if you are installing it on another screen, make sure it is "ON"...  now click on the "go back" arrow.

    N.

    and on you main screen, select the profile, on this case I am using the "test" profile, and click ride to start riding.

    O.

    Remember to click on external bottom right button to start your activity... and enjoy my Data field Slight smile

  • Thanks for those like Jim who helped me debug the code!