Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

ANT+ conversion assistance

Rank

Total Posts: 1

Joined 2023-06-20

PM

Hello, I'm new to ANT+ development so I just wanted to present an overview of my project / approach, and hopefully the more experienced folks here can help tell me if I'm on the right track or have any other approaches I should consider.

End goal:
Multiple (around 5) ANT+ heartbeat sensors to be simultaneously streamed into 1 central server, where the ANT+ signal is converted into a format to be processed into real-time visualizations by installation software TouchDesigner. (which can easily consume OSC, UDP, or MIDI protocols)

Current status:
I have one ANT-compatible heartbeat sensor by COOSPO https://www.amazon.com/gp/product/B07R8741CN/ref=ppx_yo_dt_b_asin_title_o05_s00?ie=UTF8&psc=1
I also have 2 USB-ANT sticks by the same company
https://www.amazon.com/gp/product/B07CB4328P/ref=ppx_yo_dt_b_asin_title_o03_s00?ie=UTF8&psc=1

I was able to connect the sensor to my computer within SimulANT+ using a "Heart Rate Display" Device Profile (I think it works, it seems to match my heart rate while wearing the sensor although the repeated use of the word "simulator" within the UI makes me doubt myself a bit)

Potential solution 1:
Setup a python script within SimulANT+ (importing a library like https://pypi.org/project/python-osc/) to convert the sensor signals into OSC to the broadcast to a local port.

Potential solution 2:
use a python library like this one https://github.com/Tigge/openant to create a data stream with InfluxDB which I can then use a similar conversion to OSC (without using SimulANT+)

Conclusion
With the context that the solution needs to be able to scale to multiple sensors simultaneously, do one of these solutions sound more feasible / preferable than the other? Is there another simpler solution I may be overlooking?

Any help appreciated!      
Rank

Total Posts: 1

Joined 2024-02-01

PM

tiwonku - 22 June 2023 10:07 AM
Hello, I'm new to ANT+ development so I just wanted to present an overview of my project / approach, and hopefully the more experienced folks here can help tell me if I'm on the right track or have any other approaches I should consider.

End goal:
Multiple (around 5) ANT+ heartbeat sensors to be simultaneously streamed into 1 central server, where the ANT+ signal is converted into a format to be processed into real-time visualizations by installation software TouchDesigner. (which can easily consume OSC, UDP, or MIDI protocols)

Current status:
I have one ANT-compatible heartbeat sensor by COOSPO https://www.amazon.com/gp/product/B07R8741CN/ref=ppx_yo_dt_b_asin_title_o05_s00?ie=UTF8&psc=1 uno online
I also have 2 USB-ANT sticks by the same company
https://www.amazon.com/gp/product/B07CB4328P/ref=ppx_yo_dt_b_asin_title_o03_s00?ie=UTF8&psc=1

I was able to connect the sensor to my computer within SimulANT+ using a "Heart Rate Display" Device Profile (I think it works, it seems to match my heart rate while wearing the sensor although the repeated use of the word "simulator" within the UI makes me doubt myself a bit)

Potential solution 1:
Setup a python script within SimulANT+ (importing a library like https://pypi.org/project/python-osc/) to convert the sensor signals into OSC to the broadcast to a local port.

Potential solution 2:
use a python library like this one https://github.com/Tigge/openant to create a data stream with InfluxDB which I can then use a similar conversion to OSC (without using SimulANT+)

Conclusion
With the context that the solution needs to be able to scale to multiple sensors simultaneously, do one of these solutions sound more feasible / preferable than the other? Is there another simpler solution I may be overlooking?

Any help appreciated!

Thanks for th info      
Rank

Total Posts: 6

Joined 2023-04-17

PM

SimulAnt+ is just for testing purposes, it doesn't sound right to use it on your software.

You should implement an Ant+ connector and you will eventually be able to open a maximum of 8 channels for your sensors.

HeartRate is probably the simplest sensor to set up. I haven't tried with python but in ANT-SDK_PC.3.5 there is a simple Ant+ Heart rate monitor sample.

In a nutshell, you will receive data frames representing the instantaneous heart rate data of your devices, that you can send wherever you want. Ant+ will run on its own thread.      
Rank

Total Posts: 2

Joined 2024-03-28

PM

Do you still need help?      
Rank

Total Posts: 2

Joined 2024-06-19

PM

As a student with a packed schedule, I found "do my coursework for me" service https://essayhub.com/do-my-coursework to be incredibly helpful. The platform connects you with expert writers who handle coursework with precision and attention to detail. Whether it's tackling complex assignments or managing multiple deadlines, this service ensures high-quality work that's tailored to your specific needs.      
Rank

Total Posts: 16

Joined 2024-05-20

PM

The discussion on file format conversion and data handling is very informative! If you work with images and need to convert PNG files to PDF for better document management, I highly recommend checking out https://pdfguru.com/blog/how-to-convert-png-to-pdf which, I have personally used many times. It contains clear instructions and tips on how to convert images effectively.