You are on page 1of 4

4/13/2017 Arduino Leonardo · Issue #85 · thotro/arduino-dw1000 · GitHub

Features Business Explore Pricing This repository Search Sign in or Sign up

thotro / arduino-dw1000 Watch 75 Star 171 Fork 102

Code Issues 109 Pull requests 1 Projects 0 Wiki Pulse Graphs

Arduino Leonardo #85 New issue

Open pascalbros opened this issue on Jun 1, 2016 · 13 comments

pascalbros commented on Jun 1, 2016 Contributor Assignees

No one assigned
Hi guys,
I managed to read the ID from an Arduino Due, but i don't know why i cannot read it from an Arduino Labels
Leonardo.
None yet

I followed the same connection of the testbed:


https://github.com/thotro/arduino-dw1000/blob/master/adapterBoard/AdapterBoardTestBed.png Projects

None yet
But the answer is the following:
DW1000 initialized ...
Committed configuration ... Milestone
Device ID: DECA - model: 255, version: 15, revision: 15 No milestone
Unique ID: FF:FF:FF:FF:FF:FF:FF:FF
Network ID & Device Address: PAN: FFFF, Short Address: FFFF
4 participants
Device mode: Data rate: 6800 kb/s, PRF: 16 MHz, Preamble: 128 symbols (code #4), Channel: #5

I tried also the ICSP port (i don't know if it's correct) following the same schema of the Arduino Due:
#58 (comment)

But the result doesn't change, it shows the 00:00:00:00:00:00:00:00 id and everything to 0.

Thank you in advance.

Rotzbua commented on Jun 1, 2016 Contributor

Maybe the reason: Leonardo has operating voltage 5V, dwm1000 has 3.3V.

pascalbros commented on Jun 1, 2016 Contributor

Mmh but the Leonardo has the 3.3v pinout.

Rotzbua commented on Jun 1, 2016 • edited Contributor

Yes, the orginal leonardo only for supply, but not I/O-pins.

pascalbros commented on Jun 1, 2016 Contributor

I see, good point man.


I'm not an expert, so how can I use the DWM1000 with Leonardo?

Rotzbua commented on Jun 1, 2016 Contributor

https://github.com/thotro/arduino-dw1000/issues/85 1/4
4/13/2017 Arduino Leonardo · Issue #85 · thotro/arduino-dw1000 · GitHub
You need a level shifter, see https://github.com/thotro/arduino-dw1000/wiki/Hardware .

pascalbros commented on Jun 1, 2016 Contributor

Thanks.
I know i'm going OT but anyway:
I have also this one https://www.arduino.cc/en/Main/ArduinoBoardNano
Should I use a level shifter? Ty.

Rotzbua commented on Jun 2, 2016 Contributor

Operating Voltage (logic level) 5 V yes, you should use a level shifter.

pascalbros closed this on Jun 3, 2016

pascalbros reopened this on Jun 6, 2016

pascalbros commented on Jun 6, 2016 Contributor

I open this issue again because my configuration is not working with Leonardo.
I'm sorry for the mess, but anyway I was trying to figure out how to connect the level shifter.
I should connect 5 wires, but I have the 4 channel level shifter, so this means I need 2 level shifters, right?
I cannot find the 4 channels level shifter in Fritzing, so I used a similar one, anyway this is the one i'm using:
http://www.amazon.com/Converter-Bi-Directional-Compatible-Atomic-Market/dp/B00TMILEWY

https://github.com/thotro/arduino-dw1000/issues/85 2/4
4/13/2017 Arduino Leonardo · Issue #85 · thotro/arduino-dw1000 · GitHub
And this is the configuration, the IRQ is connected with a pulldown resistance of 12k ohm.

I leave here the project file, feel free to download it and edit it if there's something wrong in my
configuration:
AdapterBoardTestBed-Leonardo.fzz.zip

Thanks, bye.

wholder commented on Jun 6, 2016

Move the Interrupt signal to pin 3 on the Arduino Leonardo.

Wayne

On Jun 5, 2016, at 10:08 AM, Pasquale Ambrosini notifications@github.com wrote:

I open this issue again because my configuration is not working with Leonardo.
I'm sorry for the mess, but anyway I was trying to figure out how to connect the level shifter.
I should connect 5 wires, but I have the 4 channel level shifter, so this means I need 2 level shifters,
right?
I cannot find the 4 channels level shifter in Fritzing, so I used a similar one, anyway this is the one i'm
using:
http://www.amazon.com/Converter-Bi-Directional-Compatible-Atomic-Market/dp/B00TMILEWY

https://github.com/thotro/arduino-dw1000/issues/85 3/4
4/13/2017 Arduino Leonardo · Issue #85 · thotro/arduino-dw1000 · GitHub
And this is the configuration, the IRQ is connected with a pulldown resistance of 12k ohm.

I leave here the project file, feel free to download it and edit it if there's something wrong in my
configuration:
AdapterBoardTestBed-Leonardo.fzz.zip

Thanks, bye.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

pascalbros commented on Jun 6, 2016 Contributor

Ok, i'll try.


What about the rest? Thanks.

az-z commented on Oct 11, 2016 Contributor

@pascalbros have you ever solved the problem?

pascalbros commented on Oct 12, 2016 • edited Contributor

Unfortunately no, just surrendered and bought some Arduino Pro Mini 3.3v

az-z commented on Oct 12, 2016 Contributor

Pasquale ,
I noticed that you do not shift the irq line (pin2). Is this by design?
In my setup (mini pro 5v), if I don't shift the irq - there are long delays
(few seconds) between sent messages. If I do shift - they are pretty much
are "flying" out on the screen.
Either way I can't receive a single one on another sensor..

On Oct 11, 2016 12:42 PM, "Pasquale Ambrosini" notifications@github.com


wrote:

Unfortunately not, just surrendered and bought some Arduino Pro Mini 3.3v


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#85 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AExz3TJDY-
MHbO5R7mUOriX3hM6166SQks5qy7xZgaJpZM4IrZKG
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

© 2017 GitHub, Inc. Terms Privacy Security Status Help Contact GitHub API Training Shop Blog About

https://github.com/thotro/arduino-dw1000/issues/85 4/4

You might also like