Random Nerd Tutorials
Shares

Category Archives for ESP32

ESP32 Pinout Reference: Which GPIO pins should you use?

Shares

The ESP32 chip comes with 48 pins with multiple functions. Not all pins are exposed in all ESP32 development boards, and there are some pins that cannot be used. There are many questions on how to use the ESP32 GPIOs. What pins should you use? What pins should you avoid using in your projects? This […]

Continue Reading

Getting Started with the ESP32 Development Board

Share

This article is a getting started guide for the ESP32 development board. If you’re familiar with the ESP8266, the ESP32 is its sucessor. The ESP32 is loaded with lots of new features. The most relevant: it combines WiFi and Bluetooth wireless capabilities and it’s dual core.  Learn ESP32 with Arduino IDE This our complete guide to program the ESP32 […]

Continue Reading

ESP32 Web Server with BME280 – Mini Weather Station

Shares

In this tutorial you’re going to learn how to create a web server with the ESP32 to display readings from the BME280 sensor module. The BME280 sensor measures temperature, humidity, and pressure. So, you can easily build a mini and compact weather station and monitor the measurements using your ESP32 web server. Learn ESP32 with […]

Continue Reading

How to Set an ESP32 Access Point (AP) for Web Server

Shares

The ESP32 can act as a Wi-Fi station, as an access point, or both. In this tutorial we’ll show you how to set the ESP32 as an access point using the Arduino IDE programming environment. Learn ESP32 with Arduino IDE This our complete guide to program the ESP32 with Arduino IDE, including projects, tips, and […]

Continue Reading

Installing the ESP32 Board in Arduino IDE (Windows instructions)

Shares

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 Mac Os or Linux follow these instructions instead.  Learn ESP32 with Arduino […]

Continue Reading

Installing the ESP32 Board in Arduino IDE (Mac OS X and Linux instructions)

Shares

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 on Mac OS X or Linux. If you’re using a Windows PC follow these instructions instead.  Learn […]

Continue Reading

ESP32 with PIR Motion Sensor using Interrupts and Timers

Shares

This tutorial shows how to detect motion with the ESP32 using a PIR motion sensor. In this example, when motion is detected (an interrupt is triggered), the ESP32 starts a timer and turns an LED on for a predefined number of seconds. When the timer finishes counting down, the LED is automatically turned off. Learn […]

Continue Reading

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. Learn ESP32 with […]

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. Learn ESP32 with Arduino IDE This our complete […]

Continue Reading

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

Shares

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. Learn […]

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. Learn ESP32 with Arduino IDE This […]

Continue Reading