EN / USD
34 Items
 Home
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 Programming Series: Install ESP32 in Arduino IDE
ESP32, ESP32 Programming, What is ESP32, ESP32 vs ESP8266, ESP32 Specifications, Types of ESP32, Programming ESP32, Programming ESP32 in Arduino IDE
Hello everyone, I hope you're all doing well. In the previous lecture(Chapter 0: ESP32 Pinout), we discussed the ESP32 features & specs in detail. Today, we are officially starting this ESP32 Programming Series. In this ESP32 Programming Series, we will start with basic concepts and will gradually move towards complex topics. I will try to keep this ESP32 series as simple as I can. But still, if you encounter any issues, please ask in the comments, will try to resolve the issues as soon as possible.As ESP32 has numerous features & applications, so I have divided this series into different sections. I have named the 1st section "ESP32 IDEs". In this section, we will discuss different IDEs used to program ESP32 boards. In each Chapter of this section, we will install one of t ...
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
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
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 HTTP Post with ThingSpeak and IFTTT
ESP32 HTTP Post with ThingSpeak and IFTTT, ESP32 IFTTT ThingSpeak, HTTP Post in ESP32, ESP32 Post request with Thingspeak and IFTTT, IFTTT and Thingspeak with ESP32
ESP32 is a powerful chip for Internet of Things applications. This tutorial is also based on another ESP32 application in the field of IoT. Hello readers, I hope you all are doing great. In the previous tutorial, we learned how to send sensor readings from ESP32 to the cloud (ThingSpeak webserver). In this tutorial, we will learn to send HTTP POST requests from the ESP32 board to ThingSpeak and IFTTT APIs. What is HTTP? Fig. 1 Hypertext Transfer Protocol HTTP stands for hypertext transfer control and it is a protocol for transferring data between a web client and a web server. Hyper text transfer protocol was invented alongside HTML (Hypertext markup language) to create the first interactive, text-based web browser: the original www or World Wid ...
Blog
ESP32 with 16x2 LCD in Arduino IDE | Data Mode & I2C Mode
LCD esp32, esp32 lcd, lcd interfacing with esp32, interface lcd with esp32, 16x2 lcd esp32, esp32 lcd 16x2, ESp32 LCD interfacing
Hello readers, we hope you all are doing great. Welcome to the 1st lecture of Section 4 in the ESP32 Programming Series. In this section, we will interface the ESP32 module with common Embedded modules(i.e. LCD, Keypad, RTC etc.). In today's tutorial, we will interface ESP32 with a 16x2 LCD and will display data using both Data Mode and I2C Mode. LCD is the most commonly used embedded module in IoT Projects. It is used to display different types of data i.e. sensor readings, warning messages, notifications etc. Before going forward, let's first have a look at what is LCD and How it works: 16x2 LCD Module LCD(Liquid Crystal Display) is a type of electronic display module that is used in a wide variety of applications and devices such as calculators, computers, mobile phones, ...
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
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
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 ...