Practical 7

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 6

Practical no 7

Aim : STUDY OF ESP32 KIT.

Theory: Introduction to ESP32

ESP32, a dual core MCU from Espressif Systems with integrated Wi-Fi and Bluetooth. If you

worked with ESP8266, then ESP32 is a significant upgrade with a lot more features. This

Getting Started with ESP32 guide is for complete beginners, with or without prior experience in
IoT or ESP8266.

Introduction

Arduino is a great platform for beginners into the World of Microcontrollers and Embedded

Systems. With a lot of cheap sensors and modules, you can make several projects either as a

hobby or even commercial.


As technology advanced, new project ideas and implementations came into play and one

particular concept is the Internet of Things or IoT. It is a connected platform, where several

“things” or devices are connected over internet for exchange of information.

If you want to add Wi-Fi connectivity to your projects, then ESP8266 is a great option. But if

you want build a complete system with Wi-Fi connectivity, Bluetooth connectivity, high

resolution ADCs, DAC, Serial Connectivity and many other features, then ESP32 is the ultimate

choice.

What is ESP32?

ESP32 is a low-cost System on Chip (SoC) Microcontroller from Espressif Systems, the

developers of the famous ESP8266 SoC. It is a successor to ESP8266 SoC and comes in both

single-core and dual-core variations of the Tensilica’s 32-bit Xtensa LX6 Microprocessor with

integrated Wi-Fi and Bluetooth.

The good things about ESP32, like ESP8266 is its integrated RF components like Power

Amplifier, Low-Noise Receive Amplifier, Antenna Switch, Filters and RF. This makes designing

hardware around ESP32 very easy as you require very few external components.
Another important thing to know about ESP32 is that it is manufactured using TSMC’s ultra-

low-power 40 nm technology. So, designing battery operated applications like wearables, audio

equipment, baby monitors, smart watches, etc., using ESP32 should be very easy.

Specifications of ESP32

ESP32 has a lot more features than ESP8266 and it is difficult to include all the specifications in

this Getting Started with ESP32 guide. So, I made a list of some of the important specifications

of ESP32 here. But for complete set of specifications, I strongly suggest you to refer to the

Datasheet.

 Single or Dual-Core 32-bit LX6 Microprocessor with clock frequency up to 240 MHz.

 520 KB of SRAM, 448 KB of ROM and 16 KB of RTC SRAM.

 Supports 802.11 b/g/n Wi-Fi connectivity with speeds up to 150 Mbps.

 Support for both Classic Bluetooth v4.2 and BLE specifications.


 34 Programmable GPIOs.

 Up to 18 channels of 12-bit SAR ADC and 2 channels of 8-bit DAC

 Serial Connectivity include 4 x SPI, 2 x I2C, 2 x I2S, 3 x UART.

 Ethernet MAC for physical LAN Communication (requires external PHY).

 1 Host controller for SD/SDIO/MMC and 1 Slave controller for SDIO/SPI.

 Motor PWM and up to 16-channels of LED PWM.

 Secure Boot and Flash Encryption.

 Cryptographic Hardware Acceleration for AES, Hash (SHA-2), RSA, ECC and RNG.
Layout

We will see what a typical ESP32 Development Board consists of by taking a look at the layout

of one of the popular low-cost ESP Boards available in the market called the ESP32 DevKit

Board.

The following image shows the layout of an ESP32 Development Board which I have. There are

many ESP32 Boards based on ESP-WROOM-32 Module available in the market. The layout,

pinout and features vary from board to board.

The board which I have has 30 Pins (15 pins on each side). There are some board with 36 Pins

and some with slightly less Pins. So, double check the pins before making connections or even

powering up the board.


As you can see from the image, the ESP32 Board consists of the following:

 ESP-WROOM-32 Module

 Two rows of IO Pins (with 15 pins on each side)

 CP2012 USB – UART Bridge IC

 micro–USB Connector (for power and programming)

 AMS1117 3.3V Regulator IC

 Enable Button (for Reset)

 Boot Button (for flashing)

 Power LED (Red)

 User LED (Blue – connected to GPIO2)

 Some passive components

An interesting point about the USB-to-UART IC is that its DTR and RTS pins are used to

automatically set the ESP32 in to programming mode (whenever required) and also rest the

board after programming.

Conclusion :---

You might also like