Makerfabs / Makerfabs-ESP32-UWB-DW3000

77 stars 22 forks source link

Multiple Anchors #3

Open SimonSchirber opened 1 year ago

SimonSchirber commented 1 year ago

Is there a demo that has an initiator pining multiple responders/anchors? Also what is the best way to tune this, I tried changing the delay constants but it seems to have non-linear error signifying you cant just tune it with a constant change in the delays.

petex8989 commented 1 year ago

Were you able to figure out how to use multiple anchors?

LowellSeal commented 1 year ago

Simon, did you ever get anything working for TWR with multiple anchors?

petex8989 commented 1 year ago

I was able to find a way to connect multiple anchors, you can check it out in my project on GitHub https://github.com/petex8989/Indoor_Positioning_DW3000

SimonSchirber commented 1 year ago

Example Project: https://simonschirber.github.io/UWBWebsite/report Code Repo: https://github.com/SimonSchirber/Ultra-Wide-Band-M202/tree/main/Main

See Anchor 1, Anchor 2, and initiator. Pretty much you just set new addresses on every anchor you add and set the initiator to look out for it. I also added a smoothing filter averaging every 10 samples a second because readings from one anchor from reading to reading seemed to change drastically with no movement

kyuhyong commented 1 year ago

Hi @SimonSchirber. Thanks for your post. I tried to upload the code you posted but could not get it to work. Can you explain a little bit about the setup? I'm also trying to set 2 anchors stationary on a platform and 1 tag is moving and detect the location of the tag on a stationary platform. Is this setup possible?