Program the cards ESP32 with the Arduino IDE on macOS, Windows 7/8/10, ARM (Raspberry Pi, Orange Pi) [Exclusive Guide]

2:47 pm May 12, 201712686

Espressif for ESP32 development kit is available on GitHub. It is still under development but it is possible to install it to program the cards of development using ESP32 directly from the IDE Arduino . In this tutorial, we will install it on masOS. We will see in the next tutorials how to do on Windows 10, Linux and ARM (Raspberry Pi, Orange Pi…) platforms. This tutorial is taken from the official documentation on the project here GitHub repository.

Before you start installing, exit the Arduino IDE if it is launched. If you do not yet have the IDE for macOS, go get it back here . Start the Arduino IDE once for the Arduino folder is created in the My Documents folder. Close the IDE.

If you have a Git utility on your machine, you can use it to clone the repository of the project. Otherwise, go on GitHub here . Click Clone download gold then Download ZIP .

github download esp32 dev kit for windows

Open the file Explorer and go to your Documents. Create the following folders for the following tree my DocumentsArduinohardwareesp32 . It is important to follow the case and this tree. The path is “hard coded” in the kit. Unzip and move the contents of the Zip downloaded in the esp32 folder.

decompression git kit developpement esp32

Go to the directory tools and start the program get.exe

esp32 tools launch get_exe

this program ends to retrieve and install the necessary resources.

get_exe progression

Run the Arduino IDE. A new menu with the ESP32 card is available in the tools.

esp32 board cartes ide arduino windows 10 64-bits

Before you start installing, exit the Arduino IDE if it is launched. If you do not yet have the IDE for macOS, go get it back here .

Open the Terminal, copy and paste the following command in the Terminal. Validate the installation.

attention, some orders (git clone, pyton get.py) may take some time because the sources are downloaded from the internet.

start the Arduino IDE. The installation is complete. If all OK st, you must have an additional menu in the cards

ide arduino esp32 board cartes liste

leaving the Arduino IDE. If you have not yet installed the Arduino IDE on your Raspberry Pi, follow this tutorial .

Open the Terminal, paste all of the following commands and press the Enter key on the keyboard to launch the installation of the SDK. The operation may take several minutes depending on the resources already installed on your distribution.

the IDE is ready

ide arduino esp32 arm linux raspberry raspbian pixel

in the current version , in addition to the maps generic (ESP32 Dev Module up to 4MB), the kit supports the following card models.

The ESP32 offering 26 E / S instead of 11 on the ESP8266, the dimensions of development cards are larger. Some manufacturers offer a limited number of IO. The ESP320 of the Swedish Electronic SweetPeas for only 11th/S and 1 analog input for a dimension of only 27.5 x 17.8 mm.

Two Hornbill cards are subject to a participatory fundraising campaign on Crowd Supply . The Dev ESP32 is a standard but narrower Development Board. The minimum is intended for the realization of dress applications. Bluetooth support is a definite plus for this type of application. It could replace the cards LilyPad and LilyTiny who start taking of the age.

The vast majority of these cards are (still) quite difficult to obtain (at a reasonable price). Prices have passed the 7euros bar in recent months. It is happy because it was difficult to justify a higher price at € 10 in the face of the Raspberry Pi Zero or the Orange Pi Zero. One finds for example the Wemos LoLin32 for about € 6,45 (excluding shipping costs). There’s also generic models (Geekworm, Doit.am, often referred to as Geekcreit) for a similar price.

Some examples are shipped with the SDK:

  • AnalogOut
    • LEDCSoftwareFade: gradually turns a Led
    • SigmaDelta
  • Timer
  • Touch

If you are missed, the ESP32 is able to manage the LCD touchscreens. Here is an (impressive) example of what is possible to do. The project is available on GitHub or blog Marc Merlin .

The ESP32 program exactly as one ESP8266 . For this first article, we’ll just check that everything is correctly installed. Create a new project and paste the following code that flashes an Led connected between pin 15 and GND. For this article, I used a generic card manufactured by Geekcreit .

In the list of maps, select ESP32 Dev Module. Modules generally support a download speed of 921600 baud rate which is very significant.

ide arduino esp32 demo led blink geekcreit

Well, it works.

ide arduino esp32 demo led blink geekcreit

As you can see, the programming remains fairly standard. Attention however, bookstores developed for the ESP8266 are not (yet) compatible. ESP Easy for example does not work yet. The queue.h being not compatible library.