Page 1 of 1

PC and ESP32 wired communication

Posted: Mon May 30, 2022 6:00 pm
by Nazdu_
Hi everyone.

I am working on a project that involves an ESP-WROOM-32 controlling 2 stepper motors. Information regarding motor kinematics should be passed to the esp32 from a PC through serial. As it is my first time developing for embedded platforms, what would be the best protocol for accurate, reliable and low latency communication? where can i find documentation for it?

I was thinking about UART through USB, does my SoC have a converter for it? where can i find usage examples?

I'm sorry for the amount of questions, but i am feeling a bit overwhelmed by all this.

Thank you in advance.

Re: PC and ESP32 wired communication

Posted: Tue May 31, 2022 1:45 am
by ESP_Sprite
UART over USB probably is the simplest, indeed. ESP32 chips are most commonly programmed in the same way, so if your devboard has an USB connector and you can program the ESP32 over it, your devboard per definition comes with an USB-to-serial solution.