View Single Post
Old 03-22-2012, 02:08 PM   #5613 (permalink)
MPaulHolmes
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,362
Thanked 1,202 Times in 765 Posts
I tested the latest pile of crap that's soon to blow up. hahaha. The max-current variable is working very well. I set it to 50, and at max throttle it was actually 44.1amp (OK, so I was a bit off. stop picking on me. I'm going to punch you right in the head.)

It's just one line of code to change the calibration from current sensor ticks to amps, so I'll tweak that so it will be 50 amps when max current is 50 amps! dang it.

Also, I got the minimum current ramp rate slowed down, so that now, the slowest ramp rate to go from 0 to max-current is 8 seconds. At 1000 amps, that's like 125 amps per second. At 50 amp max current, it will feel a hair sluggish. lol.

The biggest that max-current can be set to is 9999 real life amps. hahaha. It's my way of rebelling against the "oh, don't climb that tree, you might sue me if you are injured".

__________________
kits and boards
  Reply With Quote