Using an ESP32 in the motor workaround?

I happen to have a bunch of esp32-c3 boards lying around and was wondering whether they would work to control the stage motors (which have not yet arrived).

I’m able to modify the code as needed but have very little eletronic experience so I’m wondering whether the 3.3 esp will be an issues in this case or whether the driver chip can work with it.

Hi @vespasian, I think it possibly depends on the actual driver boards. They are usually specified as TTL, a good 3.3v drive should be over the high threshold.
The Sangaboard firmware will obviously need adjustment. @filip.ayazi has put a version in platformio, which should make it easier to port to different microcontrollers.

Sounds promising. :slight_smile:

Thank you. Such an awesome project

I tested a version with ESP32 when developing the firmware and can confirm it works (at least with the drivers I was using). You might need to edit some wiring definitions in src/boards.h and possibly the specific board and some other config platform.ini (I used a wrover board and had debug enabled which is what is still there) but it should be fairly simple.

Note that while compiling for ESP32 is checked in CI, I don’t regularly test or use ESP32 versions of the board so no guarantees, there might well be some bugs.