chip has a low-power co-processor that can be used instead of the CPU to save power while performing tasks that do not require much computing power, such as monitoring of peripherals. ESP32-S2 integrates a rich set of peripherals, ranging from SPI, I²S, UART, I²C, LED PWM, LCD, Camera interface, ADC, DAC, touch sensor, See full list on randomnerdtutorials.com So if minimum is pressed we get 0 in the ESP32. If maximum is pressed we get 4095 on the ESP32. None pressed we get around 2047. Now positioning is calculated from reading the hall sensors state. Lower resolution than the pot, but I think it's enough. For 6 actuators we need two ESP32 boards. They are connected the same way.