my esp32 can't connect to the arduino cloud, this happening yesterday. before that it's working and online. i tried to with my lolin and stil can't connect??
Hi @qornainina. I'm sorry about the problem with Arduino Cloud. Do you still experience the problem if you try it again now? I just checked with my Lolin ESP32 board and everything works as expected. It might have been a temporary problem that was fixed since the time you experienced it.
i have try it with my node mcu and still same, i even reinstall arduino create agent to, and still cant connect
and are this image meaning something?
I moved your topic to a more appropriate forum category @qornainina.
The Nano ESP32 category you chose is only used for discussions directly related to the Arduino Nano ESP32 board.
In the future, please take the time to pick the forum category that best suits the subject of your question. There is an "About the _____ category" topic at the top of each category that explains its purpose.
Thanks in advance for your cooperation.
Thanks for the information. That makes things clear. Each of the official Arduino boards (with the exception of the classic Nano) use a unique USB identifier that was purchased by Arduino from USB-IF. This allows Arduino Cloud to automatically identify the board that is connected to your computer. The "Discover Arduino Cloud" tutorial you are attempting to use relies on that ability to identify the board.
Your ESP32 board uses a general purpose CP210x USB to serial bridge chip, which has the manufacturer-provided USB identifier. Because many different boards, and even random consumer electronic devices, use the CP210x chip, there is no way for Arduino Cloud to automatically identify your board, so you can not use the "Discover Arduino Cloud" tutorial. The situation will be the same with the NodeMCU board (it might have a different brand of USB to serial bridge chip such as CH340, but that board also has a non-unique USB identifier).
But don't worry. The "Discover Arduino Cloud" tutorial is only intended to provide newcomers with a general introduction to Arduino Cloud. You can still use all the standard features of Arduino Cloud with your ESP32 board even though the "Discover Arduino Cloud" tutorial is not available.
You can learn about Arduino Cloud from the documentation here:
https://docs.arduino.cc/arduino-cloud/
Give it a try and let us know here on the forum if you have any questions or problems.
this really helpful. but it still cant connect when i want sketch on things.
like this, i hope this images make my problem clear, and thank you for your answer
I have submitted a formal bug report regarding the inability to use the ESP32 boards with Arduino Cloud IoT Thing sketches to the Arduino Cloud developers.
For now, please use Arduino IDE when you need to upload Arduino Cloud IoT Thing sketches to your ESP32 board.
You can use the Arduino Cloud sketchbook integration feature of Arduino IDE 2.x to get convenient access to all your Arduino Cloud sketches (including Thing sketches) for use in Arduino IDE:
https://docs.arduino.cc/software/ide-v2/tutorials/ide-v2-cloud-sketch-sync
thankyou for your answer its really helpful, and are there is a way can i know when this bug fixed??
I don't always receive a notification from the developers that the fix for a bug has been deployed, so I can't promise anything but if I do hear from them then I'll be sure to post an update here.
thank you for the answer, i really appreciate it
I am also having a problem to connect the serial port with Arduino Web editor to either my ESP32 Dev Module or Adafruit Huzzah ESP32. Both birds connect to their serial ports using the Arduino IDE. I am using Windows 10 and the latest Createagent version 1.4.0 b213179.
I have cleared the cache from the Chrome browser uninstalled the Creatagent, shutdown the PC and restarted it loading the new Creatagent. I have also checked the firewall to allow the programs to run but with no success.
I get these messages from the Createagent debug screen
{
"Version": "1.4.0"
}
{
"Commands": [
"list",
"open <portName> <baud> [bufferAlgorithm: ({default}, timed, timedraw)]",
"(send, sendnobuf, sendraw) <portName> <cmd>",
"close <portName>",
"restart",
"exit",
"killupload",
"downloadtool <tool> <toolVersion: {latest}> <pack: {arduino}> <behaviour: {keep}>",
"log",
"memorystats",
"gc",
"hostname",
"version"
]
}
{
"Hostname": "LAPTOP-DELL-PRECISOION-M3800"
}
{
"OS": "windows"
}
list
Serial Ports:
[
{
"Name": "COM7",
"SerialNumber": "A50285BIA",
"IsOpen": false,
"VendorID": "0x0403",
"ProductID": "0x6001"
}
]
list
=============================================================
Version 1.4.0 b213179
{
"Commands": [
"list",
"open <portName> <baud> [bufferAlgorithm: ({default}, timed, timedraw)]",
"(send, sendnobuf, sendraw) <portName> <cmd>",
"close <portName>",
"restart",
"exit",
"killupload",
"downloadtool <tool> <toolVersion: {latest}> <pack: {arduino}> <behaviour: {keep}>",
"log",
"memorystats",
"gc",
"hostname",
"version"
]
}
{
"Hostname": "LAPTOP-DELL-PRECISOION-M3800"
}
{
"OS": "windows"
}
list
Serial Ports:
[
{
"Name": "COM3",
"SerialNumber": "01D91FAE",
"IsOpen": false,
"VendorID": "0x10C4",
"ProductID": "0xEA60"
}
]
The Web editor did work the previous week but no luck this week. I cannot make it open either serial port.
Your help would be much appreciated.
i think you need read the whole conversation
Did you mean I should use the Arduino IDE instead of the Web editor? I don't want to do that as it negates the whole purpose of using the online editor.
Hi @Charlie_abb. Are you working on an Arduino Cloud IoT Thing project?
If so, unfortunately I don't know of any way to upload the Thing sketch via the serial port of these boards from Arduino Cloud. Until the bug is fixed, the only workaround would be to buy a board that is not affected by the bug, such as:
The bug only affects uploading Arduino Cloud IoT Thing sketches. So it doesn't prevent you from developing and uploading non-IoT sketches to these boards in Arduino Cloud. If you are having problems using these boards with non-IoT sketches then it is caused by something other than the bug I mentioned above and there is a good chance we can help you to find a solution.
Thank you for your helpful reply. Yes, I am working on an iot Thing Sketch. There is some history to this.
First of all, about a year ago, I successfully built a Thing with associated sketch and Dashboard. This was using a Adafruit Huzzah ESP32 feather. It all worked fine, I was able to control 4 relays on the dev board with buttons on the Dashboard and also monitor temp and humidity at the same time. No problems!
About 10 days ago, I hooked up an ESP32 WROOM 32E board and was able to load the Blynk app using the iot web editor. It also worked fine and showed as being "online".
However, this last week, no matter what I did, (reinstall Createagent etc) I could not get it to connect to the Thing Sketch. It keeps showing "offline". If I create a new sketch not in a Thing, it prompts me to select a board and it shows the serial port Com3 or 7 as connected. I can then verify and download the code to the board.
What I can't understand is why a simple Sketch connects when a Sketch created by a Thing doesn't. They must both see only the FTDI connection not the board.
I have also tried the Sketch created in a Thing a year ago on the Adafruit Huzzah ESP32 feather and it now doesn't find the serial connection anymore.
This must be new bug in the Thing Sketch element of the Cloud editor which was not even present 10 days ago.
I don't believe it can be related to specific boards as I have had both of these 2 boards connecting and downloading the Thing Sketches previously.
You further help would be much appreciated.
That is unrelated to the subject of this forum topic, and not caused by the bug discussed here. If you create a new forum topic I'll try to help you investigate the cause of the offline status.
Last week, a redesign was done on the Cloud Editor user interface when using Arduino Cloud IoT Thing sketches. The designers had the idea that, since when developing a Thing sketch the board model is already known to Cloud Editor through the Arduino Cloud IoT Device configuration, the board and port configuration user interface component is superfluous and thus could be eliminated. This was intended to make Cloud Editor more user friendly by reducing unnecessary complexity.
This idea was based on the assumption that Cloud Editor would always be able to automagically identify the serial port produced by the Arduino board being used as the IoT Device.
Such an automatic identification is possible with some boards because their serial port has a USB VID/PID identifier that is unique to that specific board model. This is the case with all of the official Arduino boards as well as certain models of 3rd party ESP32 boards.
However, many other ESP32 and ESP8266 board manufacturers use a general purpose USB to serial bridge chip (e.g., Silicon Labs CP210x, WCH CH340). These chips use the VID/PID provided by the chip manufacturer, meaning that any board (or even random consumer electronic device) that has that USB to serial bridge chip has the same VID/PID. For this reason, there is no way for Cloud Editor to conclusively identify the port of these board and thus the assumption behind the removal of the port selection interface was erroneous.
Prior to the Cloud Editor Thing sketch user interface redesign, you could simply manually select the appropriate port (just as you can still do when using non-IoT sketches in Cloud Editor), so the lack of automatic port identification was previously only a minor inconvenience for the users of those boards.
Correct. It was introduced about a week ago.
It is specific to certain board models that don't produce a serial port with a unique USB VID/PID identifier. For example, your Adafruit ESP32 Feather board uses a Silicon Labs CP2104 USB to serial bridge chip and thus has the same VID/PID as any other of the many different Arduino board models and electronic devices that use that popular chip.
As mentioned, the bug is recently introduced so of course you weren't affected when using the boards during the time prior to the introduction.
I think I've explained the options quite well already, but I'll list them again:
- Use Arduino IDE
- Buy a board that is not affected by the bug
- Wait patiently for the bug to be fixed
If you give one of the first two a try and have any questions or problems, just let us know here on the forum and we'll provide assistance.
Same bug for me ! Waiting for bug to be fixed . I lost hours and hours trying to uninstall/install .....
Many thanks for your very detailed and helpful reply. My answer below.
| ptillisch Arduino Team
May 7 |
- | - |
Charlie_abb:
However, this last week, no matter what I did, (reinstall Createagent etc) I could not get it to connect to the Thing Sketch. It keeps showing "offline".
That is unrelated to the subject of this forum topic, and not caused by the bug discussed here. If you create a new forum topic I'll try to help you investigate the cause of the offline status.
Charlie_abb:
What I can't understand is why a simple Sketch connects when a Sketch created by a Thing doesn't.
Last week, a redesign was done on the Cloud Editor user interface when using Arduino Cloud IoT Thing sketches. The designers had the idea that, since when developing a Thing sketch the board model is already known to Cloud Editor through the Arduino Cloud IoT Device configuration, the board and port configuration user interface component is superfluous and thus could be eliminated. This was intended to make Cloud Editor more user friendly by reducing unnecessary complexity.
This idea was based on the assumption that Cloud Editor would always be able to automagically identify the serial port produced by the Arduino board being used as the IoT Device Such an automatic identification is possible with some boards because their serial port has a USB VID/PID identifier that is unique to that specific board model. This is the case with all of the official Arduino boards as well as certain models of 3rd party ESP32 boards.
However, many other ESP32 and ESP8266 board manufacturers use a general purpose USB to serial bridge chip (e.g., Silicon Labs CP210x, WCH CH340). These chips use the VID/PID provided by the chip manufacturer, meaning that any board (or even random consumer electronic device) that has that USB to serial bridge chip has the same VID/PID. For this reason, there is no way for Cloud Editor to conclusively identify the port of these board and thus the assumption behind the removal of the port selection interface was erroneous.
BUT HOW IS IT THAT WHEN YOU CREATE A NEW SKETCH OUTSIDE OF THE IOT THING SECTION, THE EDITOR DOES KNOW THE SERIAL PORT AS IT SHOWS UP ON THE SCREEN WITH THE PROMPT TO SELECT THE CORRECT ATTACHED BOARD?
CAN THIS PROMPT BE ADDED TO THE IOT THING SKETCH SCREEN IN THE SAME WAY AS FOR A NEW SEPARATE SKETCH?
Prior to the Cloud Editor Thing sketch user interface redesign, you could simply manually select the appropriate port (just as you can still do when using non-IoT sketches in Cloud Editor), so the lack of automatic port identification was previously only a minor inconvenience for the users of those boards.
CAN IT REVERT TO HOW THIS WAS BEFORE? WHY WAS THIS FEATURE REMOVED? IT SEEMS LIKE A BACKWARD STEP.
Because that is how the Cloud Editor user interface is designed.
Yes, the Arduino Cloud developers can add it back.
It is certainly possible. I don't have any further news to share on the subject. I'll be sure to post an update here if I hear anything from the developers.
I already explained it:
I'm happy to provide assistance, but it seems like we are going around in circles here. The subject has already been discussed to death.
Thanks. I'll wait for your update when the feature has been added back so I can once again construct an IOT project! Until then.......