HC-SR04 Ultrasonic Sensor Interfacing with Arduino – Distance Measurement Example

display hc-sr04 ultrasonic sensor values on OLED Arduino

This tutorial shows how to use HC-SR04 or HY-SR05 Ultrasonic sensors with Arduino for contactless distance measurement. First, we learn to interface  HC-SR04 or HY-SR05 with Arduino. After that, we will see example codes with or without the Ultrasonic sensor Arduino library. Firstly, we will see an example to control an LED with an Arduino … Read more

ESP32 DHT11 and DHT22 Web Server using Arduino IDE

dht11 dht22 esp32 web server arduino ide

In this tutorial, we will learn to interface DHT11 and DHT22 sensors with ESP32 using Arduino IDE. We will create a DHT11/DHT22 web server with ESP32 to display temperature and relative humidity values on a Web page. In this project, we will create two types of DHT11 and DHT22 web server: #1 DHT11/DHT22 Server Sent … Read more

Control ESP8266 NodeMCU Outputs using Google Assistant and Adafruit IO

Control ESP8266 NodeMCU Outputs using Google Assistant and Adafruit IO

In this user guide, we will control the output of the ESP8266 NodeMCU using Google assistant and Adafruit IO. Previously, we controlled the ESP module’s outputs through applications such as Telegram, Google Firebase, and Blynk applications. You can view the tutorials by accessing the links below. Telegram ESP32 and ESP8266: Control GPIOs and LEDs using … Read more

DHT11 DHT22 with Arduino – Display Readings on OLED

DHT11 DHT22 with Arduino and OLED display

In this user guide, we will learn to interface the DHT11 and DHT22 with Arduino which is used for humidity, and temperature using Arduino IDE. Firstly, we will learn about DHT11/DHT22 such as its introduction, pinout diagram, and interfacing diagram with Arduino. Secondly, we will see how to install the DHT sensors library in Arduino … Read more

DHT11 DHT22 with ESP8266 NodeMCU – Display Readings on OLED

DHT11 DHT22 with ESP8266 NodeMCU and OLED

In this user guide, we will learn to interface the DHT11 and DHT22 with ESP8266 NodeMCU which is used for humidity, and temperature using Arduino IDE. Firstly, we will learn about DHT11/DHT22 such as its introduction, pinout diagram, and interfacing diagram with ESP8266 NodeMCU. Secondly, we will see how to install the DHT sensors library … Read more

ESP8266 Send Emails (Plain text, HTML, and Attachments) through SMTP Server

ESP8266 NodeMCU Send Emails through SMTP Server Arduino IDE

In this user guide, we will learn how to send emails using ESP8266 NodeMCU development board through an SMTP server and Arduino IDE. We will learn to incorporate different types of emails. The message body of the email will consist of plain text, HTML text, and attachments like images. We will introduce all three types … Read more

ESP8266 NodeMCU HTTP POST using Arduino IDE (ThingSpeak and IFTTT)

ESP8266 NodeMCU HTTP POST Request ThingSpeak and IFTTT

In this tutorial, we will learn how to make HTTP POST requests with ESP8266 NodeMCU and Arduino IDE to commonly used APIs such as ThingSpeak and IFTTT. This tutorial is adaptable with any web service/API other than the ones which we will follow here. You just have to change the server’s name and parameters accordingly … Read more

ESP8266 NodeMCU HTTP GET with Arduino IDE (OpenWeatherMap.org and ThingSpeak)

ESP8266 NodeMCU HTTP GET request with Arduino IDE ThingSpeak and openweathermap

In this tutorial, we will learn how to make HTTP GET requests in ESP8266 NodeMCU to commonly used APIs such as ThingSpeak and OpenWeatherMap.org. Firstly, we will see how to decode JSON format data received from OpenWeatherMap.org. Secondly, we will learn to update sensor values to Thingspeak with HTTP Get request. This tutorial is adaptable … Read more

ESP32 BLE Server Client Communication using Arduino IDE

ESP32 BLE client server hardware

In this tutorial, we will learn how to perform BLE server client communication between two ESP32 boards using Bluetooth Low Energy. In other words, we will learn to exchange data between two ESP32 boards over BLE. The communication between server and client will be through BLE where one ESP32 board acts as a BLE server … Read more