![]() Considerably easier than a PIC for example. In fact, I think you can have more than 50 PWM outputs if you want. The reason to choose these over most other microcontrollers out there are: Probably the easiest way to do this is with a PSoC3 from Cypress Semicondctor. Kevin mentioned that you could also do this with a microcontroller. If you need help to get this working, just ask specific answerable questions on this forum, and we'll be happy to help. With this chip, you'll be able to plug in servos, ESC, whatever into you 16 ports. That means you'll get at more than 8-bit resolution on the 0.9ms - 2.4ms range. What's more, it actually has 16 output channels, so you can drive 16 of those ESCs! It can produce frequencies from 40Hz to 1000Hz, with a 12-bit resolution. Well fancy that, such a chip exists: PCA9685. Often you hold down a button to switch them into calibration mode, then move the joystick through a sequence of, pressing the button again after each movement.Īll you need to find is a chip which can produce such a PWM signal, at the behest of I2C commands. Explain to them which length pulses correspond to what motor power. Many ESCs allow you to calibrate them I.E. The ESC input will expect the same type of input, but will interpret the pulses to mean something about motor power, rather than angle. A pulse of 0.9ms means +90º, while a pulse of 2.4ms means -90º. ![]() The length of this pulse tells it what angle to rotate to. Firstly, a little about RC servo PWMĪn RC servo expects to see a pulse about every 20 milliseconds (50 times per second). You'll have much more luck by making an I2C -> PWM module. ![]() The way I would approach this is not to modify the ESCs at all.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |