










fechter wrote:Just don't make it so the throttle sticks on.![]()
I guess that's a worry, but I haven't had any problems like that.
The PWM throttle input is usually fail safe in the event the processor locks up or something.
It might be a thought to have some kind of safety feature to detect broken throttle wires. With a typical hall throttle, if the ground wire breaks, the signal will go a bit higher than it would for full throttle. This could be sensed and used to shut down the output. Same goes for a short between the 5v and the signal line.
Not all hall throttles have the same output characteristics, so some amount of programmability may be needed to compensate. Something like hold a button and run the throttle from zero to full and back to calibrate would be cool.
setup_wdt(WDT_2304MS); /*In this case you have 2,3 seconds to reset the timer */
while (TRUE) /*start an infinite loop inside main()*/
{
do something smart here but not to long
reset_wdt(); /*you must reset WDT every so often while awake*/
}




Users browsing this forum: No registered users and 1 guest