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!

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

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.



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

Flash/Upload MicroPython Firmware to ESP32 and ESP8266

Share

This posts shows how to flash MicroPython firmware to ESP32/ESP8266 boards using the uPyCraft IDE software. It works on Windows, Linux, and Mac OS X.

Continue Reading

Install uPyCraft IDE – Windows PC Instructions

Share

There are different firmwares that you can use to program the ESP32 and ESP8266 boards. If you want to program the ESP32 or ESP8266 board using the MicroPython firmware, we recommend using uPyCraft IDE. uPyCraft IDE runs in any major operating system. In this tutorial we’ll show you how to install the uPyCraft IDE for […]

Continue Reading

Install uPyCraft IDE – Mac OS X Instructions

Shares

There are different firmwares that you can use to program the ESP32 and ESP8266 boards. If you want to program the ESP32 or ESP8266 board using the MicroPython firmware, we recommend using uPyCraft IDE. uPyCraft IDE runs in any major operating system. In this tutorial we’ll show you how to install the uPyCraft IDE for […]

Continue Reading

Install uPyCraft IDE – Linux Ubuntu Instructions

Shares

There are different firmwares that you can use to program the ESP32 and ESP8266 boards. If you want to program the ESP32 or ESP8266 board using the MicroPython firmware, we recommend using uPyCraft IDE. uPyCraft IDE runs in any major operating system. In this tutorial we’ll show you how to install the uPyCraft IDE for […]

Continue Reading

How to use ESP32 Dual Core with Arduino IDE

Shares

The ESP32 comes with 2 Xtensa 32-bit LX6 microprocessors: core 0 and core 1. So, it is dual core. When we run code on Arduino IDE, by default, it runs on core 1. In this post we’ll show you how to run code on the ESP32 second core by creating tasks. You can run pieces of code simultaneously […]

Continue Reading

ESP32 Static/Fixed IP Address

Shares
ESP32-static-IP-address

If you’re running a web server or Wi-Fi client with your ESP32 and every time you restart your board the ESP32 has a new IP address, you can follow this tutorial to assign a static/fixed IP address to your ESP32 board.

Continue Reading

Latching Power Switch Circuit (Auto Power Off Circuit) for ESP32, ESP8266, Arduino

Shares

In this article we’ll show you how to build a Latching Power Switch Circuit, also know as an Auto Power Off Circuit. You can use this circuit to auto-power off the ESP32, ESP8266, Arduino, or any other microcontroller.

Continue Reading

How to Install Mosquitto Broker on Raspberry Pi

Shares

In this post you’re going to install the Mosquitto Broker on a Raspberry Pi. The broker is primarily responsible for receiving all messages, filtering the messages, decide who is interested in it and then publishing the message to all subscribed clients.

Continue Reading

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