Comments (6)
Hi @jrstubbington,
We have used a very similar breakout board, so probably ok. The pinout is equal to ours, with a 10k pull-down resistor though.
Did you try other examples like StandardRTLSTag_TWR.ino
and StandardRTLSAnchorMain_TWR.ino
?
Use the latest code in Master branch.
from arduino-dw1000-ng.
Hello @jrstubbington, aside from @Sonic0 suggestion, perhaps there's also another possibility in the ESP handling of interrupt?
I've tried to do some quick search and found that quite a few people have had trouble with "ISR not in IRAM" issue.
For example: https://forum.arduino.cc/t/using-interrupts-with-a-node-mcu/591995/4
from arduino-dw1000-ng.
Did you ever get this working? I had similar issues with rcv and send working but ranging did not
from arduino-dw1000-ng.
I was getting error in my program when i didn't use ICACHE_RAM-ATTR for interrupts.
As the line:
DW1000Ng::initialize(PIN_SS, PIN_IRQ, PIN_RST);
uses the function
attachInterrupt(digitalPinToInterrupt(_irq), interruptServiceRoutine, RISING);
The function interruptServiceRoutine is called which needs to be in the RAM and not in FLASH and has to be manually defined by the user as per new update. So when you update the function declaration as
void ICACHE_RAM_ATTR interruptServiceRoutine()
in the file DW1000Ng.cpp
the error is resolved
from arduino-dw1000-ng.
Hey @Sonic0 I have been trying to understand this library, coding is not my strong pursuit. The examples with interrupts are not working for me (I am using noeMCU1.0 and DWM1000). The other examples for anchors and tag is working as it doesn't incorporate interrupts. I wanted to know if you have any draft API for this library as that should make it a lot easier to implement programs. I want to calculate distances between modules with accuracy. Thank you
from arduino-dw1000-ng.
Hi @Yashvardhan001109,
I know, examples with interrupts don't work well. You can use the DW1000Ng::initializeNoInterrupt(<PIN_SS>)
method without problems with NodeMCU1.0.
I think that programs implementation with DW1000 without minimum know-how isn't a simple goal to reach out to. In this library, there are all methods you need to create medium complex programs and DW1000NgRTLS abstraction (or single methods used) could be a good starting point. Probably, now (after 2 years) I would need a little time to understand what we did.
With the right setup and antenna calibration, you can obtain good accuracy of about 2/3 centimeters.
from arduino-dw1000-ng.
Related Issues (20)
- analogRead() for ADC1 conflict HOT 4
- Esp32 Wroom board HOT 2
- Arduino Uno with DWS1000 v0.3 library anchor-tag problem HOT 2
- Anyone ported the library to vscode for use with ESP-IDF platform? HOT 2
- Increase NLOS range of DWM1000 HOT 8
- what about compatible with dwm3000 ? HOT 1
- Is it possible to setup the system with 4 active modules as anchor and 1 tag? HOT 3
- DW1000 shield for Arduino Nano (Nucleo-32) HOT 2
- Connecting Arduino Pro Mini with PC HOT 4
- Problems with BasicReceiver and BasicSender HOT 1
- No connection: Compatible with Board DWS1000 (Arduino Uno)? HOT 4
- Two-way ranging HOT 2
- multiable tags on one device ? HOT 2
- RTLS examples not working HOT 1
- Initiate & Respond to Range Requests
- two way ranging didnt works HOT 1
- Distance measurement between several TAGs and several ANCHORs HOT 1
- Get relative range between two tags
- Connecting time between tag and anchor
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arduino-dw1000-ng.