Posted on 1 Comment

ESP32 Development Board Introduction

ESP32 is a single 2.4 GHz Wi-Fi-and-Bluetooth combo chip designed with the TSMC ultra-low-power 40 nm technology. It is designed to achieve the best power and RF performance, showing robustness, versatility and reliability in a wide variety of applications and power scenarios. The ESP32 series of chips includes ESP32-D0WDQ6, ESP32-D0WD, ESP32-D2WD, and ESP32-S0WD.

What is ESP32 Development Board

ESP32 is a single 2.4 GHz Wi-Fi-and-Bluetooth combo chip designed with the TSMC ultra-low-power 40 nm technology. It is designed to achieve the best power and RF performance, showing robustness, versatility and reliability in a wide variety of applications and power scenarios. The ESP32 series of chips includes ESP32-D0WDQ6, ESP32-D0WD, ESP32-D2WD, and ESP32-S0WD.

For details on part numbers and ordering information, please refer to Part Number and Ordering Information.

ESP32 datasheet

ESP32 Pinout &Configuration

ESP32 pinouts and pin configurations are as shown in the table.

Pin CategoryPin NameDetails
PowerMicro-USB, 3.3V, 5V, GNDMicro-USB: ESP32 can be powered through USB port5V: Regulated 5V can be supplied to this pin which is we be again regulated to 3.3V by on board regulator, to power the board.3.3V: Regulated 3.3V can be supplied to this pin to power the board.GND: Ground pins.
EnableEnThe pin and the button resets the microcontroller.
Analog PinsADC1_0 to ADC1_5 and ADC2_0 to ADC2_9Used to measure analog voltage in the range of 0-3.3V.12-bit 18 Channel ADC
DAC pinsDAC1 and DAC2Used for Digital to analog Conversion
Input/Output PinsGPIO0 to GPIO39Totally 39 GPIO pins, can be used as input or output pins. 0V (low) and 3.3V (high). But pins 34 to 39 can be used as input only
Capacitive Touch pinsT0 to T9These 10 pins can be used a touch pins normally used for capacitive pads
RTC GPIO pinsRTCIO0 to RTCIO17These 18 GPIO pins can be used to wake up the ESP32 from deep sleep mode.
SerialRx, TxUsed to receive and transmit TTL serial data.
External InterruptsAll GPIOAny GPIO can be use to trigger an interrupt.
PWMAll GPIO16 independent channel is available for PWM any GPIO can be made to work as PWM though software
VSPIGPIO23 (MOSI), GPIO19(MISO), GPIO18(CLK) and GPIO5 (CS)Used for SPI-1 communication.
HSPIGPIO13 (MOSI), GPIO12(MISO), GPIO14(CLK) and GPIO15 (CS)Used for SPI-2 communication.
IICGPIO21(SDA), GPIO22(SCL)Used for I2C communication.
AREFAREFTo provide reference voltage for input voltage.
ESP32-Pinout
ESP32-Pinout

ESP32 Technical Specifications

MicroprocessorTensilica Xtensa LX6
Maximum Operating Frequency240MHz
Operating Voltage3.3V
Analog Input Pins12-bit, 18 Channel
DAC Pins8-bit, 2 Channel
Digital I/O Pins39 (of which 34 is normal GPIO pin)
DC Current on I/O Pins40 mA
DC Current on 3.3V Pin50 mA
SRAM520 KB
CommunicationSPI(4), I2C(2), I2S(2), CAN, UART(3)
Wi-Fi802.11 b/g/n
BluetoothV4.2 – Supports BLE and Classic Bluetooth
ESP32 specifications

How does a ESP32 work?

Esp32’s local programming platform is esp-idf, but most beginners use Arduino ide because it’s easy to use. If you want to use the native platform, check out the official Getting Started Guide for espressif itself. If you are using the Arduino IDE, you can upload the first program to esp32 in almost 5-10 minutes. You only need Arduino IDE, USB cable and esp32 board itself. You can view this Arduino esp32 guide to prepare Arduino for esp32.Like all voltage comparators, lm311 has a reverse pin and a non reverse pin. If the voltage on the in-phase terminal (pin 2) is higher than the reverse phase terminal (pin 2), the output (pin 7) will also be high, otherwise the output will be low.

Once arduino IDE is installed on the computer, connect the board with computer using USB cable. Now open the arduino IDE and choose the correct board by selecting Tools>Boards>ESP32 Dev kit, and choose the correct Port by selecting Tools>Port. To get it started with ESP32 board and blink the built-in LED, load the example code by selecting Files>Examples>Basics>Blink. Once the example code (also shown below) is loaded into your IDE, click on the ‘upload’ button given on the top bar. Once the upload is finished, you should see the ESP32’s  built-in LED blinking. Below is the example code for blinking:

int LED_BUILTIN = 2;
void setup() {
pinMode (LED_BUILTIN, OUTPUT);
}
void loop() {
digitalWrite(LED_BUILTIN, HIGH);
delay(1000);
digitalWrite(LED_BUILTIN, LOW);
delay(1000);
}

Where to use the ESP32 development board

The lm311 differential comparison operational amplifier is a very old Ti comparison IC which has been used in voltage comparison with electronic design for a long time. Any operational amplifier can be used as a voltage comparator, but lm311 proves its advantage by placing an output transistor in its package. The collector and emitter pins of the transistor can also be controlled by hardware, which makes it suitable for many applications.

The transistor can drive loads up to 50V and 50mA, and is suitable for driving most TTL, MOS and RTL loads. Transistors also insulate the load from the system ground, so if you are looking for a voltage comparator to drive these specifications of the load, the IC may be the right choice for you.

ESP32 Applications

  • Generic low-power IoT sensor hub
  • Generic low-power IoT loggers
  • Cameras for video streaming
  • Over The Top (OTT) devices
  • Music players
  • Wi-Fi-enabled toys
  • Wi-Fi-enabled speech recognition devices
  • Audio headsets
  • Smart power plugs
  • Home automation
  • Mesh network
  • Industrial wireless control
  • Baby monitors
  • Wearable electronics
  • Wi-Fi-enabled location-tracking devices
  • Security ID tags
  • Healthcare

That’s all for today. Hope you enjoyed this article. However, if you have doubts or have any questions about this, you can contact me in the comments section below. I’ll be happy to help you as best I can. Let us know your feedback and suggestions at any time, they allow us to provide you with high-quality work that responds to your needs and expectations, and helps you continue to give back to our products. Thank you for reading this article.

Advertisements

1 thought on “ESP32 Development Board Introduction

  1. […] the last page”ESP32 Development Board Introduction” show, ESP32 is a single 2.4 GHz Wi-Fi-and-Bluetooth combo chip designed with the TSMC […]

Leave a Reply