EN / USD
40 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 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
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 PWM(Pulse Width Modulation) in Arduino IDE
ESP32 PWM, PWM ESP32, PWM in ESP32, What is pulse width modulation, Implementing PWM using ESP32, ESP32 Arduino code for controlling LED brightness using PWM, PWM specifications, PWM ESP32 motor control, ESP32 PWM led brightness control
Hello readers, I hope you all are doing great. Welcome to the 3rd Lecture of Section 2 in the ESP32 Programming Series. In this tutorial, we are going to discuss another important feature of ESP32 i.e. PWM(Pulse Width Modulation). Pulse Width Modulation is a technique to reduce the voltage by pulsating it. In today's lecture, we will first understand the basic concept of PWM, and after that will design two projects to fully grasp it. In the first project, we will control the brightness of an LED, while in the second one, we will control the speed of a DC Motor. Here's the video demonstration of PWM Control in ESP32: Before going forward, let's first have a look at the PWM working: What is Pulse Width Modulation? PWM is used to control the power delivered to the load by pul ...
Blog
Object Counting Project using ESP32-CAM and OpenCV
Object Counting Project using ESP32-CAM and OpenCV
Imagine a real-time object counting system that is budget-friendly and easy to implement. You can achieve this goal with an ESP32-CAM. Today we will build an ESP32-CAM Object Counting System. This project is a combination of the power of embedded systems and computer vision. The main processor of the system is ESP32-CAM, a budget-friendly microcontroller with an integrated camera. This tiny powerhouse captures live video streams and transmits them over Wi-Fi. On the other side, a Python-based application processes these streams, detects objects using image processing techniques, and displays the count dynamically. Whether it’s tracking inventory in a warehouse, monitoring traffic flow, or automating production lines, this system is versatile and adaptable. You can implement this proje ...
Blog
ESP32 Firebase
ESP32 Firebase, What is Firebase, Role of Firebase in ESP32, Real-time Database in IoT, real time database with esp32, firebase esp32, esp32 firebase
Hello readers, I hope you all are doing great. In this tutorial, we will learn how to access Firebase (a real-time database) to store and read values or data with ESP32. It is Google’s mobile application development platform that can be used to can access, monitor and control ESP32 from anywhere in the world with its (firebase) real-time database. What is Firebase? Firebase real-time database is a development platform provided by Google which included multiple services to manage and authenticate data. Firebase is basically a mobile and web app development platform I as works great with Android APIs) that includes features like firebase cloud, real-time data and Firebase authentication etc. As per Firebase’s official documentation (https://firebase.google.com/docs/database), whenever a us ...
Blog
Servo Motor Control with ESP32 WebServer
ESP32 and Servo Motor Interfacing, esp32 servo motor, servo motor esp32, control servo with esp32, esp32 servo control, servo motor esp32, esp32 servo, servo esp32
Hello readers, we hope you all are doing great. In this tutorial, we are going to demonstrate how to interface and control a servo motor using an ESP32 board. After that, we will demonstrate how to create a webserver to control the servo motor’s shaft position with the ESP32 board. Servo Motors are among the most important actuators in robotics, with applications ranging from RC planes to automated door locks. Hardware components required A servo motor ESP32 development board Connecting wires Breadboard Servo Motor There are several specific types of electric motor applications in which the motor must rotate only at a specific angle. For such applications, we need a special type of motor with such a special arrangement that causes the m ...
Blog
Sending Email with ESP32 using SMTP Protocol
Sending Email with ESP32 using SMTP, SMTP with ESP32, SMTP ESP32, ESP32 SMTP, Sending Emails with SMTP ESP32, Email SMTP in ESP32
Hello readers, I hope you all are doing great. In this tutorial, we will learn how to send an email using ESP32 module. We will also learn to send text files, images or some sensor readings using the SMTP server using the ESP32 module. In IoT (Internet of things), there are various applications where we need to send emails carrying information like sending some sensor readings, altering emails, images, text files and much more. What is SMTP? SMTP or simple mail transfer protocol is an internet standard for sending and receiving electronic mail (or email) where an SMTP server receives emails from the email client. SMTP is also used for setting communication between servers. Various email providers like Gmail, Hotmail, Yahoo, etc. have unique SMTP ...
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
Receiving Emails with ESP32 using IMAP Server
Receiving Emails using IMAP server with ESP32, IMAP with ESP32, IMAP ESP32, ESP32 IMAP, Receive Emails with IMAP ESP32, Email IMAP in ESP32
Hello readers, I hope you all are doing great. In our previous tutorial, we learned SMTP server and how to implement an SMTP server for sending emails with ESP32. In the previous tutorial, we also demonstrated some examples like sharing raw text, HTML text, images and text files. So, at the transmitter end, we are using the SMTP server. But, what about the receiver end? At the receiver end, we use another protocol called IMAP (or Internet Message Access Protocol) and POP3 (Post office Protocol V3) for receiving the emails. Fig. IMAP and SMTP What is IMAP Protocol and How does it Work? IMAP is an application layer (TCP/IP) protocol that is used at the receiver end to receive emails from SMTP server or mail server. IMAP follows the client/server mo ...