ESP32 and AS5600 contactless potentiometer

Hi All,

I need help with coding (C++) an ESP32 to read an AS5600 and display the angle between 0 and 180 degrees.
The motor shaft only rotated through 180 Deg at 1 R.P.M
I do not require very accurate position, if it’s within a degree that would be superb, it is only to display the shaft position.
I have installed the AS5600 library and the Wire.h
library. I would want to use I2c to communicate with the AS5600
Not being a programmer, I am a bit stumped, my collaborator on this project is away for several months and I need to get cracking with this.
Any help greatly appreciated.

1 Like

Hi @Skywatcher ,

It seems that not many of our members have experience with this topic, since no one replied.

I am not sure if I can be helpful, but which IDE for programming are you using?

On which development board do you have this ESP32 chip?

Do you already has I2C library for that ESP32 or you would need to implement it on your own?

I see a lot of tutorials and projects online for AS5600, and most of them are for Arduino.

In the end, maybe you can pay someone on Upwork to do this for you?