SlideShare a Scribd company logo
2
Most read
3
Most read
9
Most read
1 www.handsontec.com
Handson Technology
User Guide
ESP32 - WiFi & Bluetooth SoC Module
Created by Espressif Systems, ESP32 is a low-cost, low-power system on a chip (SoC) series with Wi-Fi & dual-mode
Bluetooth capabilities! At its heart, there's a dual-core or single-core Tensilica Xtensa LX6 microprocessor with a
clock rate of up to 240MHz. ESP32 is highly integrated with built-in antenna switches, RF balun, power amplifier,
low-noise receive amplifier, filters, and power management modules. Engineered for mobile devices, wearable
electronics, and IoT applications, ESP32 achieves ultra-low power consumption through power saving features
including fine resolution clock gating, multiple power modes, and dynamic power scaling.
SKU: MDU-1067
Specifications:
 Main processor: Tensilica Xtensa 32-bit LX6.
 Wi-Fi: 802.11 b/g/n/e/i (802.11n @ 2.4 GHz up to 150 Mbit/s).
 Bluetooth: v4.2 BR/EDR and Bluetooth Low Energy (BLE).
 Performance: up to 600DMIPS.
 ROM: 448KB, for booting and core functions.
 SRAM: 520KiB, for data and instruction.
2 www.handsontec.com
ESP32 Module Pinout:
3 www.handsontec.com
Integrating ESP32 with Arduino IDE Environment :
The ESP32 is currently being integrated with the Arduino IDE just like it was done for the ESP8266. This
add-on for the Arduino IDE allows you to program the ESP32 using the Arduino IDE and its programming
language.
Let’s get started!
Installing Python 2.7.x
Having the latest Arduino IDE software installed from arduino.cc/en/Main/Software. Follow these next
instructions:
1) Go to Python website and download the 2.7.x version for Windows:
https://www.python.org/downloads
2) Open the file and follow the installation wizard
3) Choose the option “Install for all users”
4) In Customize Python 2.7.X, you must enable the last option “Add python.exe to Path”
4 www.handsontec.com
Installing Git
Having Git is optional, but it’s easier to download an prepare everything through Git’s Bash. Follow these
next steps:
1) Download and install Git and Git GUI from git-scm.com (it may take a while depending on your
systems and network speed…)
2) Launch Git GUI and select the Clone Existing Repository option:
3) Then, select the source and destination:
 Source Location: https://github.com/espressif/arduino-esp32.git
 Target Directory: Your_Arduino_IDE_Folder_Path/hardware/espressif/esp32 (in author’s case,
it looks like: C:/Users/ruisantos/Documents/Programs/arduino/hardware/espressif/esp32)
 Press the “Clone” button
4) Open the folder: Your_Arduino_IDE_Folder_Path/hardware/espressif/esp32/tools
5 www.handsontec.com
5) Open the “get.exe” file and wait for it to download/prepare the files
The above installation may take a while to complete depending on your computer systems and network
speed…
Testing the Installation
Plug your ESP32 dev board to your computer.
1) Open Arduino IDE
2) Select your board in Tools > Board menu (in author’s case it’s the ESP32 Dev Module)
6 www.handsontec.com
3) Select the COM port
4) Open one of these examples under File > Examples > WiFi (ESP32) > WiFi Scan
5) To make your ESP32 go into downloading/uploading mode: hold the BOOT button and press the
EN button to reboot your ESP32
6) Press the Upload button in the Arduino IDE and wait a few seconds while the code compiles and
uploads to your board. If everything is correct this what you should see:
7 www.handsontec.com
7) Open the Arduino IDE serial monitor at a baud rate of 115200 to see the WiFi networks available
near your ESP32:
This is a very basic tutorial that illustrates how to prepare your Arduino IDE for the ESP32 on a Windows
PC.
8 www.handsontec.com
Simple Program to Run in Arduino IDE:
In this example, you’re going to connect an LED and a pushbutton to the ESP32. The code is very simple
when you hold the pushbutton down it turns the LED on and when you release it turns the LED off.
Assemble all the parts as in the schematics below:
Copy the following code to your Arduino IDE and upload it to your ESP32 Dev Module.
/*
* Handson Technology www.handsontec.com
* Ardino IDE Example: Arduino button with LED
*/
// constants won't change. They're used here to
// set pin numbers:
const int buttonPin = 4; // the number of the pushbutton pin
const int ledPin = 16; // the number of the LED pin
// variables will change:
int buttonState = 0; // variable for reading the pushbutton status
void setup() {
// initialize the LED pin as an output:
pinMode(ledPin, OUTPUT);
// initialize the pushbutton pin as an input:
pinMode(buttonPin, INPUT);
}
void loop() {
// read the state of the pushbutton value:
buttonState = digitalRead(buttonPin);
// check if the pushbutton is pressed.
// if it is, the buttonState is HIGH:
if (buttonState == HIGH) {
// turn LED on:
9 www.handsontec.com
digitalWrite(ledPin, HIGH);
} else {
// turn LED off:
digitalWrite(ledPin, LOW);
}
}
Refer to previous section on how to put the ESP32 into downloading/uploading mode. Once success upload
the sketch, pressing the pushbutton will turn on the LED, releasing the pushbutton will turn off the LED.
Web Resources:
 http://esp32.net/
