You are here

Add SPI encoder reading (in addition of the hall sensor)

2 posts / 0 new
Last post
Mounir
Offline
Last seen: 1 week 1 day ago
VESC Free
Joined: 2022-10-10 14:26
Posts: 1
Add SPI encoder reading (in addition of the hall sensor)

Hi, 

I am looking to add an encoder to a Maytech 200A ESC, and i want to know if it's possible ? im thinking of using pin RX and TX as a software spi to do my readings, is this the right way to do it ? 

Thanks in advence 

 

frank
Offline
Last seen: 1 hour 25 min ago
VESC BronzeVESC GoldVESC OriginalVESC Silver
Joined: 2016-12-27 20:19
Posts: 826

You can add a RMB29 SIN-COS encoder on COMM. Or add a AS5047P to the sensor port. That might not work on those controllers though, as we had customers using third party controllers and the AS5047 was not supported on those. Only Hall sensors worked on the sensor port.