Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

You are here: Forum Home → ANT+ Forums → ANT+ Fitness Equipment → Thread

   

Sending UserWeight to SmartTrainer (page 55)

Rank

Total Posts: 7

Joined 2019-10-15

PM

having some issues on sending user weight to the trainer to better support slope simulation.
Currently my implementation works and I can send a slope value to the gradient successfully. However, I am currently just using the default values for user weight (75kg) and bike weight(10kg) I think from the specs.

since there is a. relation ship between user weight and the apparent feel of the slope, I'm looking to be able to change the user weight.

I am using page 55 to send the data, but I'm unsure if the trainer I'm using doesn't support or I'm sending it wrongly. This is what I'm doing currently. (I tried sending 20kg and 400kg but doesn't seem like there's a diff in the feel / amount of power needed to climb the hill)

I also tried to send the underweight * 0.01 (per the specs) but this doesn't work as well.


Note: I tried writing the code into the question, but somehow the code triggers a "security protection" from cloud flare. So I'm attaching a picture instead.      

Image Attachments

Screenshot_2021-01-23_at_10.48.18_PM.png

Click thumbnail to see full-size image

RankRankRankRank

Total Posts: 370

Joined 2012-06-27

PM

To confirm that your configuration is being sent correctly I recommend connecting your controller to a device simulated by SimulANT+.

You have confirmed that your trainer reports support for simulation mode in page 54 (0x36)?

Have you confirmed that the command has been received by the trainer by getting an ACK in response? Requesting page 55 (0x37)?

Your controller is sending pabe 50 (0x32) and 51 (0x33) to the trainer as well?      

Signature

Ian Haigh

Rank

Total Posts: 7

Joined 2019-10-15

PM

In the end, I used SimulANT+ as the display device and used it to control/set the trainer and with this, I verified that the trainer is indeed receiving the data and generating an ACK response (4 actually).

It was thru using simulANT+ that I figured out that what I was sending to the trainer was wrong. 50kg = 5000 (I was sending 50).

My controller is actually a bluetooth based phone as I'm writing a training app supporting sending over ANT+FEC signals via BLE. after sending the new data 5000 (vs 50) from my bluetooth app, I then used simulant+ to verify and it is indeed being acknowledged.

thanks.

I am sending Page 51 (Track Resistance) and page 49 (target power) and these works. Not using Page 50 (wind resistance) as of yet.