Social distancing example Range Setup

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
4 posts / 0 new
Last post
rohitkr.5293
Offline
Last seen:6 months 3 weeks ago
加入:2020-06-15 10:57
Social distancing example Range Setup

Hi Dialog support,

With your social distancing example i am able to get an danger alert when device is 1.2m apart each other. It is giving accuracy only for 1.2 m.

Which parameter i need to configure to acheive configurable range between two devices like 2m or 3m?

Thanks

Device:
PM_Dialog
Offline
Last seen:1 day 20 hours ago
Staff
加入:2018-02-08 11:03
Hi rohitkr.5293,

Hi rohitkr.5293,

Thanks for your question. I assume that you are use our DA1469x device, so I’ll change the initial device selection (DA14580).

You can change the danger alert threasholds in the distance_sw_fsm.c file. That file holds all the available configurations. Please check the DFLT_DANGER_ZONE_DISTANCE_LIMIT, DFLT_DANGER_ZONE_RSSI and NUM_OF_DANGER_ALERT_BEEPS macros.

Before using the STD example, please checkout the Manufacturing considerations :

http://lpccs-docs.dialog-semiconductor.com/wira_social_distancing_tag_example/manufacturing.html

Thanks, PM_Dialog

rohitkr.5293
Offline
Last seen:6 months 3 weeks ago
加入:2020-06-15 10:57
Hi PM_Dialog,

Hi PM_Dialog,

Thanks for your reply.

After modifying range it to 2m, there is still no accuracy. How we can get accuracy after changing it to 1.2m to 2 or 3m?

Also how we can calculate the Distance Offset trimming for our custom PCB layout?

Thanks,

Rohit

PM_Dialog
Offline
Last seen:1 day 20 hours ago
Staff
加入:2018-02-08 11:03
Hi rohitkr.5293,

Hi rohitkr.5293,

Please take a look at a previous forum post and see my comment:

https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-hardware-device-reference-designs/da14695-4

Thanks, PM_Dialog