Announcements

Curious on how you can apply Rador Sensors to Smart Home Appliances? Register for the ASEAN Smart Home Appliance Webinar here to find out how.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

Radar sensor Forum Discussions

viveksharmaspac
Level 1
First reply posted First question asked First like given
Level 1

Hello there,

I want to export the detected target information(the distances of the detected object) to some external microcontroller(Arduino) in order to make a standalone device.

I have already read some of the documentation in the ComLib_C_Interface documentation that is inside the distance2go folder. It seems that the range/distance data are able to be queried from the EndPointTarget detection library(EndpointTargetDetection.h) on the Target_Info_t Struct.

Is there any example of how to do data queries on the board?

  Best Regard

Vivek Sharma

0 Likes
1 Solution
AliAsgar
Moderator
Moderator 50 likes received 500 replies posted 250 replies posted
Moderator

Hi Vivek,

The Distance2GoL firmware is implementing a CommLib interface based on a USB CDC serial (Device side). To help user communicate with the Distance2GoL via CommLib USB interface, we offer the CommLib_C based Host side example the one you are referring to.

 EndpointRadarD2GL.c from the CommLib Host side can be used to get the range_m info from the Radar Device, part of the fmcw_result_cnf_t structure. You just need to port the ComLib_C_Interface C project running on PC (as a Host) to an MCU-based project and fetch the range information from the Radar device.

Best Regards,
AliAsgar

View solution in original post

2 Replies
AliAsgar
Moderator
Moderator 50 likes received 500 replies posted 250 replies posted
Moderator

Hi Vivek,

The Distance2GoL firmware is implementing a CommLib interface based on a USB CDC serial (Device side). To help user communicate with the Distance2GoL via CommLib USB interface, we offer the CommLib_C based Host side example the one you are referring to.

 EndpointRadarD2GL.c from the CommLib Host side can be used to get the range_m info from the Radar Device, part of the fmcw_result_cnf_t structure. You just need to port the ComLib_C_Interface C project running on PC (as a Host) to an MCU-based project and fetch the range information from the Radar device.

Best Regards,
AliAsgar

viveksharmaspac
Level 1
First reply posted First question asked First like given
Level 1

Thank you
Really appreciated 

0 Likes