Giter VIP home page Giter VIP logo

Comments (7)

sskaug avatar sskaug commented on July 30, 2024

Not quite sure I understand all your questions. But BLHeli should be able to run the inrunner motor that you linked. As to details on arming and signals, I think the documentation should provide most answers. BLHeli is not very well suited for cars, though, as it does not support hall sensors, and therefore you will not have much torque when starting.

from blheli.

Luisonson avatar Luisonson commented on July 30, 2024

Hello,

Sorry for my English, is not my first language and I explain myself poorly.
Here (#45), you speaks about the dead-band. I'm asking if the dead-band can be configurable by interface and put it to 0 (no dead-band).

  • The esc for cars, usually have several brake intensities, the blheli brake how is regarding those brakes?? Can be configured stronger ones??
  • Speaking about... If I set the esc to work in 3D mode, and I send for example a 1750 pulse (forward 50% aprox), and then a 1250 pulse (backward 50%)... how would react the esc?? Reading the code, I think that just try to stop the motor, and then with the motor stopped it puts the signals to move it in the other direction... I'm right?
  • When will this feature (#55) available?
  • How many bits did BLheli use for detect a signal? (the resolution/precision of the esc).

I will buy the motor and the esc, also, I have a 1024 encoder, so I will be able to see the signal I send and the exact motor speed ^_^

I will inform you.

Thank you for your time.

from blheli.

sskaug avatar sskaug commented on July 30, 2024

Deadband can be set to zero by modifying the code.
BLHeli does not have braking as such, but damped light will brake the motor. Currently one braking force, but earlier revisions had a choice of force.
When reversing direction, the motor is first braked (heavily) to a halt, then started in the opposite direction.
Feature #55 will be in the next rev, release date still not known.
Signal detection in BLHeli is generally 500ns resolution.

from blheli.

Luisonson avatar Luisonson commented on July 30, 2024

Thanks a lot for your answers! ^_^

  • I can see in the code that RCP_MAX is defined at 255... so, blheli works with 255 steps, BUT, if it's not working in governor mode, blheli multiply the signal by 1.0625, using then just 240 steps... I don't know why :/
  • I suppose that the deadband code is just:
    ldi XL, 10 ; Subtract deadband
    It's a petty is not modifiable by software, because are 10 steps less in precision... so finally just 230 steps... and in 3D mode only 115 for each side.
  • Seems that blheli captures the pulse with the timer1... this timer is a 16bit-timer, it is impossible to increase the resolution?

Don't hesitate to point me the obvious, because for me it's really hard to follow asm code.

from blheli.

sskaug avatar sskaug commented on July 30, 2024
  • The x1.0625 is there just to make sure full throttle is always reached on 0-100% pwm input signals, even if there are slight differences in clock speed.
  • Yes, that's the deadband.
  • If resolution is to be increased, timer clock will have to be increased. The timers are used for various purposes, and differently in Atmel and SiLabs :).

from blheli.

Luisonson avatar Luisonson commented on July 30, 2024

As i bought the sn10a, i'm interesting only in the atmel's side.
When I receive everything (seems in several weeks, even some months :_( ), then I will ask you again :) .

Thanks again for your work ^_^

from blheli.

sskaug avatar sskaug commented on July 30, 2024

Closing for now

from blheli.

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.