Introduction: ESP32, SunDuino and Arduino IDE

Picture of ESP32, SunDuino and Arduino IDE

I would like to write you a short tutorial how to play with ESP32 (more powerful than ESP8266).

On the internet is a lot of tutorials how to do it, but this is a little bit different. I don't have LoLin32, Hornbill or ESP-DevkitC.

Step 1: ESP32 and SunDuino

Picture of ESP32 and SunDuino

I got ESP32 by dfrobot.com. The ESP32 was very nice and neatly packed. Thank you. A few days ago I found this interesting board for ESP32 - the project called SunDuino.

SunDuino boards you can buy on polish e-shop elty.pl. I received a few different boards from SunDuino maker which can be used with ESP32. Thank you. If you want to follow him on google plus, there is link

Universal module for ESP32 http://elty.pl/pl/p/-Adapter-PCB-dla-ESP-WROOM-32/1948

ESP32 like Arduino board with Arduino Uno rev.3 connectors http://elty.pl/pl/p/Adapter-PCB-dla-ESP-WROOM-32-zlacza-Arduino/1949The documentation of boards is here (polish language).

I chose this board - ESP32 SunDUINO v1.0. Detail description is here (polish language).

Step 2: ESP32 in Arduino IDE - Add *.json File

Picture of ESP32 in Arduino IDE - Add *.json File

After soldering the board called ESP32 SunDuino, the board doesn't include non usual components, I had to find how to begin.

https://www.dfrobot.com/ shared this useful tutorial, how to install ESP32 board to Arduino IDE.

It is so easy, add https://git.oschina.net/dfrobot/FireBeetle-ESP32/raw/master/package_esp32_index.json file to File -> Preferences -> Additional Board Manager URLs.

Step 3: ESP32 in Arduino IDE - Install Package

Picture of ESP32 in Arduino IDE - Install Package

After that Tools -> Board -> Boards Manager you add FireBeetle ESP32

Step 4: ESP32 in Arduino IDE - Check the Board in Board

Picture of ESP32 in Arduino IDE - Check the Board in Board

After downloading of package you will see the FireBeetle ESP32 board.

That's all.

Step 5: Connecting to SunDuino

Picture of Connecting to SunDuino

You connect the SunDuino ESP32 board to USB-UART converter with DTR, RST, TX, RX pins and power supply of course.

If the board is working you find out with easy example code - LED blinking. The LED will be blinking on 2th pin of SunDuino.

Interesting workaround of automatic run of bootloader is this circuit. The circuit uses only RST and DTR pins. The choice of N-channel MOSFET transistors is open, not strictly specified. I used e.g. 2N7002.

On the video you can see how to upload the code to ESP32 and then LED is blinking.

Comments

Jaychouu (author)2017-05-10

it's great

Swansong (author)2017-05-10

Thanks for sharing :)

About This Instructable

793views

8favorites

License:

More by Petus:ESP32 - Temperature/humidity Sensor (Si7021) and OLEDESP32 SunDuino and Si7021 (HTU21)ESP32, SunDuino and Arduino IDE
Add instructable to: