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

PDF
Introduction to ESP32 Programming [Road to RIoT 2017]
PDF
Solution manual 8051 microcontroller by mazidi
PPT
Cloud computing simple ppt
PDF
Raspberry Pi
PPTX
Power system protection
PDF
Mythology Quiz-16th April 2023, Quiz Club NITW
PPTX
PDF
Internet of Things – IoT_انترنت الأشياء.pdf
Introduction to ESP32 Programming [Road to RIoT 2017]
Solution manual 8051 microcontroller by mazidi
Cloud computing simple ppt
Raspberry Pi
Power system protection
Mythology Quiz-16th April 2023, Quiz Club NITW
Internet of Things – IoT_انترنت الأشياء.pdf

What's hot (20)

PDF
Arduino Workshop Day 2 - Advance Arduino & DIY
PPTX
Ardui no
PPTX
Arduino course
PPS
Arduino Uno Pin Description
PPTX
Wi-Fi Esp8266 nodemcu
PPTX
Arduino
PPT
Intro to Arduino
PPTX
Introduction to the Arduino
PDF
Esp32 cam arduino-123
PPTX
Nodemcu - introduction
PPTX
Introduction to Arduino
PPTX
Arduino vs Raspberry Pi
PPTX
Arduino Microcontroller
PDF
lesson2 - Nodemcu course - NodeMCU dev Board
PDF
ARM 32-bit Microcontroller Cortex-M3 introduction
PDF
Introduction to Raspberrypi
PPTX
Embedded systems
PPTX
Introduction to arduino ppt main
PPTX
Tinker cad intro
PPTX
Arduino and c programming
Arduino Workshop Day 2 - Advance Arduino & DIY
Ardui no
Arduino course
Arduino Uno Pin Description
Wi-Fi Esp8266 nodemcu
Arduino
Intro to Arduino
Introduction to the Arduino
Esp32 cam arduino-123
Nodemcu - introduction
Introduction to Arduino
Arduino vs Raspberry Pi
Arduino Microcontroller
lesson2 - Nodemcu course - NodeMCU dev Board
ARM 32-bit Microcontroller Cortex-M3 introduction
Introduction to Raspberrypi
Embedded systems
Introduction to arduino ppt main
Tinker cad intro
Arduino and c programming
Ad

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

PDF
WiFi mesh network(ESP32 mStar and mesh topology)
PDF
Smart Projects With Arduino And Esp32 Integrating Artificial Intelligence Abd...
DOCX
PDF
Digital home automation with arduino bluetooth
PPT
RAHUL NASKAR IOT.ppt
PPTX
Taller IoT en la Actualidad
PDF
manual Internet of ThingsArduino_IOTArdu
PDF
DeviceHub - First steps using Intel Edison
PDF
Practical Introduction to Internet of Things (IoT)
PDF
NodeMCU || Controlling and observing a robotic car with a smartphone through...
PPTX
Lab Handson: Power your Creations with Intel Edison!
PPTX
Workshop on IoT and Basic Home Automation_BAIUST.pptx
PPTX
micocontolle based stem in the age of lton
PDF
IOT and embaded_Internship final Report-2.pdf
PDF
Esp8266 v12
PPTX
Internet of Things prescribed by University
PDF
Adafruit Huzzah Esp8266 WiFi Board
PPTX
Getting started with Intel IoT Developer Kit
PPTX
Electronics ESP processors
PPT
XBee and RFID
WiFi mesh network(ESP32 mStar and mesh topology)
Smart Projects With Arduino And Esp32 Integrating Artificial Intelligence Abd...
Digital home automation with arduino bluetooth
RAHUL NASKAR IOT.ppt
Taller IoT en la Actualidad
manual Internet of ThingsArduino_IOTArdu
DeviceHub - First steps using Intel Edison
Practical Introduction to Internet of Things (IoT)
NodeMCU || Controlling and observing a robotic car with a smartphone through...
Lab Handson: Power your Creations with Intel Edison!
Workshop on IoT and Basic Home Automation_BAIUST.pptx
micocontolle based stem in the age of lton
IOT and embaded_Internship final Report-2.pdf
Esp8266 v12
Internet of Things prescribed by University
Adafruit Huzzah Esp8266 WiFi Board
Getting started with Intel IoT Developer Kit
Electronics ESP processors
XBee and RFID
Ad

Recently uploaded (20)

PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PPTX
Onica Farming 24rsclub profitable farm business
PPTX
Cardiovascular Pharmacology for pharmacy students.pptx
PPTX
Cell Structure & Organelles in detailed.
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
Module 3: Health Systems Tutorial Slides S2 2025
PDF
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
Revamp in MTO Odoo 18 Inventory - Odoo Slides
PDF
Business Ethics Teaching Materials for college
PDF
Electrolyte Disturbances and Fluid Management A clinical and physiological ap...
PPTX
UNDER FIVE CLINICS OR WELL BABY CLINICS.pptx
PDF
The Final Stretch: How to Release a Game and Not Die in the Process.
PDF
Mga Unang Hakbang Tungo Sa Tao by Joe Vibar Nero.pdf
PPTX
Pharma ospi slides which help in ospi learning
PPTX
How to Manage Starshipit in Odoo 18 - Odoo Slides
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PPTX
Open Quiz Monsoon Mind Game Final Set.pptx
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
O7-L3 Supply Chain Operations - ICLT Program
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Onica Farming 24rsclub profitable farm business
Cardiovascular Pharmacology for pharmacy students.pptx
Cell Structure & Organelles in detailed.
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Module 3: Health Systems Tutorial Slides S2 2025
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Revamp in MTO Odoo 18 Inventory - Odoo Slides
Business Ethics Teaching Materials for college
Electrolyte Disturbances and Fluid Management A clinical and physiological ap...
UNDER FIVE CLINICS OR WELL BABY CLINICS.pptx
The Final Stretch: How to Release a Game and Not Die in the Process.
Mga Unang Hakbang Tungo Sa Tao by Joe Vibar Nero.pdf
Pharma ospi slides which help in ospi learning
How to Manage Starshipit in Odoo 18 - Odoo Slides
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Open Quiz Monsoon Mind Game Final Set.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