Arduino-FOC-drivers icon indicating copy to clipboard operation
Arduino-FOC-drivers copied to clipboard

MT6835 Arduino Example Code

Open GvnniL opened this issue 2 years ago • 5 comments

I have followed the procedure mentioned in the MT6835 README (and modify the nCS to Arduino pin 10, SimpleFOCDebug::print to Serial.print) but the output whether angle or speed stays around 0 or 12861 when I tried to rotate the motor shaft with a magnet.

A: 0.06
A: 0.07
A: 0.00
A: 12861.62
A: 12861.61
A: 0.04
A: 0.04
A: 12861.59
A: 12861.66
A: 0.03
A: 0.01
A: 0.07
A: 0.06
A: 12861.61
A: 12861.61
A: 12861.61

GvnniL avatar Nov 01 '23 19:11 GvnniL