EN / USD
34 Items
 Home
Blog
ESP32 Low Power Modes
Purpose of low power modes, Low power modes in ESP32, Active mode, Modem sleep mode, Light sleep mode, Deep sleep mode, Hibernation mode, Implementation of deep sleep mode and wakeup using capacitive touch sensitive pins, Arduino IDE code, Implementation of deep sleep mode and wakeup using interrupt method, Code description
Hello readers, hope you all are doing great. In this tutorial, we will discuss low power modes in ESP32, their purpose and their implementation to increase the battery life by reducing power consumption. Purpose of Low Power Modes Fig.1 Along with multiple wireless and processing features, ESP32 also provides us with a power-saving feature by offering sleep modes. When you are powering the ESP32 module from the live supply using an adaptor or a USB cable, there is nothing to worry about power consumption. But when you are using a battery, as a power source to ESP32, you need to manage the power consumption for longer battery life. Low Power Modes in ESP32 When ESP32 is in sleep mode, a small amount of power is required to maintain the state of ...
Blog
ESP32 Web Socket Server
What is a web socket server, How web socket protocol is different from HTTP protocol, What is hand shaking in networking, Three-way handshaking, Web socket application, Creating web socket server using ESP32 module, Code Testing, Web socket client
Hello readers, hope you all are doing great. In this tutorial, we will discuss another ESP32 protocol that is Web Socket and we will also explain how to create a web server using web socket protocol with ESP32. So, we will have a look at What is a web socket server, How web socket protocol is different from HTTP protocol, What is handshaking in networking, Three-way handshaking, Web socket application, Creating web socket server using ESP32 module etc. Let's get started: What is a web socket protocol? Fig 1 Web-socket server A Web Socket is a full-duplex (both the server and the client can send and receive data at the same time) computer communication protocol. Web socket protocol, like HTTP (hypertext transfer protocol), also works in server an ...
Blog
ESP32 OTA (Over The Air) Programming
Over the air (OTA) programming, Applications of OTA, How does OTA work, Implementing OTA update feature using ESP32, Code description, Uploading new program into ESP32 module over the air, ESP32 OTA
Hello readers, hope you all are doing great. In this tutorial, we are going to discuss a mechanism that allows users to update the ESP32 with a new program wirelessly or over the air (without using a USB cable to upload a new program). Over-The-Air (OTA) programming Fig. 1 ESP32 OTA OTA programming is the mean by which a product manufacturer or product service provider can update the features or functionality of the device wirelessly or over the air, after the device has been deployed in the field where connecting a cable or uploading the code serially is difficult. One key advantage of OTA is that a single central node can send an update to multiple ESPs on the same network. The device must have a provisioning client capable of receivin ...
Blog
Reading Data from Firebase Database with ESP32
Reading Data from Firebase Database with ESP32, firebase esp32, esp32 firebase, esp32 firebase data read, read data from firebase esp32, esp32 firebase data reading
Internet of Things is a system of multiple inter-related computing devices. The factor ‘thing’ in IoT is designated to an entity capable of communicating data over a network (IOT), which can be a digital machine, sensor, human being, animals etc. Each component that is included in IoT network is assigned with an unique identity called UID and the ability to communicate data over IoT network without any external human or computer intervention. Hello readers, I hope you all are doing great. In our previous tutorial, we discussed how to upload data to Firebase Real-time Database using ESP32. In this tutorial, we will learn how to read the data stored on the Firebase Database with ESP32. We can access the data stored in Firebase database from anywhere in the world, which makes this preferable ...
Blog
ESP32 Bluetooth Classic in Arduino IDE
What is bluetooth classic, Bluetooth evolution, Bluetooth network topology, Bluetooth clock, Classic bluetooth transmit power, Classic bluetooth data transmission, Bluetooth packet format, How BLE and bluetooth classic are different from each other, Code for ESP32 bluetooth classic
Hello readers, I hope you all are doing well. Welcome to the Section 2 (ESP32 Features) of the ESP32 Programming Series. ESP32 is equipped with numerous built-in features and in each chapter of this Section 2, we will explore one of these ESP32 features in detail. In the previous Section(Section 1: ESP32 IDEs), we installed different software IDEs to program ESP32 boards. Among these IDEs, we are going to use Arduino IDE for programming ESP32. So, I hope all of your tools are configured properly and you are ready to explore the built-in features of ESP32.Today's the 1st Chapter of Section 2, and here we will discuss How to communicate with ESP32 Bluetooth Classic from a smartphone using Arduino IDE. Here's the video tutorial for ESP32 Bluetooth Classic: ESP32 Wireless Features ...
Blog
ESP32 Hall Effect Sensor in Arduino IDE
What is hall effect, How does hall effect sensors work, Applications of hall effect sensors, Hall Effect sensor in ESP32, ESP32 Hall Effect Sensor, Programming ESP32 Hall Effect Sensor using Arduino IDE
Hello readers, I hope you all are doing great. Welcome to Section 5 of the ESP32 Programming Series. In this section, we are going to interface different Embedded Sensors with the ESP32 Microcontroller Board. ESP32 development board is featured with some inbuilt sensors(i.e. hall effect sensor, capacitive touch sensor) so, in the initial tutorials of this section, we will explore these built-in ESP32 sensors and in the later lectures, we will interface third-party sensors with the ESP32. In today's lecture, we will discuss the working/operation of the ESP32 built-in Hall Effect Sensor. Hall Effect sensor is used to detect the variation in the magnetic field of its surroundings. So, let's first understand What's Hall Effect: What is the Hall Effect? The Hall Effect phenomenon was fir ...
Blog
Accessing ESP32 Dual Core
Accessing ESP32 Dual Core, FreeRTOS in ESP32, esp32 dual core, dual core in esp32, dual core access in esp32, esp32 dual core access
We are familiar with multiple features of the ESP32 module. Like Wi-Fi capabilities, classic Bluetooth, Bluetooth low energy (BLE), inbuilt sensors etc. Hello readers, I hope you all are doing great. We have already mentioned in our previous tutorials that, ESP32 is also featured with a Dual-Core Processor. Which provides better performance and efficiency. In this tutorial, we will learn how to use ESP32’s dual cores. ESP32 has two (32-bit each) Tensilica Xtensa LX6 microprocessors namely, core0 and core1 which makes it a powerful dual-core microcontroller and hence stands apart from its predecessors. When we compile and upload a code using Arduino IDE, we do not have to worry about which core executes the code. It just runs. Fig. 1 ESP32 dual-co ...
Blog
Sending Data to Cloud with ESP32 and ThingSpeak
Sending data to Cloud with ESP32 and ThingSpeak, ESP32 ThingSpeak communication, send data to ThingSpeak with ESP32, ThingSpeak ESP32, ESP32 ThingSpeak, what is ThingSpeak, ThingSpeak API with ESP32
The Internet of Things ( or IoT) is a network of interconnected computing devices such as digital machines, automobiles with built-in sensors, or humans with unique identifiers and the ability to communicate data over a network without human intervention. Hello readers, I hope you all are doing great. In this tutorial, we will learn how to send sensor readings from ESP32 to the ThingSpeak cloud. Here we will use the ESP32’s internal sensor like hall-effect sensor and temperature sensor to observe the data and then will share that data cloud. What is ThingSpeak? Fig. 1: ESP32 ThingSpeak It is an open data platform for IoT (Internet of Things). ThingSpeak is a web service operated by MathWorks where we can send sensor readings/data to the cloud. We ...
Blog
ESP32 Capacitive Touch Sensor in Arduino IDE
ESP32 capacitive touch sensor, What is a capacitive touch sensor and how does it work, Capacitive touch sensor in ESP32, Programming capacitive sensor in ESP32, Code for touchRead, Testing, Code description, Serial monitor, Loop(), Setup()
Hello readers, I hope you are all doing great. Welcome to the 2nd lecture of Section 5(ESP32 Sensors) in the ESP32 Programming Series. In the previous tutorial, we discussed the built-in ESP32 Hall Effect Sensor. In this tutorial, we will discuss another inbuilt sensor of the ESP32 i.e. Capacitive Touch Sensor. ESP32 Board has 10 built-in capacitive touch pins, which generate an electrical signal when someone touches these pins. These ESP32 touch pins are normally used to wake up the board from deep sleep mode. These touch pins are also used to replace the normal mechanical buttons with touch pads, improving the presentation of the IoT projects. Here's the video demonstration of the ESP32 Capacitive Touch Sensor: Before going forward, let's first understand how this touch sens ...
Blog
ESP32 BLE (Bluetooth Low Energy)
What is BLE, esp32 ble, ble esp32, esp32 ble client, esp32 ble server, esp32 ble communication, esp32 bluetooth, bluetooth esp32
Hello readers, I hope you all are having fun in your lives. Welcome to the 2nd Chapter of Section-2 in the ESP32 Programming Series. In today's lesson, we'll go over another built-in feature of the esp32 module that helps it stand out from the competition: BLE or Bluetooth Low Energy. In the previous tutorial, we discussed the Classic Bluetooth in ESP32, which is considered the predecessor of Bluetooth Low Energy(which we are going to discuss today). We will first look at, what is BLE? and why is it used?, and then will design some examples to utilize the ESP32 BLE in Arduino IDE. What is BLE? There have been numerous adjustments and upgrades to Bluetooth's characteristics since its inception, where Bluetooth 4.0(also called BLE or Bluetooth Smart) is the most influential. B ...