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. Watch the V...
This code might not have a practical application in the real world but is a great example to understand how to control the speed and direction of a DC motor with the ESP8266. /*** Rui Santos Complete project details at https://RandomNerdTutorials.com/esp8266-nodemcu-dc-motor-l298n-mo...
Interface an anemometer with the ESP8266 NodeMCU board to measure wind speed. Power and connect the sensor to the board, and writecode to get wind speed values in different units.
This article shows how to get sensor readings from multiple DS18B20 temperature sensors: https://randomnerdtutorials.com/esp32-ds18b20-temperature-arduino-ide/ Then, you can create a different topic for each sensor. Since you are one of our costumers, if you need more help, please post your...
Set your ESP32 or ESP8266 boards as an Access Point (AP) using MicroPython. This allows you to connect directly to your boards via Wi-Fi without a wireless router.
Control Stepper Motor with the ESP8266 – Code Copy the following code to your Arduino IDE. In this example, the motor will make one clockwise rotation and a counterclockwise rotation over and over again. /* Rui Santos Complete project details at https://RandomNerdTutorials.com/esp8266-nodemcu...
ESP8266 Publish Sensor Readings to ThingSpeak – Code Copy the following code to your Arduino IDE (or to themain.cppfile if you’re using PlatformIO). /* Adapted from WriteSingleField Example from ThingSpeak Library (Mathworks) Rui Santos & Sara Santos - Random Nerd Tutorials ...
The following code does the exact same thing as the previous one, but it was adapted for ESP8266 NodeMCU boards.# Rui Santos & Sara Santos - Random Nerd Tutorials # Complete project details at https://RandomNerdTutorials.com/micropython-esp32-esp8266-anemometer-wind-sensor/ from machine ...
Random Nerd Tutorials -Created by Rui Santos & Sara Santos Random Nerd Tutorials is a blog where we share electronics projects, tutorials and reviews. We help makers, hobbyists and engineers build electronics projects. We make projects about: ESP32, ESP32-CAM, ESP8266, Raspberry Pi, Raspberry...
https://randomnerdtutorials.com/vs-code-platformio-ide-esp32-esp8266-arduino/ but instead of upload, use upload and monitor: and at the monitor output, you will get the crash dump if it crashes. I also found this: https://quinled.info/wled-crashes-and-reboots-every-xx-minutes-mdns/Sig...