Giter VIP home page Giter VIP logo

Comments (6)

 avatar commented on July 17, 2024

Okay so I have played around some more, and answered one of my own questions...

I did test Microstepping with values as 8, 16, 32... all the way to 256 - great, working a treat! Confims my question above: "so it looks like thats easy enough, should be 16 for 1/16th microstep, and maybe 256 for 1/256 microsteps?" to be true...

Torque is still my major question though

If I look through the datasheet I understand from

If a 0.1-Ω sense resistor is used, ISGAIN is set to 0 (gain of 5), and TORQUE is set to 255, the full-scale (100%) chopping current will be (2.75 V * 255) / (256 * 5 * 0.1 Ω) = 5.5 A

In the case of the Boost packs we have 0.05 Ω so to get 5.5A drive (Max rated) the ISGain should never be set to 5. It should be set to 10.

The Torque bit in this example is set to 255 (full scale).

This is the part of your library I can't figure out... How do I set Torque between 1 and 255?

from drv8711.

 avatar commented on July 17, 2024

I see you were still active on the Propellor forums over the weekend so I know at least you are still alive (:

I started populating your Wiki: https://github.com/MarkTillotson/DRV8711/wiki

I found stepper.power()? Is that what I was looking for?

from drv8711.

 avatar commented on July 17, 2024

stepper.power(DRV8711_FULL); and stepper.power(DRV8711_HALF); ?

from drv8711.

MarkTillotson avatar MarkTillotson commented on July 17, 2024

Sorry, v. busy ATM.

Torque: You've got the code, I can't remember, I'd just have to look at it too!

The FULL and HALF values select full and half power respectively - its all in the code.

The code is the documentation, adding a Wiki in my github without my approval means
either I have to check it for accuracy and spend time on it (that I do not have ATM), or I'll simply delete it.

from drv8711.

MarkTillotson avatar MarkTillotson commented on July 17, 2024

If you can't read code, please don't document it with guesswork, that just lowers the quality
of the information that was there already.

from drv8711.

 avatar commented on July 17, 2024

(: Thanks dude, was just trying to help as I realised by the 4 day delay you must be busy - but nevermind, will take my help elsewhere (:

Documenting your project would have made it more useful to everyone, but oh well. Just delete the Repo if thats how you roll (;

from drv8711.

Related Issues (1)

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.