simplefoc / Arduino-FOC-drivers

Drivers and support code for SimpleFOC
https://docs.simplefoc.com/drivers_library
MIT License
146 stars 63 forks source link

MT6835 Arduino Example Code #31

Open GvnniL opened 10 months ago

GvnniL commented 10 months ago

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