EN / USD
40 Items
 Home
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 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 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
Sending Sensor Readings to Google Sheet Through IFTTT using ESP32
Sending Sensor readings to Google Sheet through IFTTT, ESP32 data upload to Google Sheet through IFTTT, Send data to Google sheet with IFTTT, Data sending with IFTTT ESP32, ESP32 IFTTT
Hello readers, I hope you all are doing great. In our previous tutorial, we learnt how to make HTTP POST from ESP32 to the IFTTT server. In this tutorial, we will learn about another application of the ESP32 module in the field of IoT (Internet of Things). We can publish multiple sensor readings from ESP32 to Google sheets via the IFTTT web service. IFTTT is used as a third-party web service to integrate Google sheets with ESP32. Fig. 1 Creating an IFTTT Account for Integrating ESP32 with Google Sheets We are going to create an applet (on the IFTTT server) that is responsible to integrate the Webhooks and Google Sheets services. While operating with the IFTTT server there are some services/utilities that we are going to deal with like Applets an ...
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 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
ESP-NOW Protocol with ESP32 and ESP8266
ESP-NOW Protocol with ESP32 and ESP8266, ESP Now, ESP Now with ESP32, ESP Now with ESP8266, ESP Now Protocol with ESP32, Implement ESP Now in ESP32, ESP Now with ESP32 in Arduino IDE
Hello readers, I hope you all are doing great. In this tutorial, we will learn about the ESP-NOW protocol and how to communicate data between two ESP modules through ESP-NOW protocol and that is too without Wi-Fi connectivity. What is ESP-NOW Protocol? Fig. 1: ESP-NOW Protocol ESP–NOW is a connectionless communication protocol that is used for sharing small data packets between two ESP boards. This protocol is developed by Espressif. Features of ESP-NOW Protocol: It is a low-power wireless protocol, which makes two or more ESP devices communicate directly with each other without using Wi-Fi. ESP-NOW protocol does not require a handshake for establishing a connection but, they require pairing and once the devices are paired they can exchang ...
Blog
ESP32 DHT11 Interfacing with ThingSpeak WebServer
Interfacing DHT11 with ESP32, dht11 and esp32, esp32 dht11, dht11 esp32, uploading sensor on Web Server esp32, esp32 sensors dht11
ESP32 module comes with multiple inbuilt features and peripheral interfacing capability is one of those features. ESP32 module also consists of an inbuilt temperature sensor, but that can only measure the temperature of the ESP32 core not the temperature of the surrounding environment. So it is required to use a peripheral sensor to measure the temperature of the surrounding environment like home, garden, office etc. Hello readers. I hope you all are doing great. In this tutorial, we will learn how to interface DHT11 (temperature and humidity sensor) with the ESP32. Later in this tutorial, we will discuss how to share the sensor readings obtained from the DHT11 sensor to a web server. Before moving towards the interfacing and programming part, let’s have a short introduction to the DHT11 ...
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 ...
Blog
Server-Sent Events with ESP32 and DHT11
Server-Sent Events with ESP32 and DHT11, What is Server-Sent Events, SSE in ESP32, How does the Server-Sent Event works, Event-Source connection esp32, handling http get request in esp32
Hello readers, I hope you all are doing great. In this tutorial, we will learn how to update a webpage using Server-Sent Events and the ESP32 web server. What is Server-Sent Events (SSE)? It is a server push technology that enables the client devices to receive automatic updates from a server over HTTP (Hypertext Transfer Protocol) connection. SSE also describes how the server can initiate data transmission towards the client once an initial connection with the client has been established. We have already posted a tutorial on how to implement Web socket protocol with ESP32 which is also a protocol used to notify events to a web client. Both the Server-Sent Events (SSE) and Web-Socket technologies seem to be quite similar but they are not. The major difference between the two is that SSE ...