EN / USD
34 Items
 Home
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 Over The Air (OTA) Web Updater
ESP32 OTA web updater, Code for OTA web updater implementation in ESP32, Code description, Serial monitor, Testing, Test code, Test code description, How to generate a bin file, LED blink
Hello readers, I hope you are all doing great. In this tutorial, we are going to discuss the OTA web updater on the ESP32. We already covered the fundamentals of OTA programming in ESP32, in our previous tutorial where we used the Arduino IDE to upload OTA code into the ESP32 module using the network port. In the OTA web updater, you need to create a web server page for OTA programming. [caption id="attachment_166886" align="aligncenter" width="1920"] ESP32 OTA web updater[/caption] Fig.1 ESP32 OTA web updater Over the Air Web Updater "Over-the-air" refers to the ability to wirelessly download an application, configuration, or firmware to internet-enabled devices, also known as IoT. (OTA). It functions similarly to our computers, laptops, tab ...
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
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 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
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 Interrupts
What is interrupt, Polling, ESP32 interrupt, Software interrupts, Hardware Interrupts, IRS (Interrupt Service routine), Steps to execute an interrupt or how is an interrupt us handled in microcontroller, ESP32 code, Code description for ESP32 interrupts with Arduino IDE, Code description for hardware interrupts, Why is it preferred to use timer to add delay instead of using delay() function
Hello readers, hope you all are doing great. Today, we will discuss interrupts and timers in ESP32 and how to handle internal as well as external interrupts. So, we will discuss What is interrupt, Polling, ESP32 interrupt, Software interrupts, Hardware Interrupts, IRS (Interrupt Service routine), Steps to execute an interrupt or how is an interrupt handled in the microcontroller, Code description for ESP32 interrupts with Arduino IDE, Code description for hardware interrupts, Why is it preferred to use timer to add delay instead of using delay() function. So, let's get started: What is Interrupt? Interrupts are used when a micro-controller needs to continuously monitor for an event while the same micro-controller is executing a particular task ...
Blog
ESP32 Web Server in Access Point (AP) Mode
What happens in access point (AP) mode, code description, Wi-Fi access point example, Testing ESP32 web server with hardware in access point with Arduino IDE, Connected with ESP32 AP, ESP32 as an access point, Web page displaying the LED off state
Hello readers, hope you all are doing great. This is our 3rd tutorial in the ESP32 programming series. In our previous tutorial, we discussed the ESP32 Web server, where we created the ESP32 web server in STA mode. ESP32 can be operated as an access point (AP) or a Wi-Fi station (STA mode). So, in this tutorial, we will create an ESP32 web server in access point (AP) mode. Here's the video demonstration of ESP32 WebServer in Access Point Mode: As I mentioned above, in our 2nd tutorial, we already discussed the basics of the ESP32 web server. So, in this tutorial, we will only discuss how to create the ESP32 in access point mode. For detailed information about the basics of the ESP32 web server and how client-server communication takes place, fol ...
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 MQTT
What is MQTT, MQTT features, How does MQTT work, MQTT Connection and Broker, MQTT applications, MQTT with ESP32 or How to publish a message using ESP32 MQTT, MQTT testing, MQTT publish and subscribe architecture
Hello readers, today we will learn about the messaging protocol supported by ESP32(called MQTT protocol), which is used for IoT applications. The communication protocol to be used for data transmission and connectivity in web-enabled devices depends upon the type of IoT application. The Internet of Things (IoT) is a network of interconnected computing devices like digital machines, automobiles with inbuilt sensors, having unique identifiers and the ability to communicate data over a network without the need for human intervention. Before implementation, let's first have a look at what is MQTT Protocol? What is MQTT? MQTT stands for Message Queuing Telemetry Protocol and is a messaging or communication protocol used for IoT applications. In MQ ...