10 www.handsontec.com
Handson Technology
Data Specs
Buying Guide
Arduino Uno HX711 Load Cell Sensor ADC Module 10KG Load Cell
ESP32 Lua Nodemcu
WIFI/Bluetooth Module ESP8266 Lua Nodemcu WIFI Module
ESP8266 Module Bread Board
Friendly
11 www.handsontec.com
Handsontec.com
We have the parts for your ideas
HandsOn Technology provides a multimedia and interactive platform for
everyone interested in electronics. From beginner to diehard, from student
to lecturer. Information, education, inspiration and entertainment. Analog
and digital, practical and theoretical; software and hardware.
HandsOn Technology support Open Source Hardware (OSHW) Development
Platform.
Learn : Design : Share
www.handsontec.com
12 www.handsontec.com
The Face behind our product quality…
In a world of constant change and continuous technological development, a new or replacement
product is never far away – and they all need to be tested.
Many vendors simply import and sell wihtout checks and this cannot be the ultimate interests of
anyone, particularly the customer. Every part sell on Handsotec is fully tested. So when buying from
Handsontec products range, you can be confident you’re getting outstanding quality and value.
We keep adding the new parts so that you can get rolling on your next project.
Breakout Boards & Modules Connectors Electro-Mechanical Parts
Engineering Material Mechanical Hardware
P
Electronics Components
Power Supply Arduino Board & Shield Tools & Accessory

More Related Content

PPTX
Simple Introduction about ESP32 Presentation
PDF
Esp8266 basics
PPTX
Nodemcu - introduction
PPTX
ESP32 IoT presentation @ dev.bg
PDF
Introduction to Arduino Programming: Features of Arduino
PDF
lesson2 - Nodemcu course - NodeMCU dev Board
PDF
IoT Programming on the Raspberry Pi
PDF
Introduction to intel galileo board gen2
Simple Introduction about ESP32 Presentation
Esp8266 basics
Nodemcu - introduction
ESP32 IoT presentation @ dev.bg
Introduction to Arduino Programming: Features of Arduino
lesson2 - Nodemcu course - NodeMCU dev Board
IoT Programming on the Raspberry Pi
Introduction to intel galileo board gen2

What's hot (20)

PPTX
Esp8266 NodeMCU
PPT
Embedded System Basics
PDF
Introduction to ESP32 Programming [Road to RIoT 2017]
PPTX
Arduino
PPTX
Embedded systems ppt
PPT
8051 MICROCONTROLLER
PDF
ESP8266 and IOT
PPT
Arduino
ODP
Introduction to Arduino
PPTX
Wi-Fi Esp8266 nodemcu
PPTX
Embedded Hardware Design.pptx
PPS
Arduino Uno Pin Description
PPTX
Ardui no
PPTX
CONTROLLING HOME APPLIANCES WITH IOT,BLYNK APP & NODE MCU
PPTX
Raspberry pi
PPTX
embedded system and AVR
PPTX
SMART HOME AUTOMATION USING MOBILE APPLICATION
PDF
Embedded system in Smart Cards
PPTX
Introduction to Arduino
PDF
1. Introduction to Embedded Systems & IoT
Esp8266 NodeMCU
Embedded System Basics
Introduction to ESP32 Programming [Road to RIoT 2017]
Arduino
Embedded systems ppt
8051 MICROCONTROLLER
ESP8266 and IOT
Arduino
Introduction to Arduino
Wi-Fi Esp8266 nodemcu
Embedded Hardware Design.pptx
Arduino Uno Pin Description
Ardui no
CONTROLLING HOME APPLIANCES WITH IOT,BLYNK APP & NODE MCU
Raspberry pi
embedded system and AVR
SMART HOME AUTOMATION USING MOBILE APPLICATION
Embedded system in Smart Cards
Introduction to Arduino
1. Introduction to Embedded Systems & IoT
Ad

Similar to ESP32 WiFi & Bluetooth Module - Getting Started Guide (20)

PDF
Esp8266 v12
PDF
Smart Projects With Arduino And Esp32 Integrating Artificial Intelligence Abd...
PPTX
Electronics ESP processors
PDF
Road to Republic of IoT - ESP32 Programming and LoRa
PDF
NodeMCU ESP8266 workshop 1
PDF
Rdl esp32 development board trainer kit
DOCX
PPTX
Workshop on IoT and Basic Home Automation_BAIUST.pptx
PDF
IoT simple with the ESP8266 - presented at the July 2015 Austin IoT Hardware ...
PPT
WIRELESS COMMUNICATIONAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
PDF
esp32-complex-waveform-generator-v3 (1).pdf
PDF
esp32-complex-waveform-generator-v3.pdf
PPTX
ESP32 is a series of low-cost, low-power system on chip microcontrollers with...
PDF
arduino-esp32-projects.pdf
PPTX
robotics presentation for a club you run
PPTX
Getting Started with the NodeMCU- NodeMCU Programming (By Akshet Patel)
PDF
An introduction to Arduino
PDF
NodeMCU || Controlling and observing a robotic car with a smartphone through...
PDF
IOT and embaded_Internship final Report-2.pdf
PDF
WiFi mesh network(ESP32 mStar and mesh topology)
Esp8266 v12
Smart Projects With Arduino And Esp32 Integrating Artificial Intelligence Abd...
Electronics ESP processors
Road to Republic of IoT - ESP32 Programming and LoRa
NodeMCU ESP8266 workshop 1
Rdl esp32 development board trainer kit
Workshop on IoT and Basic Home Automation_BAIUST.pptx
IoT simple with the ESP8266 - presented at the July 2015 Austin IoT Hardware ...
WIRELESS COMMUNICATIONAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
esp32-complex-waveform-generator-v3 (1).pdf
esp32-complex-waveform-generator-v3.pdf
ESP32 is a series of low-cost, low-power system on chip microcontrollers with...
arduino-esp32-projects.pdf
robotics presentation for a club you run
Getting Started with the NodeMCU- NodeMCU Programming (By Akshet Patel)
An introduction to Arduino
NodeMCU || Controlling and observing a robotic car with a smartphone through...
IOT and embaded_Internship final Report-2.pdf
WiFi mesh network(ESP32 mStar and mesh topology)
Ad

Recently uploaded (20)

PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
Microbial disease of the cardiovascular and lymphatic systems
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
VCE English Exam - Section C Student Revision Booklet
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
01-Introduction-to-Information-Management.pdf
PPTX
PPH.pptx obstetrics and gynecology in nursing
PPTX
Lesson notes of climatology university.
PPTX
Cell Types and Its function , kingdom of life
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PPTX
Cell Structure & Organelles in detailed.
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
TR - Agricultural Crops Production NC III.pdf
Microbial disease of the cardiovascular and lymphatic systems
Pharmacology of Heart Failure /Pharmacotherapy of CHF
STATICS OF THE RIGID BODIES Hibbelers.pdf
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
VCE English Exam - Section C Student Revision Booklet
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
102 student loan defaulters named and shamed – Is someone you know on the list?
01-Introduction-to-Information-Management.pdf
PPH.pptx obstetrics and gynecology in nursing
Lesson notes of climatology university.
Cell Types and Its function , kingdom of life
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
human mycosis Human fungal infections are called human mycosis..pptx
Cell Structure & Organelles in detailed.
school management -TNTEU- B.Ed., Semester II Unit 1.pptx

