How to Convert RSSI Value(dB) into Distance(m) In STM32WB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-22 3:50 AM
Hello,
In My Project I have to findout the distance between BLE Master(p2p Server) and Slave(p2p Slave) using STM32WB5MMG and i got the RSSI value using api hci_read_rssi() ,anyone help me to convert RSSI value into distance.
p2p Server TxPower +3dB and p2p Client TxPower is -0.15dbB
- Labels:
-
BLE
-
STM32CubeMX
-
STM32WB series
-
STM32WBA series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-22 3:53 AM
You can't.
RSSI is affected by so many things that the best you'll achieve in practice is just a very broad "near" or "far" guesstimate.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-22 4:36 AM
I thought ,the one of the main action of STM32WB series is tracking ble device and tracking ble device using rssi is possible ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-22 4:39 AM
Only very crudely using RSSI alone.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-22 4:44 AM
Most applications don't operate in a vacuum.
Might work within a room within LoS
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-22 5:32 AM
In My project its woking inside the room and now the difficulty is Rssi to Distance in metre.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-22 5:49 AM - edited ‎2024-04-22 6:44 AM
So try it - log RSSI against position in room.
Don't forget that "position" is in three dimensions.
Be sure to take multiple readings in each position
See how much it varies with, for example:
- the number of people in the room
- the orientations of devices
- the number of other devices in the room
EDIT:
Another thing to do would be to leave your unit in a position for an extended period, and log the RSSI - see how much it varies for a stationary unit.
