Olimex Support Forum

Microcontrollers => ESP32 => Topic started by: jacopo99 on November 16, 2020, 11:13:33 AM

Title: ESP32-S2-DevKit-LiPo-USB Arduino IDE
Post by: jacopo99 on November 16, 2020, 11:13:33 AM
HI all,
do you know if the ESP32-S2-DevKit-LiPo-USB will have Arduino ide support (not for the OTG right now, cause it doesn't seem to be implemented) for all the basics (analogRead, digitalwrite, etc)?
Additionally, does the ESP32-S2-WROVER-DevKit-Lipo have the support?

Thanks in advance.
Title: Re: ESP32-S2-DevKit-LiPo-USB Arduino IDE
Post by: LubOlimex on November 17, 2020, 03:01:42 PM
They are already supported, but the installation for all S2 boards in Arduino IDE is a bit tricky.

ESP32-S2-DevKit-LiPo boards are quite similar to ESP32-S2-Saola-1R. To use them in Arduino IDE follow the same steps that you would use for ESP32-S2-Saola boards. Try the "esp32s2" branch in Arduino IDE for ESP32:

https://github.com/espressif/arduino-esp32/tree/esp32s2

Follow the manual instructions (not via JSON). For Windows you can find them here:

https://github.com/espressif/arduino-esp32/blob/esp32s2/docs/arduino-ide/windows.md

There are a number of videos online demonstrating the installation:

https://www.youtube.com/watch?v=gm1N437ng1Y

https://www.youtube.com/watch?v=L6IoSVdKwNM

Hopefully the s2 support would soon be added to the master branch and easier installation would be available!


The S2 is already supported in the master branch just follow the official installation instructions here:

https://espressif-docs.readthedocs-hosted.com/projects/arduino-esp32/en/latest/installing.html
Title: Re: ESP32-S2-DevKit-LiPo-USB Arduino IDE
Post by: TurtleRad on December 06, 2022, 03:32:23 AM
None of this information is valid anymore. I'm open to suggestions as to how I add this board to Arduino IDE.
Title: Re: ESP32-S2-DevKit-LiPo-USB Arduino IDE
Post by: LubOlimex on December 06, 2022, 08:32:10 AM
The S2 is already supported in the master branch just follow the official instructions here:

https://espressif-docs.readthedocs-hosted.com/projects/arduino-esp32/en/latest/installing.html

After installation select the S2-Saola board"ESP32S2 Dev Module". Also set the COM port the board was assigned.

I then downloaded WiFiScan demo, from File -> Examples -> WiFi. It seems to download fine, opened the Serial Monitor, set the baud to 115200 and it seemed to work fine and scan the networks around.