Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any update plans for esp32S3 or esp32C3? #1820

Open
winster-bai opened this issue Aug 21, 2024 · 6 comments
Open

Any update plans for esp32S3 or esp32C3? #1820

winster-bai opened this issue Aug 21, 2024 · 6 comments

Comments

@winster-bai
Copy link

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
Copy link

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. hippo5329/micro_ros_arduino_examples_platformio@d9215ca

@hippo5329
Copy link

hippo5329 commented Aug 21, 2024

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.

@nik1806
Copy link

nik1806 commented Oct 16, 2024

A very simple solution is suggested here - https://www.youtube.com/watch?v=0R8VUPEkYhg.

Basically, renaming directory esp32 to esp32s3 in directory - ~/Arduino/libraries/micro_ros_arduino/src/.

1 similar comment
@nik1806
Copy link

nik1806 commented Oct 16, 2024

A very simple solution is suggested here - https://www.youtube.com/watch?v=0R8VUPEkYhg.

Basically, renaming directory esp32 to esp32s3 in directory - ~/Arduino/libraries/micro_ros_arduino/src/.

@hippo5329
Copy link

hippo5329 commented Oct 16, 2024

Actually, the old esp32 gets more pwm and pcnt than the new variants. It may be critical to robotics.

Esp32 : 16 pwm, 8 pcnt
Esp32s3 : 8 pwm, 4 pcnt
Esp32c3: 6 pwm, 0 pcnt

It is much easier and more powerful to use platformio and vscode than Arduino IDE.

@hippo5329
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants