Install ESP32 Arduino Core (arduino-esp32) on Arduino IDE for the ESP32, ESP32-S2, ESP32-S3 and ESP32-C3
To development ESP32 Series using Arduino Framework, Arduino Core
(arduino-esp32) can be installed in Arduino IDE.
The easiest way to
install arduino-esp32 is using Arduino IDE. This vieo show the steps and
tested on ESP32-C3-DevKitM-1.
Click on Arduino IDE MENU > File >
Preferences
Enter the Stable release link or Development
release link into the Additional Board Manager URLs box.
Stable
release link:
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
Development release link:https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json
Then, open Boards Manager, Search and install esp32 by Espressif
Systems.After then boards of ESP32/S2/S3/C3 are available in boards selection.
ESP32C3_info.ino, read ESP32 info.
#include <Esp.h>
void setup() {
delay(500);
Serial.begin(115200);
delay(500);
Serial.println("\n\n================================");
Serial.printf("Chip Model: %s\n", ESP.getChipModel());
Serial.printf("Chip Revision: %d\n", ESP.getChipRevision());
Serial.printf("with %d core\n", ESP.getChipCores());
Serial.printf("Flash Chip Size : %d \n", ESP.getFlashChipSize());
Serial.printf("Flash Chip Speed : %d \n", ESP.getFlashChipSpeed());
esp_chip_info_t chip_info;
esp_chip_info(&chip_info);
Serial.printf("\nFeatures included:\n %s\n %s\n %s\n %s\n %s\n",
(chip_info.features & CHIP_FEATURE_EMB_FLASH) ? "embedded flash" : "",
(chip_info.features & CHIP_FEATURE_WIFI_BGN) ? "2.4GHz WiFi" : "",
(chip_info.features & CHIP_FEATURE_BLE) ? "Bluetooth LE" : "",
(chip_info.features & CHIP_FEATURE_BT) ? "Bluetooth Classic" : "",
(chip_info.features & CHIP_FEATURE_IEEE802154) ? "IEEE 802.15.4" : "");
Serial.println();
Serial.println();
Serial.println("\n- end of setup() -");
}
void loop() {
// put your main code here, to run repeatedly:
}
Arduino Core’s documentation
GitHub espressif/arduino-esp32
https://github.com/espressif/arduino-esp32
More exercises using arduino-esp32:
~ Drive ST7796 SPI TFT with XPT2046 Touch on ESP32-C3-DevKitM-1 (arduino-esp32), using TFT_eSPI.
~ BLE Remote Control between ESP32-S3/C3 using ArduinoBLE Library
~ Drive ILI9341 (8-bit parallel) using ESP32-S3 (ESP32-S3-DevKitC-1) in Arduino Framework
More exercises using arduino-esp32:
~ Drive ST7796 SPI TFT with XPT2046 Touch on ESP32-C3-DevKitM-1 (arduino-esp32), using TFT_eSPI.
~ BLE Remote Control between ESP32-S3/C3 using ArduinoBLE Library
~ Drive ILI9341 (8-bit parallel) using ESP32-S3 (ESP32-S3-DevKitC-1) in Arduino Framework
Comments
Post a Comment