0
3166
The ESP32 has two I2C bus interfaces that can serve as I2C master or slave. In this tutorial we’ll take a look at the I2C communication protocol with the ESP32 using Arduino IDE: how to choose I2C pins, connect multiple I2C devices to the same bus and how to use the two I2C bus interfaces.In this tutorial, we’ll cover the following concepts:Connect..
0
5470
Learn to generate PWM signals with the ESP32 using Arduino IDE. We’ll explain two different methods: using analogWrite and using the LEDC API. As an example, we’ll build a simple circuit to fade an LED.Updated 11 June 2024Before proceeding with this tutorial you should have the ESP32 add-on installed in your Arduino IDE. Follow the next tutorial to..
0
1266
This guide shows how to wake up the ESP32 from deep sleep using the touch sensitive pins. The ESP32 will be programmed using Arduino IDE.The ESP32 can be awake from deep sleep using several wake up sources: timer, external wake up and touch wake up. This article shows how to use touch wake up.To learn more about deep sleep and other wake up sources..
0
551
his article shows how to use the ESP32 touch pins with Arduino IDE. The ESP32 touch pins can sense variations in anything that holds an electrical charge. They are often used to wake up the ESP32 from deep sleep.To read the value of the ESP32 touch pins, use the touchRead(GPIO) function, that accepts as argument, the GPIO you want to read.Watch the..
0
1223
Both ESP8266-12E and ESP8266-07 have one ADC pin that is easily accessible. This means that those ESP8266 boards can read analog signals. In this tutorial we’ll show you how to use analog reading with the ESP8266 using Arduino IDE, MicroPython or Lua firmware.As an example, we’ll show you how to read analog values from a potentiometer. This post is..
0
441
This tutorial shows how to read analog values with the ESP32 and ESP8266 boards using MicroPython firmware. As an example, we’ll read the values from a potentiometer.Getting analog readings with ESP32 and ESP8266 is a bit different, so there is a section for each board in this tutorial.PrerequisitesTo follow this tutorial you need MicroPython firmw..
0
1757
This article shows how to put the ESP32 in deep sleep mode and wake it with an external wake up, like a button press. We’ll use Arduino IDE to program the ESP32 and cover how to use ext0 and ext1 methods.Throughout this article we’ll cover the following subjects:how to put the ESP32 in deep sleep mode;wake up the ESP32 by changing the value of one ..
0
7422
This article is a complete guide for the ESP32 Deep Sleep mode with Arduino IDE. We’ll show you how to put the ESP32 into deep sleep and take a look at different modes to wake it up: timer wake up, touch wake up, and external wake up. This guide provides practical examples with code, code explanation, and schematics.Related Content: ESP8266 Deep Sl..
0
979
ESP32 Web Server – Arduino IDEIn this project you’ll create a standalone web server with an ESP32 that controls outputs (two LEDs) using the Arduino IDE programming environment. The web server is mobile responsive and can be accessed with any device that as a browser on the local network. We’ll show you how to create the web server and how the code..
0
1010
How to Set an ESP32 Access Point (AP) for Web ServerThe 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 Arduino IDE.In most projects with the ESP32, we connect the ESP32 to a wireless router (see our ESP32 web server tutorial). This way we can access the ES..
0
1058
ESP32-CAM Connect External Antenna (Extend Wi-Fi Coverage)The ESP32-CAM comes with an on-board Wi-Fi antenna, but it also has an IPEX connector if you want to use an external antenna. Using an external antenna can solve problems related with slow video streaming web servers and other connectivity problems. This tutorial shows how to use an external..
0
2889
The ESP32-CAM AI-Thinker development board can be programmed using Arduino IDE. This guide shows how to program and upload code to the ESP32-CAM (AI-Thinker) development board using Arduino IDE.The ESP32-CAM AI-Thinker module is an ESP32 development board with an OV2640 camera, microSD card support, on-board flash lamp and several GPIOs to connect ..
0
2927
ESP32 Pinout Reference: Which GPIO pins should you use?The ESP32 chip comes with 48 pins with multiple functions. Not all pins are exposed in all ESP32 development boards, and some pins 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 post aims t..
0
7631
The ESP32-CAM is a development board with an ESP32-S chip, an OV2640 camera, microSD card slot and several GPIOs to connect peripherals. In this guide, we’ll take a look at the ESP32-CAM GPIOs and how to use them.Pinout DiagramThe following image shows the pinout diagram for the ESP32-CAM AI-Thinker.Schematic DiagramThe following figure shows the s..
0
2028
ESP32-CAM Take Photo and Display in Web ServerLearn how to build a web server with the ESP32-CAM board that allows you to send a command to take a photo and visualize the latest captured photo in your browser saved in SPIFFS. We also added the option to rotate the image if necessary.We have other ESP32-CAM projects in our blog that you might like. ..
0
4191
ESP32-CAM PIR Motion Detector with Photo Capture (saves to microSD card)In this project, we’re going to make a motion sensor detector with photo capture using an ESP32-CAM. When your PIR sensor detects motion, it wakes up, takes a photo and saves it in the microSD card.This project is very similar with a previous one, but after so many requests, we..
0
2064
ESP32-CAM Take Photo and Save to MicroSD CardLearn how to take photos with the ESP32-CAM board and save them to a microSD card using Arduino IDE. When you press the ESP32-CAM RESET button, it wakes up, takes a photo and saves it in the microSD card.We’ll be using the ESP32-CAM board labelled as AI-Thinker module, but other modules should also work ..
0
3260
ESP32-CAM Troubleshooting Guide: Most Common Problems FixedAfter releasing some projects with the ESP32-CAM, some readers reported issues when trying to use the ESP32-CAM. This guide is a compilation with the most common errors when using the ESP32-CAM and how to fix them.We’ve released the following projects with the ESP32-CAM:Video Streaming, Fac..
0
3529
ESP32-CAM Video Streaming Web Server (works with Home Assistant)In this project we’re going to build an IP surveillance camera with the ESP32-CAM board. The ESP32 camera is going to host a video streaming web server that you can access with any device in your network.You can integrate this video streaming web server with popular home automation pla..
1
4220
ESP32-CAM Video Streaming and Face Recognition with Arduino IDEThis article is a quick getting started guide for the ESP32-CAM board. We’ll show you how to setup a video streaming web server with face recognition and detection in less than 5 minutes with Arduino IDE.Note: in this tutorial we use the example from the arduino-esp32 library. This tuto..


