I m trying to activate a mini drone motor, I m using a MDBT42Q and a double H bridge motor controler.
the double H bridge i m using information are here : https://media.distrelec.com/Web/Downloads/_t/ds/Adafruit_DRV8833_eng_tds.pdf
D29.write(true); //turn on the sleep pin which is disabled by default
D30 and D31 are going to be used for motor B
I changed the program after the comment of gordon but it still isn't working
If you have some tips that would be nice
Hi! Thanks for trying without Pin.mode and for posting the motor driver datasheet.
That all looks good...
Just to check you're sure the GND connection is definitely common between the driver and the MDBT42Q board?I guess the grey wire going to VMotor should do it at least as far as I can tell from the circuit diagram, but it might be worth checking with a meter just in case?
You could also try checking the 'FLT/fault' wire's output when it's running in case anything shows there, and maybe check the voltage on the outputs? It might be it's all working but there's an issue with the motor or wires after all that.
okay thx i ll get back to you after trying
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