PC and ESP32 wired communication

Nazdu_
Posts: 1
Joined: Mon May 30, 2022 5:51 pm

PC and ESP32 wired communication

Postby Nazdu_ » Mon May 30, 2022 6:00 pm

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.

ESP_Sprite
Posts: 9730
Joined: Thu Nov 26, 2015 4:08 am

Re: PC and ESP32 wired communication

Postby ESP_Sprite » Tue May 31, 2022 1:45 am

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.

Who is online

Users browsing this forum: No registered users and 44 guests