You are here

What is the recommended way to implement a new encoder in the VESC firmware?

3 posts / 0 new
Last post
toma
Offline
Last seen: 7 months 1 day ago
Joined: 2019-06-09 21:19
Posts: 7
What is the recommended way to implement a new encoder in the VESC firmware?

I am looking to implement a new absolute encoder via the hardware SPI interface.

For encoder details see: https://www.rls.si/eng/orbis-true-absolute-rotary-encoder

What is the recommended way to implement that:

  1. Add to the  "encoder.c" and "encoder.h" code
  2. Add the code in a separate file included/referenced in the "encoder.c" and "encoder.h" files
  3. Create a custom application

Thanks,

Toma

miniwb
Offline
Last seen: 1 year 8 months ago
VESC Original
Joined: 2017-05-24 12:42
Posts: 1

Did you ever figure this out? Looking into the AM4096 chip series (specifically the RMB20) and I'll have to figure this out too, albeit a different implementation. 

6ytep37
Offline
Last seen: 1 month 2 weeks ago
VESC Free
Joined: 2022-12-26 15:34
Posts: 1
Hello. Please tell me how to select or register AS5134 in the sensor selection menu. Thanks.

hi world