ESP32 WiFi & Bluetooth Module - Getting Started Guide

  • 1. 1 www.handsontec.com Handson Technology User Guide ESP32 - WiFi & Bluetooth SoC Module Created by Espressif Systems, ESP32 is a low-cost, low-power system on a chip (SoC) series with Wi-Fi & dual-mode Bluetooth capabilities! At its heart, there's a dual-core or single-core Tensilica Xtensa LX6 microprocessor with a clock rate of up to 240MHz. ESP32 is highly integrated with built-in antenna switches, RF balun, power amplifier, low-noise receive amplifier, filters, and power management modules. Engineered for mobile devices, wearable electronics, and IoT applications, ESP32 achieves ultra-low power consumption through power saving features including fine resolution clock gating, multiple power modes, and dynamic power scaling. SKU: MDU-1067 Specifications:  Main processor: Tensilica Xtensa 32-bit LX6.  Wi-Fi: 802.11 b/g/n/e/i (802.11n @ 2.4 GHz up to 150 Mbit/s).  Bluetooth: v4.2 BR/EDR and Bluetooth Low Energy (BLE).  Performance: up to 600DMIPS.  ROM: 448KB, for booting and core functions.  SRAM: 520KiB, for data and instruction.
  • 3. 3 www.handsontec.com Integrating ESP32 with Arduino IDE Environment : The ESP32 is currently being integrated with the Arduino IDE just like it was done for the ESP8266. This add-on for the Arduino IDE allows you to program the ESP32 using the Arduino IDE and its programming language. Let’s get started! Installing Python 2.7.x Having the latest Arduino IDE software installed from arduino.cc/en/Main/Software. Follow these next instructions: 1) Go to Python website and download the 2.7.x version for Windows: https://www.python.org/downloads 2) Open the file and follow the installation wizard 3) Choose the option “Install for all users” 4) In Customize Python 2.7.X, you must enable the last option “Add python.exe to Path”
  • 4. 4 www.handsontec.com Installing Git Having Git is optional, but it’s easier to download an prepare everything through Git’s Bash. Follow these next steps: 1) Download and install Git and Git GUI from git-scm.com (it may take a while depending on your systems and network speed…) 2) Launch Git GUI and select the Clone Existing Repository option: 3) Then, select the source and destination:  Source Location: https://github.com/espressif/arduino-esp32.git  Target Directory: Your_Arduino_IDE_Folder_Path/hardware/espressif/esp32 (in author’s case, it looks like: C:/Users/ruisantos/Documents/Programs/arduino/hardware/espressif/esp32)  Press the “Clone” button 4) Open the folder: Your_Arduino_IDE_Folder_Path/hardware/espressif/esp32/tools
  • 5. 5 www.handsontec.com 5) Open the “get.exe” file and wait for it to download/prepare the files The above installation may take a while to complete depending on your computer systems and network speed… Testing the Installation Plug your ESP32 dev board to your computer. 1) Open Arduino IDE 2) Select your board in Tools > Board menu (in author’s case it’s the ESP32 Dev Module)
  • 6. 6 www.handsontec.com 3) Select the COM port 4) Open one of these examples under File > Examples > WiFi (ESP32) > WiFi Scan 5) To make your ESP32 go into downloading/uploading mode: hold the BOOT button and press the EN button to reboot your ESP32 6) Press the Upload button in the Arduino IDE and wait a few seconds while the code compiles and uploads to your board. If everything is correct this what you should see:
  • 7. 7 www.handsontec.com 7) Open the Arduino IDE serial monitor at a baud rate of 115200 to see the WiFi networks available near your ESP32: This is a very basic tutorial that illustrates how to prepare your Arduino IDE for the ESP32 on a Windows PC.
  • 8. 8 www.handsontec.com Simple Program to Run in Arduino IDE: In this example, you’re going to connect an LED and a pushbutton to the ESP32. The code is very simple when you hold the pushbutton down it turns the LED on and when you release it turns the LED off. Assemble all the parts as in the schematics below: Copy the following code to your Arduino IDE and upload it to your ESP32 Dev Module. /* * Handson Technology www.handsontec.com * Ardino IDE Example: Arduino button with LED */ // constants won't change. They're used here to // set pin numbers: const int buttonPin = 4; // the number of the pushbutton pin const int ledPin = 16; // the number of the LED pin // variables will change: int buttonState = 0; // variable for reading the pushbutton status void setup() { // initialize the LED pin as an output: pinMode(ledPin, OUTPUT); // initialize the pushbutton pin as an input: pinMode(buttonPin, INPUT); } void loop() { // read the state of the pushbutton value: buttonState = digitalRead(buttonPin); // check if the pushbutton is pressed. // if it is, the buttonState is HIGH: if (buttonState == HIGH) { // turn LED on:
  • 9. 9 www.handsontec.com digitalWrite(ledPin, HIGH); } else { // turn LED off: digitalWrite(ledPin, LOW); } } Refer to previous section on how to put the ESP32 into downloading/uploading mode. Once success upload the sketch, pressing the pushbutton will turn on the LED, releasing the pushbutton will turn off the LED. Web Resources:  http://esp32.net/
  • 10. 10 www.handsontec.com Handson Technology Data Specs Buying Guide Arduino Uno HX711 Load Cell Sensor ADC Module 10KG Load Cell ESP32 Lua Nodemcu WIFI/Bluetooth Module ESP8266 Lua Nodemcu WIFI Module ESP8266 Module Bread Board Friendly
  • 11. 11 www.handsontec.com Handsontec.com We have the parts for your ideas HandsOn Technology provides a multimedia and interactive platform for everyone interested in electronics. From beginner to diehard, from student to lecturer. Information, education, inspiration and entertainment. Analog and digital, practical and theoretical; software and hardware. HandsOn Technology support Open Source Hardware (OSHW) Development Platform. Learn : Design : Share www.handsontec.com
  • 12. 12 www.handsontec.com The Face behind our product quality… In a world of constant change and continuous technological development, a new or replacement product is never far away – and they all need to be tested. Many vendors simply import and sell wihtout checks and this cannot be the ultimate interests of anyone, particularly the customer. Every part sell on Handsotec is fully tested. So when buying from Handsontec products range, you can be confident you’re getting outstanding quality and value. We keep adding the new parts so that you can get rolling on your next project. Breakout Boards & Modules Connectors Electro-Mechanical Parts Engineering Material Mechanical Hardware P Electronics Components Power Supply Arduino Board & Shield Tools & Accessory