1550uS - 2000uS = Forward
1000uS - 1450uS = Reverse/Brake
1450uS - 1550uS = Neutral
You might need to play with the neutral band a little, but it'll be somewhere around there.
Next you need to calibrate the ESC as per the instruction sheet, so you need manual control of the pulsewidth, probably the easiest thing to do is hook up a pot to an ADC and display the pulsewidth on a spare LCD, HD44780 or what ever's handy.
Another feature of that ESC is it's drag brake, by default it'll apply 5% brakes when in neutral.
Again you'll need manual control of the pulsewidth for setup, bump it up to 25% and it should slow the vehicle quite nicely, if you've got a lot of mass to stop you can try a higher setting.
The normal brakes tend to work in one of two ways. The most common you put the ESC into reverse, it'll apply the brakes, once the vehicle stop it'll automatically go into reverse until you go back to neutral.
The second you go into reverse and the ESC will apply brakes until the vehicle stops. Then you go back to neutral, this time when you go into reverse the ESC will actually go into reverse.
For future reference, you can get ESCs that use a programming card, instead of trying to set it up with beeps and led flashes they give you a little interface with buttons and a display, they make life a lot easier!
One more thing, an ESC designed for a crawler model would be ideal, they're a very simple forward in one direction, reverse in the other and drag brakes in the middle. No cleverness to get in the way, ideal for driving from a microcontroller.
With any luck you might be able to get something from that lot, hope it helps!
Comments
Post a Comment