ESP32S2 - AI Thinker

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Flipper999
New user
Posts: 5
Joined: 05 Sep 2022, 16:05

ESP32S2 - AI Thinker

#1 Post by Flipper999 » 05 Sep 2022, 16:09

Hi,

I have an ESP32S2 board from AI-Thinker, I tried to use the general ESP32S2 image, but that doesn't seem to work. (reboot - loop).
Anybody have any experience with this specific board?

Regards,
Flipper999

User avatar
Ath
Normal user
Posts: 3416
Joined: 10 Jun 2018, 12:06
Location: NL

Re: ESP32S2 - AI Thinker

#2 Post by Ath » 05 Sep 2022, 16:15

What exact .bin file have you flashed on the unit?

Edit:
And to follow up with some tips:
- For first time installation, the .factory.bin file must be flashed at address 0x0
- Later upgrades can be installed from the Web UI using the Firmware Update button on the Tools tab (available after connecting the unit to WiFi), then the .bin file without .factory in the name must be used
- As long as the Flash partitioning (4M316k) stays the same, you can switch the build without loosing configuration, other than when switching between Collection builds, that some plugins from another Collection A..E build won't be available, but as long as you don't edit that specific task, the config-data will be preserved
/Ton (PayPal.me)

Flipper999
New user
Posts: 5
Joined: 05 Sep 2022, 16:05

Re: ESP32S2 - AI Thinker

#3 Post by Flipper999 » 05 Sep 2022, 17:04

I used:
ESP_Easy_mega_20220809_collection_D_ESP32s2_4M316k.factory.bin
About the 0x0 address. I used ESP easy flasher, didn't see any setting for that. Anything specific i should do for this?

User avatar
Ath
Normal user
Posts: 3416
Joined: 10 Jun 2018, 12:06
Location: NL

Re: ESP32S2 - AI Thinker

#4 Post by Ath » 05 Sep 2022, 17:16

For ESP32 you should actually be using the Espressif flasher, and best to get the latest from the Espressif site, that prevents a lot of issues. I think we should make it a bit more clear that for ESP32 the Espressif tool should be used for best results. :roll:

Edit:
Screenshot - 5-09-2022 , 17_19_42.png
Screenshot - 5-09-2022 , 17_19_42.png (5.18 KiB) Viewed 2799 times
This should work for your board

On the next screen just enable the first checkbox, select a filename (with ESP32s2 and .factory.bin) and after the @ fill: 0x0 (or probably even just a 0 should suffice)
/Ton (PayPal.me)

Flipper999
New user
Posts: 5
Joined: 05 Sep 2022, 16:05

Re: ESP32S2 - AI Thinker

#5 Post by Flipper999 » 06 Sep 2022, 08:41

Using the Espressif flasher worked :) Thanks.

Using 0 was ok.

On to my next search mission, why can't i find the itho plugin, which should be in collection D.
ESP32 flash 1.png
ESP32 flash 1.png (106.8 KiB) Viewed 2764 times

User avatar
Ath
Normal user
Posts: 3416
Joined: 10 Jun 2018, 12:06
Location: NL

Re: ESP32S2 - AI Thinker

#6 Post by Ath » 06 Sep 2022, 09:00

Flipper999 wrote: 06 Sep 2022, 08:41 Using the Espressif flasher worked :) Thanks.

Using 0 was ok.
OK, great.
Flipper999 wrote: 06 Sep 2022, 08:41 On to my next search mission, why can't i find the itho plugin, which should be in collection D.
That may still be disabled in the current releases for (all) ESP32 builds, as it has caused issues in the past.
There is a PR, still in progress, that has a lot of refactoring and partial restructuring of that plugin, the PR can be found here, you can download the binaries from the connected Github Actions build when logged in with a GH account. The last build of that PR can be downloaded from here
/Ton (PayPal.me)

Flipper999
New user
Posts: 5
Joined: 05 Sep 2022, 16:05

Re: ESP32S2 - AI Thinker

#7 Post by Flipper999 » 07 Sep 2022, 09:09

Thanks for pointing me in the right direction, saves a lot of time :)

Even had to upgrade to the E-collection because the itho plugin moved there in this build (as found in the conversation).
Upgrading firmware from collection D to E worked via webgui.

On to attaching the cc1101 module.

Flipper999
New user
Posts: 5
Joined: 05 Sep 2022, 16:05

Re: ESP32S2 - AI Thinker

#8 Post by Flipper999 » 13 Sep 2022, 20:38

Not sure where to ask, so trying here in my own post.

Can someone also point me in the direction on how to use the ITHO plugin on an ORCON Fan?
Most if not all documentation is for the Itho box, but there is a Enable Orcon support selection box and some comments in the GUI, but I'm not seeing messages from my ORCON remote in the debug screen.

User avatar
Ath
Normal user
Posts: 3416
Joined: 10 Jun 2018, 12:06
Location: NL

Re: ESP32S2 - AI Thinker

#9 Post by Ath » 13 Sep 2022, 21:25

Flipper999 wrote: 13 Sep 2022, 20:38 Not sure where to ask, so trying here in my own post.
You could have started a new thread for that, in what you feel the most appropriate ESPEasy forum :) extending with a totally different subject will probably confuse others reading this for the AI Thinker issue...
Flipper999 wrote: 13 Sep 2022, 20:38 Can someone also point me in the direction on how to use the ITHO plugin on an ORCON Fan?
Most if not all documentation is for the Itho box, but there is a Enable Orcon support selection box and some comments in the GUI, but I'm not seeing messages from my ORCON remote in the debug screen.
For that option you need to have a recent build from PR #3889 where I added the Orcon support as suggested in PR #4099 (that doesn't have my refactoring/restructuring effort applied, so we agreed I'd apply those changes).

I do not own Orcon equipment, so am unable to test, but if you could pair the CC1101 with an Orcon ventilation unit, I think the Ventilation unit's ID should be entered in the Device ID fields (probably that ID can be retrieved from a sticker on the unit?), and it may be that the Orcon unit only supports 1-way communication, so no info from the unit is shown in the logs, but again, I can't verify that.

If you could help in testing this addition to the plugin that would be fab :D
/Ton (PayPal.me)

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 34 guests