Due to high demand expect some shipping delays at this time, orders may not ship for 3-4 business days. On MLK Day no orders will be shipped.
0

Receiving ANT data with Adafruit nRF52840 Feather express
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Receiving ANT data with Adafruit nRF52840 Feather express

by zawa on Tue Dec 07, 2021 11:52 pm

Nice to meet you. I'm trying to see if I can use [nrf52840 feather express] to receive ANT data.
Specifically, I selected [nrf52840 feather express] as a device to send ANT data from a smartwatch made by Garmin and receive the data.
We used ArduinoIDE to develop the software, and have already installed the ANT library. Currently, I am able to write to the board via USB, but I am unable to receive the data no matter which sample program I run.
I have confirmed that I can receive BLE data. Is there anything I need to do in [nrf52840 feather express] to receive ANT data?

zawa
 
Posts: 3
Joined: Tue Dec 07, 2021 11:50 pm

Re: Receiving ANT data with Adafruit nRF52840 Feather expres

by sj_remington on Wed Dec 08, 2021 12:29 pm

I am unable to receive the data no matter which sample program I run.

This doesn't tell us anything useful.
Why do you expect a sample program to work with a Garmin watch?
When you ran each program, what did you expect to happen, and what happened instead?

sj_remington
 
Posts: 227
Joined: Mon Jul 27, 2020 4:51 pm

Re: Receiving ANT data with Adafruit nRF52840 Feather expres

by mikeysklar on Thu Dec 09, 2021 5:20 pm

@zawa,

We do not provide any ANT example code for the nRF52840. A good resource to checkout is the thisisant site.

https://www.thisisant.com/developer/components/nrf52832

mikeysklar
 
Posts: 6515
Joined: Mon Aug 01, 2016 8:10 pm

Re: Receiving ANT data with Adafruit nRF52840 Feather expres

by jevada on Thu Dec 09, 2021 5:26 pm

ANT and BLE are different beasts. BLE is supported by adafruit, ANT is not.

Anyway, there are ways to get ANT / ANT+ working on top of the adafruit library, A repo is here: https://github.com/orrmany/SDAntplus. You'ld need to get the S340 softdevice from Garmin first though, which I have found to be hurdle.

Anyway, there's also a blog on the 'net out there that talks about using ANT in host on the nRF52 using the adafruit framework. Check out http://orrmany.hu/wiki/doku.php?id=ardu ... er_express

jevada
 
Posts: 180
Joined: Fri Dec 15, 2017 5:29 am

Re: Receiving ANT data with Adafruit nRF52840 Feather expres

by zawa on Thu Dec 09, 2021 11:19 pm

sj_remington wrote:
I am unable to receive the data no matter which sample program I run.

This doesn't tell us anything useful.
Why do you expect a sample program to work with a Garmin watch?
When you ran each program, what did you expect to happen, and what happened instead?


The Garmin watch is the sender of the ANT data, so I write a sample program for receiving ANT data in [nRF52840 Feather Express] using ArduinoIDE, and check the reception of the ANT data sent by the watch on the serial monitor.

zawa
 
Posts: 3
Joined: Tue Dec 07, 2021 11:50 pm

Re: Receiving ANT data with Adafruit nRF52840 Feather expres

by zawa on Thu Dec 09, 2021 11:24 pm

jevada wrote:ANT and BLE are different beasts. BLE is supported by adafruit, ANT is not.

Anyway, there are ways to get ANT / ANT+ working on top of the adafruit library, A repo is here: https://github.com/orrmany/SDAntplus. You'ld need to get the S340 softdevice from Garmin first though, which I have found to be hurdle.

Anyway, there's also a blog on the 'net out there that talks about using ANT in host on the nRF52 using the adafruit framework. Check out http://orrmany.hu/wiki/doku.php?id=ardu ... er_express


Thanks for the great information.
I've already checked out the blog you posted and the S340 is already on my board.
I'll try it out with the help of this repository. Thanks!

zawa
 
Posts: 3
Joined: Tue Dec 07, 2021 11:50 pm

Please be positive and constructive with your questions and comments.