simplefoc / Arduino-FOC

Arduino FOC for BLDC and Stepper motors - Arduino Based Field Oriented Control Algorithm Library
https://docs.simplefoc.com
MIT License
1.95k stars 511 forks source link

[FEATURE] TLE5012B MagneticSensorSPI #282

Closed huigang39 closed 9 months ago

huigang39 commented 1 year ago

Is your feature request related to this issue? Please describe. How to add support for new sensors?

Describe your desired solution I don't know how to add TLE5012B MagneticSensor.

runger1101001 commented 1 year ago

We have a driver for this sensor for STM32 MCUs here: https://github.com/simplefoc/Arduino-FOC-drivers/tree/master/src/encoders/tle5012b

It is part of the SimpleFOCDrivers library, which is a seperate library from the main one.

There are also some instructions for using it with other MCU types.

runger1101001 commented 9 months ago

If it's ok, I'm going to close this issue now. If you have more questions about using the TLE5012B with SimpleFOC, please use our forums at community.simplefoc.com