Burgerman wrote:https://www.youtube.com/watch?v=Fg0pN9ahZWo
John Dingley sent me this. He builds DIY segways, and lots of other balancing machines. The vid is not him!
He says he can send me a box that plugs in between the RC receiver and the roboteq that allows the same thing. Should be fun!

I also replaced all the electronics. Version 1's electronics were chosen for maximum convenience. Version 2's electronics are designed for performance. I replaced the dual-channel RoboteQ motor controller with two OSMC controllers. While the RoboteQ is fine for many applications, its use of a 9600 baud serial link for control added too much delay to the feedback loop for good performance. The OSMC controllers take a PWM signal directly from the microcontroller. I also get more precision in the PWM control: 9 bits instead of 7.

I've been away from home the last couple weeks (in Montana - Glacier Natl Park, Bozeman, Yellowstone) so haven't chimed in. Just a couple quick comments though.
FOR i = 0 AndWhile (i <= (Damping -1))
SumThrottle = SumThrottle + ThrottleStack[JSRead]
SumSteering = SumSteering + SteeringStack[JSRead]
NEXT
FOR i = 0 AndWhile (i <= (Damping -1))
SumThrottle = SumThrottle + ThrottleStack[i]
SumSteering = SumSteering + SteeringStack[i]
NEXT
Return to Everything Powerchair
Users browsing this forum: acid_coke, emilevirus, jehan and 590 guests