Trying to use espruino to drive this motor controller, I've got the battery connected, I've got the motor connected, I've connected the red to the blue for the power lock
#7 in the wire interface is the throttle I'm trying to figure out
I've tried both with and without espruino connected to the 5v and - black and red wires (I assumed the 5v was a source from the controller and the thing would connect to a passive component like a hand throttle so only needing the blue wire made sense to me but that didn't work)...
I've got the A5 DAC on the original board connected to the blue 1-4V throttle wire...
analogWrite(A5,0.5) does nothing...
sorta worried something broke on the controller because the motor started to move slowly when I connected the red to gnd on espruino (it stopped moving after I connected the black 5v to Bat)
Has anybody ever tried using espruino and one of these to program a self balancing unicycle?
That looks like an interesting controller. I did a quick image search and I found the attached, which at least backs up what you're thinking....
Have you measured the voltage between red and black? Is it really 5v?
Just to avoid confusion, I'd maybe attach a potentiometer to those three wires and see if you can make the motor controller work without Espruino first?
Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
For a full reference visit the Markdown syntax.
© Espruino, powered by microcosm.
Report a problem