Headlines
Objective :
Up and running with ESP32 and blink the build-in LED.
Hadware
ESP32 boad specs
Buld-in components: Hall effect+10 GPIO capacitif sonsors + wifi + bluetooth…
Installation
On Linux :
Arduino IDE, go to File> Preferences
Enter the following URL into the “Additional Board Manager URLs”
https://dl.espressif.com/dl/package_esp32_index.json
Note : For Both Esp32 and Esp8266 enter :
https://dl.espressif.com/dl/package_esp32_index.json, http://arduino.esp8266.com/stable/package_esp8266com_index.json
- Tools > Board > Boards Manager
Write “ESP32” in the search bar then install
On Windows :
Follow the guide : https://github.com/espressif/arduino-esp32
Testing the Installation :
- Tools > Board menu (in my case it’s the DOIT ESP32 DEVKIT V1)
- Select the connected port.
- copy the following code that allow the build-in LED “GPIO2” blink
const int ledPin = 2; void setup() { // put your setup code here, to run once: pinMode (ledPin, OUTPUT); } void loop() { // put your main code here, to run repeatedly: digitalWrite (ledPin, HIGH); delay(500); digitalWrite (ledPin, LOW); delay(500); }