Giter Club home page Giter Club logo

Comments (9)

thotro avatar thotro commented on July 16, 2024

Tested for all modes except 64 MHz, but should be fine too. Still, will be tested in the next couple of days.

from arduino-dw1000.

leosayous21 avatar leosayous21 commented on July 16, 2024

Hi ! Before wiring my arduino Nano which is working with 5v logic, i would like to be sure that i don't risk anything with 5v ? Did you try or just used 3.3V with arduino mini ?
Thanks !

Edit: on the datasheet of the dw1000 they say 3.6V is max rating for GPIO0..8 Did you use a converter when using them with your arduino nano ?

from arduino-dw1000.

thotro avatar thotro commented on July 16, 2024

Hi! Yes, you should definitely NOT use 5V input, it will most likely destroy the IC. I have Mini Pro's that already take 3.3V and for other boards I use voltage regulators.

Just had a quick look at an image of the top layer of the Nano board: What about using the pin right next to digital pin "D13"? It seems to say "3V3", which would mean 3.3V (output?) to me.

Hope it helps!

from arduino-dw1000.

leosayous21 avatar leosayous21 commented on July 16, 2024

Hi ! thanks for your reply!
yes there is a 3.3V output for tiny supplying but as the atmega on the arduino nano is supplied with a 5v voltage, the logic I/O of the board is 5v-0v ... i have 2 boards which are in 3.3V so i'm going to try that ! Otherwise there is still the possibility to use a standalone atmega ^^
Cheers !
Léopold

from arduino-dw1000.

thotro avatar thotro commented on July 16, 2024

... oh, sure - I forgot about the I/O part - it's already late! ;-)

from arduino-dw1000.

leosayous21 avatar leosayous21 commented on July 16, 2024

Hi ! I made them work thanks to your code !
I had really hard time to make all of this work... I used standalone atmega in 8Mhz internal clock (i just have 16Mhz quartz and you can't use them for 3.3V).
I didn't have a really good accuracy (something like +-30/30cm). Do you think the internal clock of the atmega can have an impact on it ? (internal clock is not accurate, it's around 8Mhz ±10% !) It seems that the duration of one iteration of the microcontroller does not affect the calcul of the ranging (travel time).
Also, my chip heated. I saw there is a thermometer inside the chip. Do we need to use it in order to correct the ranging or does the module correct it by itself ?
Thanks a lot !
Léopold

EDIT: also, which current do you have in transmitting mode ? I'm about 200mA.. it seems a lot and the voltage regulator can't support and then the voltage drops to ≈ 2.7v

from arduino-dw1000.

thotro avatar thotro commented on July 16, 2024

Hi! Great that it works!

I guess that the accuracy doesn't depend on you uC clock; the module has a crystal osc. on board and the uC only reads the IC-side timestamps. So delays or other inaccuracies won't matter, I believe.

Yes, there is a temperature sensor inside and another yes: one can use it to adjust timestamp results. Unfortunately I have not implemented the adjustment yet, because from the datasheet it seemed to me that this is not so important. But who knows, maybe it is and I should simply do it :-)

Your 200mA are really high, I have to measure it too. Will come back to you on this!

Cheers!

from arduino-dw1000.

leosayous21 avatar leosayous21 commented on July 16, 2024

Thanks ! It's interesting to think that it can work in internal clock. I thought after that my question was stupid because an order of magnitude for Mhz drift would imply 1000m drift ^^ (and not centimeters...).
The datasheet indicates a 170mA max for RX mode and with a 40mA for the standalone atmega the result seems plausible.

Did you supply the module with your arduino pro mini (max current 150mA) ? I used to supply it with a arduino uno but the max output current for 3.3v is 50mA ! :O (that's why i have 2.7v and the chip which randomly restart... I will try with an external 3.3v regulator !)
Cheers :-)

from arduino-dw1000.

thotro avatar thotro commented on July 16, 2024

Hi! You're right, the 200mA are plausible. Maybe I should implement a setting that after an TX/RX the IC can be put to sleep for a specific time span. This would allow to save energy while still one can follow a certain timed protocol (like "I sent something and expect a response as early as in XY ms, so I can safely take a nap for about XY ms"). What do you think?

I use an external power supply; the IC works fine in this setup.

Cheers!

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.