Random Nerd Tutorials
Shares

Category Archives for ESP32

Getting Date and Time with ESP32 on Arduino IDE (NTP Client)

Shares

In this tutorial we’ll show you how to get date and time using the ESP32 and Arduino IDE. Getting date and time is especially useful in data logging to timestamp your readings. If your ESP32 project has access to the Internet, you can get date and time using Network Time Protocol (NTP) – you don’t […]

Continue Reading

ESP32 Troubleshooting Guide

Shares

The ESP32 has a few common problems, specially when you are trying to upload new sketches or install the ESP32 add-on on the Arduino IDE. This guide is dedicated to the ESP32 when programmed with Arduino IDE. Here, we provide a compilation with some of the most common problems with the ESP32 and how to fix them. 20 Easy Raspberry […]

Continue Reading

Programming ESP32 with Atom Text Editor and PlatformIO IDE

Shares

In our ESP32 projects and tutorials, we recommend using the Arduino IDE to program the ESP32 development board. However, in some Windows computers it’s a bit tricky to install the ESP32 add-on using Git GUI due to permission errors, Arduino IDE version, or multiple Arduino IDE installations. 20 Easy Raspberry Pi Projects Our new book […]

Continue Reading

How to Use I2C LCD with ESP32 on Arduino IDE (ESP8266 compatible)

Share

This tutorial shows how to use the I2C LCD (Liquid Crystal Display) with the ESP32 using Arduino IDE. We’ll show you how to wire the display, install the library and try sample code to write text on the LCD: static text, and scroll long messages. You can also use this guide with the ESP8266. 20 […]

Continue Reading

ESP32 Web Server – Arduino IDE

Shares

In this project you’ll create a standalone web server with an ESP32 that controls outputs (two LEDs) using the Arduino IDE programming environment. The web server is mobile responsive and can be accessed with any device that as a browser on the local network. We’ll show you how to create the web server and how the […]

Continue Reading

ESP32 with Multiple DS18B20 Temperature Sensors

Shares

This guide shows how to read temperature from multiple DS18B20 temperature sensors with the ESP32 using Arduino IDE. We’ll show you how to wire the sensors on the same data bus to the ESP32, install the needed libraries, and a sketch example you can use in your own projects. This tutorial is also compatible with […]

Continue Reading

ESP32 with LoRa using Arduino IDE – Getting Started

Shares

In this tutorial we’ll explore the basic principles of LoRa, and how it can be used with the ESP32 for IoT projects using the Arduino IDE. To get you started, we’ll also show you how to create a simple LoRa Sender and LoRa Receiver with the RFM95 transceiver module. 20 Easy Raspberry Pi Projects Our […]

Continue Reading

Getting Started with ESP32 Bluetooth Low Energy (BLE) on Arduino IDE

Shares

The ESP32 comes not only with Wi-Fi but also with Bluetooth and Bluetooth Low Energy (BLE). This post is a quick introduction to BLE with the ESP32. First, we’ll explore what’s BLE and what it can be used for, and then we’ll take a look at some examples with the ESP32 using Arduino IDE. For […]

Continue Reading

ESP32 Data Logging Temperature to MicroSD Card

Share

This project shows how to log data with timestamps to a microSD card using the ESP32. As an example, we’ll log temperature readings from the DS18B20 sensor every 10 minutes. The ESP32 will be in deep sleep mode between each reading, and it will request the date and time using Network Time Protocol (NTP). 20 […]

Continue Reading

ESP32 MQTT – Publish and Subscribe with Arduino IDE

Shares

This project shows how to use MQTT communication protocol with the ESP32 to publish messages and subscribe to topics. As an example, we’ll publish BME280 sensor readings to the Node-RED Dashboard, and control an ESP32 output. The ESP32 we’ll be programmed using Arduino IDE. 20 Easy Raspberry Pi Projects Our new book is a beginner-friendly […]

Continue Reading

Installing the ESP32 Board in Arduino IDE (Windows instructions)

Shares

The ESP32 is currently being integrated with the Arduino IDE like it was done for the ESP8266. There’s an add-on for the Arduino IDE that allows you to program the ESP32 using the Arduino IDE and its programming language. In this tutorial we’ll show you how to install the ESP32 board in the Arduino IDE for Windows. If you’re using […]

Continue Reading

ESP32 with DC Motor and L298N Motor Driver – Control Speed and Direction

Shares

This tutorial shows how to control the direction and speed of a DC motor using an ESP32 and the L298N Motor Driver. First, we’ll take a quick look on how the L298N motor driver works. Then, we’ll show you an example on how to control the speed and direction of a DC motor using the ESP32 […]

Continue Reading

ESP32 Servo Motor Web Server with Arduino IDE

Shares

In this tutorial we’re going to show you how to build a web server with the ESP32 that controls the shaft’s position of a servo motor using a slider. First, we’ll take a quick look on how to control a servo with the ESP32, and then we’ll build the web server. 20 Easy Raspberry Pi […]

Continue Reading

ESP32 Publish Sensor Readings to Google Sheets (ESP8266 Compatible)

Shares

In this tutorial we’re going to show you how to publish sensor readings to Google Sheets using ESP32 or ESP8266 board. As an example, we’ll publish temperature, humidity, and pressure readings using the BME280 sensor to a Google Sheets spreadsheet every 30 minutes – we’ll be using IFTTT. 20 Easy Raspberry Pi Projects Our new […]

Continue Reading