This is a basic tutorial of ESP32. It is a General Introduction of ESP32. How to install ESP32 in Ardunio IDE this tutorial of Robo India is explaining.
Detailed Tutorial
1. Introduction:
ESP32 is a series of low cost, low power system on a chip microcontroller with integrated Wi-Fi & dual-mode Bluetooth. It is designed to achieve the best power and RF performance, robustness, versatility, and reliability in a wide variety of applications such as voice encoding, music streaming and MP3 decoding
2. Requirement:
Before getting started to run and develop firmware applications on your ESP32, there are some hardware and software requirements.
2.1 Hardware Required:
- An ESP32 development board or ESP-WROOM-03(build-in ESP32).
- A USB TTL Serial cable or a Micro-USB cable.
2.2 Software Required:
- Windows
- Arduino IDE 1.6.12
3.How to connect the ESP32 with Ardunio IDE
3.1 Download the ESP32 as this link and then Unzip all this files
You may download the ESP32 Library from here.
3.2 If you Install Arduino IDE already. Find the path of Arduino IDE Installation directory.
Example :-
My Computer in C:/Program Files (x86)/Arduino/hardware
3.3 Make New folder name espressif in the hardware directory
3.4 And make subfolder in espressif folder name esp32
3.5 Then copy all files from download into this directory. ( esp32 )
3.6 Go into the Tools directory and open the get.exe file and wait for it to prepare the file.
Use Command Line in Command Prompt
cd hardware mkdir espressif cd espressif git clone https://github.com/espressif/arduino-esp32.git esp32
3.7) Than open Arduino IDE >Go to tools > Board ESP32 Dev Module and Select port
4. To Test Compile and Upload Simple Code
You may download this code (Arduino Code) from here.
int ledPin = 5; void setup() { pinMode(ledPin, OUTPUT); Serial.begin(115200); } void loop() { Serial.println("Hello, world!"); digitalWrite(ledPin, HIGH); delay(500); digitalWrite(ledPin, LOW); delay(500); }
5. Output.
If you have any query please write us at support@roboindia.com
Thanks and Regards
Content Development Team
Robo India
https://roboindia.com