Random Nerd Tutorials
Shares

Want to Learn Electronics and Programming?


Random Nerd Tutorials helps makers, hobbyists and engineers build electronics projects. We make projects with: ESP32, ESP8266, Arduino, Raspberry Pi, Home Automation and Internet of Things. Enter your email address to get started with our free resources and eBooks!

What is MQTT and How It Works

Shares

In this article, we’re going to introduce you to the MQTT protocol. MQTT stands for Message Queuing Telemetry Transport. It is a lightweight publish and subscribe system where you can publish and receive messages as a client.

Continue Reading

ESP8266 Multisensor Shield with Node-RED

Shares

In this project you’ll discover how integrate the ESP8266 Multisensor Shield for the Wemos D1 Mini board with Node-RED. The ESP8266 Multisensor Shield will establish an MQTT connection with a Raspberry Pi running Node-RED and Mosquitto MQTT broker.

Continue Reading

Build a Multisensor Shield for ESP8266

Shares

In this project you’ll discover how to design and create a Multisensor Shield for the ESP8266 Wemos D1 Mini board. The shield has temperature sensor (DS18B20), a PIR motion sensor, an LDR, and a terminal to connect a relay module. We’ll start by preparing all the hardware and then program it.

Continue Reading

Recommended Resources



Arduino Step-by-Step Projects »

Build 25 cool Arduino projects with our course even with no prior experience!


Build a Home Automation System »

Home Automation System using open-source hardware and software.



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

Shares

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. 

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.

Continue Reading

Learn ESP32 with Arduino IDE

Shares

This is a practical course where you’ll learn how to take the most out of the ESP32 using the Arduino IDE. This is our complete guide to program the ESP32 with Arduino IDE, including projects, tips, and tricks!

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.

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. 

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. 

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.

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.

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.

Continue Reading

⏰ Registrations are open for "MicroPython Programming with ESP32 and ESP8266" eBook