ESP32-C6 in the Cloud?

Right now I'm using an ESP32-S3 for a Cloud project, but I need to switch to ESP32-C6. But the online IDE doesn't recognise it. Arduino IDE supports it, but not the online thing. What shoudl I do?

Either stick with the S3 or switch the project to the C6, but not in the cloud.

Ok, I have to do both. I need the cloud to calibrate 32 servos. But when it's done, I won't use the cloud anymore. I have a PCB for the final thing and it is designed for the C6. I guess I have to do messy connections with jumper wires while calibrating.

Copilot explained it like this:

Here’s a breakdown of the situation:

  • Arduino Cloud relies on the "esp32" boards platform to support ESP32-based microcontrollers.

  • Support for ESP32-C6 was only added in version 3.0.0 of the "esp32" platform

  • However, Arduino Cloud is still using version 2.0.5 of that platform, which does not include support for ESP32-C6.

Somewhere I read that the benefit of using the cloud IDE is that it always has the latest library versions. Well, it could also have the latest libraries for the boards.

Hi @Johan_Ha.

Except perhaps in certain rare hypothetical situations where there is some technical challenge that must be overcome, you will find that the latest versions of the official Arduino boards platforms are installed in Arduino Cloud. However, as you noticed the installation of the 3rd party "esp32" boards platform is significantly outdated. The same also applies to the "esp8266" boards platform, though that is less commonly used these days and thus not so impactful.

Fortunately in the case where the platform installations on Arduino Cloud don't meet the requirements for our project (either by being too old, or in some cases possibly by being too new) we always have the option of using a local installation of the free open source Arduino IDE which offers full control over the specific version of the boards platforms that are installed.

I haven't tested combining a cloud project with writing the code in desktop IDE. I still need the cloud for a dashboard interface. Can I just do everything in the cloud, writing for any cloud compatible board, then when compiling I just copy the code over to the desktop IDE and compile it for the ESP32-C6?

Yes, you can do that. As you say, the Arduino Cloud Dashboard feature is indispensable, and it is also most convenient to set up Devices and Things via the Arduino Cloud website. However, when it comes to writing, compiling, and uploading the sketches, Arduino IDE is equivalent to Arduino Cloud Editor. So you are free to use whichever one you prefer, or use both interchangeably if that is most convenient.

You can do that, or you can even use Arduino IDE's Cloud sketchbook integration feature to access the sketches you have stored in your Arduino Cloud account, and to save changes you make in Arduino IDE back to your Arduino Cloud account:

https://docs.arduino.cc/software/ide-v2/tutorials/ide-v2-cloud-sketch-sync/

1 Like