Giter Club home page Giter Club logo

Comments (12)

NewStart14 avatar NewStart14 commented on September 18, 2024

Scratch that. It WAS a wiring issue and the code works perfectly, thank you once again for your work.

from arduino-dw1000.

jesp007 avatar jesp007 commented on September 18, 2024

Could you please be more specific about the wiring issue, i am having similar problems. Any help will be greatly appreciated.

from arduino-dw1000.

NewStart14 avatar NewStart14 commented on September 18, 2024

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.

zach401 avatar zach401 commented on September 18, 2024

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.

jesp007 avatar jesp007 commented on September 18, 2024

I have the same setup, same problem.

from arduino-dw1000.

NewStart14 avatar NewStart14 commented on September 18, 2024

It sounds like the modules are either not getting power, or are asleep. Check the following:

  1. Does the module get warm after being powered for a few minutes? If not, it is not getting power.
  2. 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.

zach401 avatar zach401 commented on September 18, 2024

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.

leosayous21 avatar leosayous21 commented on September 18, 2024

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.

MarioRuz avatar MarioRuz commented on September 18, 2024

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.

zach401 avatar zach401 commented on September 18, 2024

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.

MarioRuz avatar MarioRuz commented on September 18, 2024

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.

Maxai2 avatar Maxai2 commented on September 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.