EN / USD
34 Items
 Home
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
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 ...
Blog
Create a Web Server with ESP32
esp32, esp32 wifi, esp32 web server, esp32 webserver, webserver esp32, web server esp32, esp32 server mode
Hello readers, I hope you all are doing great. Today, we are going to start the second section of the ESP32 tutorial series and today's our first tutorial, where we will have a look at How to Create a Web Server with ESP32. In our previous tutorial, we introduced you to the basics of the ESP32 microcontroller. where we discuss How to set up Arduino IDE to program ESP32. In this tutorial, we will discuss creating a web server using the ESP32 module.One of the most interesting features of the ESP microcontroller series is its wireless connectivity via WiFi & Bluetooth. Wireless connectivity protocols supported by ESP32 are: Wi-fi: 802.11b/g/n/e/i Bluetooth : BLE(Bluetooth low energy) and V4.2 What is a Web server? A web server is software or hardware that stores, processe ...
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 ...
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
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 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 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 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
Motion Detection with ESP32 & PIR Sensor
ESP32 PIR, PIR esp32, pir sensor esp32, esp32 pir sensor, motion detection with esp32, motion detection esp32 pir sensor, motion detection pir esp32
Hello readers, we hope you all are doing great. Welcome to the 4th lecture of Section 5(ESP32 Sensor) in the ESP32 Programming Series. So far, we have discussed the ESP32 built-in sensors in this section. Today, we are going to interface an external embedded sensor(i.e. PIR Sensor) with the ESP32 Microcontroller board. At the start, we will discuss the basics of a PIR Sensor(HC-SR501) i.e. its pinout and working. After that, we will design a simple project to detect the motion with a PIR sensor and ESP32. Finally, we will display the motion detection results on the ESP32 WebServer. We will use ESP32 interrupts to detect the motion. Interrupts are used when a microcontroller needs to continuously monitor an event while executing other tasks at the same time. We have already posted a tuto ...