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!

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

Power ESP8266 with Mains Voltage using Hi-Link HLK-PM03 Converter

Shares

In this post you’ll learn how to power the ESP8266 (or ESP32) with mains voltage using the Hi-Link HLK-PM03 converter. As an example, we’ll use the ESP8266-01 to control a relay with a web server.

Continue Reading

MicroPython – Getting Started with MQTT on ESP32/ESP8266

Shares

In this tutorial, we’ll show you how to use MQTT to exchange data between two ESP32/ESP8266 boards using MicroPython firmware. As an example, we’ll exchange simple text messages between two ESP boards. The idea is to use the concepts learned here to exchange sensor readings, or commands.

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 Over-the-air (OTA) Programming – Web Updater Arduino IDE

Shares

Quick guide that shows how to do over-the-air (OTA) programming with the ESP32 using the OTA Web Updater in Arduino IDE. The OTA Web Updater allows you to update/upload new code to your ESP32 using a browser, without the need to make a serial connection between the ESP32 and your computer.

Continue Reading

Better Debugging for Arduino IDE: SerialDebugApp (Part 3)

Shares

The SerialDebug library created by João Lopes allows you to improve debugging for Arduino IDE. In this article he’ll show you how to use the SerialDebugAp, companion app of the SerialDebug library.

Continue Reading

Better Debugging for Arduino IDE using Software Debugger (Part 2)

Shares

The SerialDebug library created by João Lopes allows you to improve debugging for the Arduino IDE. In this article he’ll show you how to use the simple software debugger of the SerialDebug library that has most functionalities of an hardware debugger.

Continue Reading

Better Debugging for Arduino IDE: SerialDebug Library (Part 1)

Shares

The SerialDebug library allows you to improve and do better debugging in Arduino IDE. In this post, João Lopes (creator of the SerialDebug library) shows you how use it in your projects.

Continue Reading

ESP32 Flash Memory – Store Permanent Data (Write and Read)

Shares
Save permanent data on the ESP32 flash memory

In this article we’ll show you how to store and read values from the ESP32 flash memory using Arduino IDE. The data saved in the flash memory remains there even when the ESP32 resets or when power is removed. As an example we’ll show you how to save the last GPIO state.

Continue Reading

ESP32/ESP8266 MicroPython Web Server – Control Outputs

Shares

Learn how to build a web server to control the ESP32 or ESP8266 outputs using MicroPython framework. As an example we’ll build a web server with ON and OFF buttons to control the on-board LED of the ESP32/ESP8266. We’ll use sockets and the Python socket API.

Continue Reading

ESP32 PWM with Arduino IDE

Shares

In this tutorial we’ll show you how to generate PWM signals with the ESP32 using Arduino IDE. As an example we’ll build a simple circuit that dims an LED using the LED PWM controller of the ESP32. We’ll also show you how you can get the same PWM signal on different GPIOs at the same […]

Continue Reading

MicroPython with ESP32 and ESP8266: Interacting with GPIOs

Shares

In this article we’re going to take a look on how to interact with the ESP32 and ESP8266 GPIOs using MicroPython. We’ll show you how to read digital and analog inputs, how to control digital outputs and how to generate PWM signals.

Continue Reading

ESP32 Web Server using SPIFFS (SPI Flash File System)

Shares

In this tutorial we’ll show you how to build a web server that serves HTML and CSS files stored on the ESP32 filesystem. Instead of having to write the HTML and CSS text into the Arduino sketch, we’ll create separated HTML and CSS files. For demonstration purposes, the web server we’ll build controls an ESP32 […]

Continue Reading

Install ESP32 Filesystem Uploader on Arduino IDE

Shares

The ESP32 contains a Serial Peripheral Interface Flash File System (SPIFFS). SPIFFS is a lightweight filesystem created for microcontrollers with a flash chip, which are connected by SPI bus, like the ESP32 flash memory. In this article we’re going to show how to easily upload files to the ESP32 filesystem using a plugin for the […]

Continue Reading

MicroPython Programming Basics with ESP32 and ESP8266

Shares

MicroPython is a re-implementation of Python programming language targeted for microcontrollers and embedded systems like the ESP32 or ESP8266.

Continue Reading

Getting Started with MicroPython on ESP32 and ESP8266

Shares

Learn how to get started with MicroPython firmware on the ESP32 and ESP8266. We’ll introduce you to MicroPython, show you the differences between MicroPython and regular Python, and how to program your ESP based boards with MicroPython using uPyCraft IDE. After completing this guide, you’ll have your first LED blinking using MicroPython.

Continue Reading
1 2 3 18

Grab our Electronics and Programming Courses