Comments (12)
Scratch that. It WAS a wiring issue and the code works perfectly, thank you once again for your work.
from arduino-dw1000.
Could you please be more specific about the wiring issue, i am having similar problems. Any help will be greatly appreciated.
from arduino-dw1000.
Sure. I had incorrectly wired DWM1000 pin 22 (IRQ) to the arduino I/O pin 8. The schematic clearly shows that this should be connected to I/O pin 2 for the interrupt. I am not using the adapter board so had messed up my pin outs. I hope your issue is as easy to fix.
from arduino-dw1000.
Has anyone else had this issue despite having the wiring correct? I and a friend double checked our wiring but we are still only getting
device address: 82:17:.......
"### ANCHOR ####"
and no other data or ranges. We are also unable to get any of the basicSender and basicReceiver code to send and receive messages. We are using two Pro Mini's 3.3V and the breakout board.
from arduino-dw1000.
I have the same setup, same problem.
from arduino-dw1000.
It sounds like the modules are either not getting power, or are asleep. Check the following:
- Does the module get warm after being powered for a few minutes? If not, it is not getting power.
- Check your external interrupt (Arduino Pin 2 -> Adapter Board Pin 17 -> Module Pin 22).
It does not sound like an communication (SPI) issue as you should see more on your serial monitor.
from arduino-dw1000.
I have double checked and I made sure that my modules are drawing power (about 125 mA a piece) and that the interrupt wires are connected correctly. Has anyone had trouble with the two modules not being able to communicate between one another? I know my SPI connection is working because the Basic Connectivity script is working.
Also, is anyone else having trouble with the serial prints sometimes getting corrupted?
from arduino-dw1000.
Hi ! Can you check if the frameFiltering is desactivated ?
line 1093 of the DW1000.cpp. must be setFrameFilter(false); if you want to communicate without adding mac address in front of your message...
(But the DW1000Ranging.cpp do this for you)
regards
EDIT:
if you are using DW1000Ranging.cpp -> you have to activate the setFrameFilter
from arduino-dw1000.
Hi. I had the problem @zach401 is commenting, in my case i am using arduino 1. I did not check if it was due to the maximum current that can be drawn. Actually, I am not sure if arduino 1 mini pro provides more current than arduino 1 (that sounds odd to me).
In the data sheet of arduino 1 you can read that the maximum current is 50 mA. https://www.arduino.cc/en/Main/ArduinoBoardUno
That can be a problem when powering the decawave chip. However, I also read that tha maximum current from the 3.3 V output is 150 mA, which should be enough:
http://electronics.stackexchange.com/questions/67092/how-much-current-can-i-draw-from-the-arduinos-pins
Can someone give a confirmation on this?
You can read about what we discussed here: #6
When the problem happened, I plugged off and then on the arduino power. But still I didnt figure out where the problem is.
PS: I have to test it with the last version of the libraries.
Cheers!!
from arduino-dw1000.
We just got our setup working. It must have been a wiring issue, because once we unplugged everything and reset it up, everything worked well. We also made the change that leosayous21 suggested, but it did not work until we rewired.
We are at a university, so we are powering the DWM1000 from a 3.3 V power supply instead of from the arduino's regulator. In our test each DWM1000 was drawing about 150 mA, which when combined with he current draw of the arduino itself might be too much for the onboard regulator (or at least near its limits). If you have access to another power supply or an external regulator that might help.
from arduino-dw1000.
Ok, @zach401 . It seems then there may be issues with the 3.3 V output powering the DW1000. The conclusion is that it might be possible that the 3.3 V maximum current from some arduinos is not enough.
Cheers!
from arduino-dw1000.
Hi! Please tell me what we do wrong? @NewStart14 @zach401 @leosayous21
We connect decawave dw1000 to arduino Uno by SPI connection, upload this sketch
DW1000Ranging_TAG
https://github.com/thotro/arduino-dw1000/blob/master/examples/DW1000Ranging_TAG/DW1000Ranging_TAG.ino
But when we open arduino monitor, we see nothing, as if Decawave receive nothing... And on the Decawave led "ERROR INIT FAIL".
What we miss, where our mistake? Help please. Thank u.
from arduino-dw1000.
Related Issues (20)
- DW1000 shield for Arduino Nano (Nucleo-32)
- Would it be possible to let the DW1000 module be TAG and ANCHOR at the same time?
- DWM1000 NodeMCU Esp8266 3 anchors and 1 Tag HOT 3
- Problems with BasicReceiver and BasicSender
- No connection: Compatible with Board DWS1000 (Arduino Uno)?
- Hello Sir : Could you support DWM3000 library?? Thank you.
- multi anchor or tag on 1 arduino ? can be done if os how ?
- Missing return
- Why is the "checkForReset" method so necessary for Anchor?
- Why choosing DEFAULT_REPLY_DELAY_TIME: 7000us?. Can/how i change it?
- Can you halp me? How to connect and program Adapter board max2001/dwm1000? (Arduino nano)
- Arduino Pro mini & DWM1000 HOT 3
- DW1000 Soft-Reset Issue
- Connecting time between tag and anchor HOT 1
- Possible error within the tune function regarding transmit power.
- TDoA implementation for DWM1000 HOT 1
- Apparent internal limitation of four anchors? HOT 1
- Schematic Review: Custom PCB for DW1000.
- Adding more tags to the system HOT 8
- Single Sided Two Way Ranging - Constant distance offset
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.