micro-ROS / micro_ros_arduino

micro-ROS library for Arduino
Apache License 2.0
435 stars 112 forks source link

Any update plans for esp32S3 or esp32C3? #1820

Open winster-bai opened 3 weeks ago

winster-bai commented 3 weeks ago

Hi, Is there any update plan for esp32S3 or esp32C3? These two chips are relatively excellent in the development of robots and smart devices, but the current micro ros does not seem to support them.

hippo5329 commented 3 weeks ago

If you switch to micro-ros-platformio arduino framework, the esp32s3 and esp32c3 support can added easily.

Follow my wiki, https://github.com/hippo5329/micro_ros_arduino_examples_platformio/wiki

The commit to add esp32s3 and esp32c3 support. https://github.com/hippo5329/micro_ros_arduino_examples_platformio/commit/d9215cad4de1e802923529c0083848d27886af4f

hippo5329 commented 3 weeks ago

However, the essential hardware for robots, pulse counter and PWM channels, are reduced or removed on these variants.

Pulse counters are used for wheel encoder. PWM channels are used for motor control.

esp32: 8 pulse counters, 16 PWM esp32s3: 4 pulse counters, 8 PWM esp32c3: no pulse counter, 6 PWM

So esp32c3 is not suitable for mobile robot control. esp32s3 is limited by its peripherals. esp32 is still the best overall.