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

What's hot (20)

PPTX
Ardui no
Amol Sakhalkar
 
PDF
ARM CORTEX M3 PPT
Gaurav Verma
 
PPTX
Arduino Microcontroller
Shyam Mohan
 
PPTX
ESP32 IoT presentation @ dev.bg
Martin Harizanov
 
PPTX
Introduction to Node MCU
Amarjeetsingh Thakur
 
PPT
Intro to Arduino
avikdhupar
 
PPTX
Arduino Workshop
atuline
 
PDF
ARM Architecture
Dwight Sabio
 
PDF
Introduction to Microcontroller
Pantech ProLabs India Pvt Ltd
 
PPT
Arduino presentation by_warishusain
student
 
PPTX
Wi-Fi Esp8266 nodemcu
creatjet3d labs
 
PPTX
Introduction to Arduino Hardware and Programming
Emmanuel Obot
 
PDF
1. Introduction to Embedded Systems & IoT
IEEE MIU SB
 
PPT
Introduction to Arduino & Raspberry Pi
Ahmad Hafeezi
 
PDF
Introduction to Arduino Programming
James Lewis
 
PDF
Arduino presentation
Michael Senkow
 
PDF
IoT sensor devices
Roman Staszewski
 
PPTX
Nodemcu - introduction
Michal Sedlak
 
PPTX
Tinkercad Workshop PPT, Dept. of ECE.pptx
JayashreeSelvam5
 
PPTX
Introduction to Arduino
Omer Kilic
 
Ardui no
Amol Sakhalkar
 
ARM CORTEX M3 PPT
Gaurav Verma
 
Arduino Microcontroller
Shyam Mohan
 
ESP32 IoT presentation @ dev.bg
Martin Harizanov
 
Introduction to Node MCU
Amarjeetsingh Thakur
 
Intro to Arduino
avikdhupar
 
Arduino Workshop
atuline
 
ARM Architecture
Dwight Sabio
 
Introduction to Microcontroller
Pantech ProLabs India Pvt Ltd
 
Arduino presentation by_warishusain
student
 
Wi-Fi Esp8266 nodemcu
creatjet3d labs
 
Introduction to Arduino Hardware and Programming
Emmanuel Obot
 
1. Introduction to Embedded Systems & IoT
IEEE MIU SB
 
Introduction to Arduino & Raspberry Pi
Ahmad Hafeezi
 
Introduction to Arduino Programming
James Lewis
 
Arduino presentation
Michael Senkow
 
IoT sensor devices
Roman Staszewski
 
Nodemcu - introduction
Michal Sedlak
 
Tinkercad Workshop PPT, Dept. of ECE.pptx
JayashreeSelvam5
 
Introduction to Arduino
Omer Kilic
 

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

PDF
Esp8266 v12
handson28
 
PDF
Smart Projects With Arduino And Esp32 Integrating Artificial Intelligence Abd...
najuwaabang
 
PPTX
Electronics ESP processors
Leopoldo Armesto
 
PDF
Road to Republic of IoT - ESP32 Programming and LoRa
Andri Yadi
 
PDF
NodeMCU ESP8266 workshop 1
Andy Gelme
 
PPTX
Simple Introduction about ESP32 Presentation
Junido
 
PDF
Rdl esp32 development board trainer kit
Research Design Lab
 
DOCX
Chapter 2.doc
perutho neeku anthipani
 
PPTX
Workshop on IoT and Basic Home Automation_BAIUST.pptx
Redwan Ferdous
 
PDF
IoT simple with the ESP8266 - presented at the July 2015 Austin IoT Hardware ...
David Fowler
 
PDF
esp32-complex-waveform-generator-v3 (1).pdf
Daniel Donatelli
 
PDF
esp32-complex-waveform-generator-v3.pdf
Daniel Donatelli
 
PPTX
ESP32 is a series of low-cost, low-power system on chip microcontrollers with...
TohidKhan29
 
PDF
arduino-esp32-projects.pdf
Daniel Donatelli
 
PPTX
robotics presentation for a club you run
SunilAcharya37
 
PPTX
Getting Started with the NodeMCU- NodeMCU Programming (By Akshet Patel)
AkshetPatel
 
PDF
An introduction to Arduino
Emertxe Information Technologies Pvt Ltd
 
PDF
NodeMCU || Controlling and observing a robotic car with a smartphone through...
Jiangxi University of Science and Technology (江西理工大学)
 
PDF
IOT and embaded_Internship final Report-2.pdf
chandanml127
 
PDF
WiFi mesh network(ESP32 mStar and mesh topology)
Raziuddin Khazi
 
Esp8266 v12
handson28
 
Smart Projects With Arduino And Esp32 Integrating Artificial Intelligence Abd...
najuwaabang
 
Electronics ESP processors
Leopoldo Armesto
 
Road to Republic of IoT - ESP32 Programming and LoRa
Andri Yadi
 
NodeMCU ESP8266 workshop 1
Andy Gelme
 
Simple Introduction about ESP32 Presentation
Junido
 
Rdl esp32 development board trainer kit
Research Design Lab
 
Workshop on IoT and Basic Home Automation_BAIUST.pptx
Redwan Ferdous
 
IoT simple with the ESP8266 - presented at the July 2015 Austin IoT Hardware ...
David Fowler
 
esp32-complex-waveform-generator-v3 (1).pdf
Daniel Donatelli
 
esp32-complex-waveform-generator-v3.pdf
Daniel Donatelli
 
ESP32 is a series of low-cost, low-power system on chip microcontrollers with...
TohidKhan29
 
arduino-esp32-projects.pdf
Daniel Donatelli
 
robotics presentation for a club you run
SunilAcharya37
 
Getting Started with the NodeMCU- NodeMCU Programming (By Akshet Patel)
AkshetPatel
 
An introduction to Arduino
Emertxe Information Technologies Pvt Ltd
 
NodeMCU || Controlling and observing a robotic car with a smartphone through...
Jiangxi University of Science and Technology (江西理工大学)
 
IOT and embaded_Internship final Report-2.pdf
chandanml127
 
WiFi mesh network(ESP32 mStar and mesh topology)
Raziuddin Khazi
 
Ad

Recently uploaded (20)

PDF
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
PPTX
HUMAN RESOURCE MANAGEMENT: RECRUITMENT, SELECTION, PLACEMENT, DEPLOYMENT, TRA...
PRADEEP ABOTHU
 
PPTX
How to Convert an Opportunity into a Quotation in Odoo 18 CRM
Celine George
 
PPTX
I AM MALALA The Girl Who Stood Up for Education and was Shot by the Taliban...
Beena E S
 
PPTX
QUARTER 1 WEEK 2 PLOT, POV AND CONFLICTS
KynaParas
 
PDF
The Different Types of Non-Experimental Research
Thelma Villaflores
 
PPTX
How to Create a PDF Report in Odoo 18 - Odoo Slides
Celine George
 
PPTX
How to Handle Salesperson Commision in Odoo 18 Sales
Celine George
 
PDF
The History of Phone Numbers in Stoke Newington by Billy Thomas
History of Stoke Newington
 
PPTX
PPT-Q1-WEEK-3-SCIENCE-ERevised Matatag Grade 3.pptx
reijhongidayawan02
 
PPTX
Controller Request and Response in Odoo18
Celine George
 
PPTX
Neurodivergent Friendly Schools - Slides from training session
Pooky Knightsmith
 
PPTX
Identifying elements in the story. Arrange the events in the story
geraldineamahido2
 
PPTX
care of patient with elimination needs.pptx
Rekhanjali Gupta
 
PDF
Dimensions of Societal Planning in Commonism
StefanMz
 
PPTX
How to Create Odoo JS Dialog_Popup in Odoo 18
Celine George
 
PDF
Geographical diversity of India short notes by sandeep swamy
Sandeep Swamy
 
PDF
Isharyanti-2025-Cross Language Communication in Indonesian Language
Neny Isharyanti
 
PDF
Characteristics, Strengths and Weaknesses of Quantitative Research.pdf
Thelma Villaflores
 
PPT
Talk on Critical Theory, Part II, Philosophy of Social Sciences
Soraj Hongladarom
 
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
HUMAN RESOURCE MANAGEMENT: RECRUITMENT, SELECTION, PLACEMENT, DEPLOYMENT, TRA...
PRADEEP ABOTHU
 
How to Convert an Opportunity into a Quotation in Odoo 18 CRM
Celine George
 
I AM MALALA The Girl Who Stood Up for Education and was Shot by the Taliban...
Beena E S
 
QUARTER 1 WEEK 2 PLOT, POV AND CONFLICTS
KynaParas
 
The Different Types of Non-Experimental Research
Thelma Villaflores
 
How to Create a PDF Report in Odoo 18 - Odoo Slides
Celine George
 
How to Handle Salesperson Commision in Odoo 18 Sales
Celine George
 
The History of Phone Numbers in Stoke Newington by Billy Thomas
History of Stoke Newington
 
PPT-Q1-WEEK-3-SCIENCE-ERevised Matatag Grade 3.pptx
reijhongidayawan02
 
Controller Request and Response in Odoo18
Celine George
 
Neurodivergent Friendly Schools - Slides from training session
Pooky Knightsmith
 
Identifying elements in the story. Arrange the events in the story
geraldineamahido2
 
care of patient with elimination needs.pptx
Rekhanjali Gupta
 
Dimensions of Societal Planning in Commonism
StefanMz
 
How to Create Odoo JS Dialog_Popup in Odoo 18
Celine George
 
Geographical diversity of India short notes by sandeep swamy
Sandeep Swamy
 
Isharyanti-2025-Cross Language Communication in Indonesian Language
Neny Isharyanti
 
Characteristics, Strengths and Weaknesses of Quantitative Research.pdf
Thelma Villaflores
 
Talk on Critical Theory, Part II, Philosophy of Social Sciences
Soraj Hongladarom
 
Ad

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