Notifications
Clear all

ESP32-S3-DevkitC

19 Posts
2 Users
0 Reactions
302 Views
(@microhead)
Member
Joined: 4 months ago
Posts: 9
Topic starter  

I have this Espressif ESP32-S3-DevkitC-1U development board I have been trying to use on Arduino Cloud.  I cannot make the board connect online to upload sketches.   I can program the board with the Arduino IDE, loaded blink, and it ran fine.  I selected a non-Arduino board using the ESP32S3 Dev Module selection.  I made a thing, when I go to sketch, it shows the board offline and I'm stuck.    I have followed the Arduino IOT 2024 tutorial and nothing works like shown.

I do have an Arduino Nano ESP32 and have made a successful project with it, no issues.  I feel like I can go through the process and have something work.

I have an Adafruit ESP32 Feather.  I cannot make it go online either.   Its like there is some connectivity issue I'm missing or the board I purchased is just not compatible with the Arduino Cloud.

Suggestions?


   
Quote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 7107
 

@microhead Could you re-post this in one of the other forums, this is the introduction forum. We don't have an IoT forum, so maybe Project Corner forum and sub-forum Help Wanted.

Meanwhile, I will try one of my S3's.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 7107
 

@microhead It took some fiddling, but I eventually got it to work.

 

Make sure thge CloudAgent is running on your PC.

Make sure the USB cable is plugged into the socket marked USB, mine is on the left side below the RGB.

Make sure a THING is associated with the device.

Make sure a sketch (I used a Blink sketch) has your SSID, password and secret device key filled in in the Secret Tab.

Let me know how it goes.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
(@microhead)
Member
Joined: 4 months ago
Posts: 9
Topic starter  

Hi Ron,

I've tried all these steps repeatedly.  Keep thinking I'm missing something.   When I get to the sketch I keep seeing this: 

image

When I select the device and setup the thing it accepts the board and says its ready to be used.  I never see it go online.  Frustrated!


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 7107
 

@microhead Is the cloud agent running in the background?

Were you able to create the secret key etc?

It did take a while to see mine go online, I recall seeing something about running the sketch.

Have you done an upload?

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
(@microhead)
Member
Joined: 4 months ago
Posts: 9
Topic starter  

I created the secret key with network credentials.  I never could upload the sketch because it would never connect. Unless there is another way to upload that I'm missing. Or, is there an upload step I'm missing?


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 7107
 

@microhead You tried the upload from the web editor? My board also showed offline until I did the upload. It took a couple tries and I think I clicked the agent again. I find it completley normal that uploads regardless of if the online or not variety will often fail and several retries are sometimes needed. Sometimes restarting the site and even re-booting (rare) is needed.

If the device is registered, connected to a THING, then trying to upload the sketch (double check that the secrets file is filled out) should eventually work.

Be aware however, things like security software, VPN, and flaky WiFi can also cause difficulties.

I am going to go try my board again to see what happens.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 7107
 

@microhead Ok, I just tried it and noticed something. See the attached pics. In pic1 the device is offline then in the 2nd pic, I can tell it is Online by the icon colour and the third pic confirms that. I did have to restart the click of the Thing as it hung. You just have to persevere, sometimes it works smoothly, sometimes it doesn't.

FYI when I went to the sketch, I selected the Blink example.

Correction, it's not the Blink sample, I simply added the CloudLight variable to the Thing.

 

Screenshot 2024 05 07 at 22.54.46
Screenshot 2024 05 07 at 22.55.08
Screenshot 2024 05 07 at 22.56.19

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 7107
 

Posted by: @microhead

Hi Ron,

I've tried all these steps repeatedly.  Keep thinking I'm missing something.   When I get to the sketch I keep seeing this: 

-- attachment is not available --

When I select the device and setup the thing it accepts the board and says its ready to be used.  I never see it go online.  Frustrated!

What is the 'Elyn' in that name, it should just be ESP32S3 Dev Module.

 

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
(@microhead)
Member
Joined: 4 months ago
Posts: 9
Topic starter  

I read another article that said upload from the web.  Showed a screenshot of a tab to switch to the web editor. Not seeing that on my screen, wondering if its something they changed with the new editor?  How do you access the web editor?  Elyn was a Thing name I let the software choose.   I appreciate your help by the way!


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 7107
 

@microhead Ah, my mistake. I thought it was the device. No nothing like that changed. I am going to do some screen shots so maybe you can then see what you are doing wrong. I will start from the Agent, right click it and select 'Goto Arduino Cloud'. Pic 1 is what I see after doing that. NOTE, I am on a Mac so some things may look a bit different, but you should be able to sort that part out. As you can see the device is online. That did not happen yesterday but I entered the cloud a different way.

Pic 2 is what I see after clicking Things in Pic 1.

Pic 3 is what I see after clicking the Thing associated with the device plugged in

Pic 4 is the web editor. There used to be an option here to invoke the normal IDE, but it is gone. What you do now is invoke the IDE2.3.2 and continued in next post.

 

 

1
2
3
4

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 7107
 

To use the 'normal' IDE is akin to a sharp knife. Yes it is sharper, but that means you can bleed. Unless you are willing to destroy yopur project, do not do this. But if you do, here are some navigation pointers.

Pic 10 is the IDE with the files (Folder ICON) open. It will show all your cloud sketches and if you click the terminal icon all your local sketches.

Pic 11 shows what happens when you click the cloud sketch >

Pic 12 shows what happens when you hover beside the cloud sketch folder. You will see a cloud with a download arrow, and a 3 button menu.

Pic 13 shows what the 3 dot menu contains. Self explanatory and very sharp!!!

Pic 14 shows after closing the 3 dot menu. You now have both a cloud download, and now an upload. SUPER VERY SHARP!!!!!

Pic 15 shows what happens when you double click on the cloud sketch ino file. This is a copy of the file you were looking at in the online web editor. You can now change it, but make sure you uploiad it after. Since this IOT stuff is even less code than normal (written by the human) I would not bother using the normal IDE, do everything online and that way no blood.

Questions?

 

 

10
11
12
13
14
15

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
(@microhead)
Member
Joined: 4 months ago
Posts: 9
Topic starter  

Following your pics everything looks the same until I get to where you say invoke the IDE at pic 4.  I see no way to do this with my cloud screen.   You are not talking about the local IDE are you?  I dont see how that would be linked to the cloud.  Need more help.


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 7107
 

@microhead There isn't a TAB called SKETCH? Do you see the three tabs on the right called 

SETUP | SKETCH | METADATA

See pic of that. Click on the SKETCH tab, that IS the webeditor. You get to that screen as a result of clicking on the Thing.

Screenshot 2024 05 09 at 09.07.38

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
(@microhead)
Member
Joined: 4 months ago
Posts: 9
Topic starter  

Yes I have this but there is no control I see to upload over the cloud.  If I click the upload arrow, I get a warning the board is not online and everything stops.  I have clicked every tab, opened anything I see and there is no option to upload from the cloud.  I do not see a folder icon to open, view sketches, hover, and have 3 dots for upload options.   Really feel like there is something I'm missing.  I'm only signed up for the lowest plan Arduino Cloud offered but it does say it has over the cloud programming.  Maybe this is the problem?

Arduino Cloud header

   
ReplyQuote
Page 1 / 2