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...
/* Complete Getting Started Guide: https://RandomNerdTutorials.com/esp32-bluetooth-low-energy-ble-arduino-ide/ Based on Neil Kolban example for IDF: https://github.com/nkolban/esp32-snippets/blob/master/cpp_utils/tests/BLE%20Tests/SampleServer.cpp Ported to Arduino ESP32 by Evandro Coper...
Code ESP32 HTTP POST ThingSpeak Copy the next sketch to your Arduino IDE: /* Rui Santos Complete project details at Complete project details at https://RandomNerdTutorials.com/esp32-http-post-ifttt-thingspeak-arduino/ Permission is hereby granted, free of charge, to any person obtaining a copy...
ESP32 BLE Client – Code Copy the BLE client Sketch to your Arduino IDE or to the main.cpp file if you’re using VS Code with PlatformIO. /*** Rui Santos Complete instructions at https://RandomNerdTutorials.com/esp32-ble-server-client/ Permission is hereby granted, free of charge, to...
ESP32 PWM Example using analogWrite – CodeOpen your Arduino IDE and copy the following code. This example increases and decreases the LED brightness over time using the analogWrite function./* Rui Santos & Sara Santos - Random Nerd Tutorials Complete project details at https://RandomNerdTutorials...
This tutorial shows how to put the ESP32 in deep sleep mode and wake it up with a timer after a predetermined amount of time. The ESP32 will be programmed with Arduino IDE.
ESP32-CAM Take Photo with PIR Motion Sensor – CodeCopy the following code to your Arduino IDE./*** Rui Santos & Sara Santos - Random Nerd Tutorials Complete project details at https://RandomNerdTutorials.com/esp32-cam-pir-motion-detector-photo-capture/ IMPORTANT!!! - Select Board "AI...
If you use that function in an Arduino sketch, you’ll see that both thesetup()andloop()are running on core 1. Test it yourself by uploading the following sketch to your ESP32. /*** Rui Santos Complete project details at https://randomnerdtutorials.com ***/void...
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...