Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

ANT+ FEC

Rank

Total Posts: 2

Joined 2023-09-18

PM

I would like to know about the ANT+ and Fitness equipment control (FEC) of bike trainers. Can anyone guide me on how can I read data via the built-in ANT+ sensors in the trainer directly into a Unity environment, possibly by a C# or Python code?      
Rank

Total Posts: 17

Joined 2022-04-10

PM

I created some NuGet packages and an open source project on Github that may be useful.
NuGet - search for "smallearthtech".
Github link - https://github.com/StephenHidem/AntPlus.
     
Rank

Total Posts: 2

Joined 2023-08-14

PM

bloxd io
Sarah3977 - 19 September 2023 06:22 AM
I would like to know about the ANT+ and Fitness equipment control (FEC) of bike trainers. Can anyone guide me on how can I read data via the built-in ANT+ sensors in the trainer directly into a Unity environment, possibly by a C# or Python code?

To read data from the ANT+ sensors in the trainer directly into a Unity environment, you will need an ANT+ USB stick to connect to your computer and an ANT+ library for Unity. There are some assets in the Unity Asset Store that claim to support ANT+ communication, such as Advanced ANT+, but I have not tested them personally. Another option is to use an older version of Unity that is only 32 bit, such as 5.6.7, and use the Windows ANT+ library from the downloads page.      
Rank

Total Posts: 5

Joined 2023-10-26

PM

Sarah3977 - 19 September 2023 06:22 AM
I would like to know about the ANT+ and Fitness equipment control (FEC) of bike trainers. Can anyone guide me on how can I read data via the built-in ANT+ sensors in the trainer directly into a Unity environment, possibly by a C# or Python code? foodle

Although I have not personally tested them, several components in the Unity Asset Store, including Advanced ANT+, make the claim that they support ANT+ communication. Using the Windows ANT+ library from the downloads page and an earlier, 32-bit version of Unity, like 5.6.7, provides an additional alternative.      
Rank

Total Posts: 2

Joined 2024-08-28

PM

To read ANT+ data from a bike trainer into Unity, integrate the ANT+ SDK with Unity and use ANT+ profiles such as the Fitness Equipment Control (FEC). Connect an ANT+ USB stick to communicate with the trainer, then retrieve metrics by programming in C# to capture and process data streams in Unity.


avatar world      
Rank

Total Posts: 17

Joined 2022-04-10

PM

Hi Andy,

I've got NuGet packages and GitHub open source code along with examples and docs. The VS2022 solution example also provides a 32-bit Windows service that works with ANT USB sticks and 64-bit clients can connect to it via HTTPS on the local machine or network subnet. There's a help section in the docs that outlines integration with Unity but I am putting out an update shortly.

And FE-C bike trainers are fully supported along with other devices. It's also extensible so you can add an ANT device I don't support.

Links -
NuGet - search for "smallearthtech". There are 4 packages.
GitHub source code - https://github.com/StephenHidem/AntPlus
Docs on GitHub - https://stephenhidem.github.io/AntPlus/html/5e5a5e1c-a0e6-4ef0-a8f5-12f9394450c4.htm