To use ESP-WROOM-32 in your Arduino IDE we have to set some settings first.
- Navigate to your Arduino directory where all the Arduino stuff is there. In my case it iscd /Users/mohammed/Documents/Arduino
Illustration 2: Enter Arduino directory - Now execute the following commands to create a folder in your Arduino directory and download the needed components to integrate ESP-32 in your Arduino IDE.
mkdir hardware
cd hardware
mkdir espressif
cd espressif
clone https://github.com/espressif/arduino-esp32.git esp32Illustration 3: Get ESP-32 components to integrate in Arduino IDE - Now navigate to directory tools with cd /esp32/tools and execute the python script via command python get.py to bind the GNU Tools and the ESP32 Software Development Kit into Arduino IDE. After finish restart your Arduino IDE.
Illustration 4: Installing ESP-32 components Arduino IDE - Now you are finished. After restart your Arduino IDE you can find your ESP32 board in Tools->Boards->ESP32 Dev Module. Now you are almost finished.
Illustration 5: ESP32 Board in Arduino Boards
- For serial communication you have to download and install SiLabsUSBDriverDisk for your system (OS X).
For programming we have to configure some settings first before we start. Click on tools and set the following settings:
- Board: "ESP32 Dev Module"
- Flash Mode: "QIO"
- Flash Frequency: "80MHz"
- Flash Size: "4MB (32MB)"
- Upload Speed: "115200"
- Core Debug Level: "None"
- Port: "/dev/cu.SLAB_USBtoUART"
Now you are ready. After these procedure it is recommended to restart Arduino IDE.
Keine Kommentare:
Kommentar veröffentlichen