I sent in a new one off updated control board and driver to go with the left over power board. The new control board will have the extra safety features, and the driver board is completely different 1from before. I'm very interested to see how it goes. One driver per mosfet. One optocoupler per 2 mosfets. 6 isolated supplies. 110010 (My son just typed that).
I am added a help command to the software so you can figure how to use each command, and understand it. You can also now edit a variable called "max-current", which strangely enough is the maximum current at full throttle. If you want a granny mobile, set it to 100. haha. If you want it to blow up, set it to 2000. I ain't nobody's pappy, sep'n my sons.
Also, the hardware overcurrent trip can be set from about 50 amps up to 1250 amps or so.
Also, for now overcurrent sets a fault until the pedal is lifted all the way.
I'm also making the hardware overrev protection enabled by default. I've tested it on one motor, and I'll check my new crappy motor. I'll also be checking the minimum pwm required for some amps to go through, and also the minimum current required for the mtoor to start spinning. Then I'll assume the rest of the motors in the world are the same. haha. It would be nice to get a collection of values.
I think overrev protection hasn't been used much, and part of the reason is peopje just don't know the commands, and how to use the commands, and don't know what they mean. So I also changed the command names so they are very intuitive. Also, to stop rtd-period from scrolling, now you just hit any key. Before you had to type "rtd-period 0" while it was still scrolling by, and it was really awkward.
The help feature is this:
help <command>
Then it walks you through the syntax, an example of the usage, the meaning of it, and what units the number is in that goes with the command.
I'll probably switch to an ATMega328 because they are CHEAPER! And 32 kb of program memory instead of 16. they are pin for pin identical.
Basically the same dang chip, except for more program memory and cheaper.
I ordered the parts for populating the new driver and control board (except for a couple items), but not the power section yet since I have to wait until the 25th. anger...
|