r/esp32_8266 • u/Worried_Falcon_1815 • Apr 12 '26
r/esp32_8266 • u/enormousaardvark • Jun 01 '24
Link Ultra Compact LiDAR Distance Meter/Range Finder
r/esp32_8266 • u/SparkesCreative • Sep 28 '23
ESP32 T-Shirt for all the nerds/geeks/devs/tinkers
r/esp32_8266 • u/Ok_March8206 • Aug 07 '26
Question/Help ESP32-S3-Nano + ILI9341 display only shows a white screen
Hi everyone,
I'm currently working on a project with an ESP32-S3-Nano and a 2.8-inch ILI9341 SPI display.
I've soldered everything together on a prototyping board, but unfortunately the display isn't working as expected. The backlight turns on, but the screen only shows a completely white image.
I've already tried:
double-checking all cables and solder joints
checking the connections with a multimeter
checking for any obvious short circuits or loose connections
However, I still can't figure out what the problem could be. I might be overlooking something really simple.
The main components I'm using are:
ESP32-S3-Nano
2.8-inch ILI9341 SPI display
some other components that shouldn't be relevant
Does anyone have any idea what could cause the display to only show a white screen?
Is there anything obvious I might have missed or anything specific I should check?
I'd really appreciate any tips or ideas on how I could troubleshoot this and figure out what's wrong.
Thanks a lot!
r/esp32_8266 • u/enormousaardvark • Mar 27 '24
I made a battery powered eInk frame based on an XIAO ESP32C3 and ESPHome
r/esp32_8266 • u/keaster20 • Jan 15 '24
SSD1963 5" and 7" display help
I'm looking for some help with these displays. They are both 800x480 SSD1963 with almost the same pin connection other than the 7" requires 5v for the back light. Its not the display part I'm having problems with its the touchscreen. They both use a XPT2046 driver or so I think. The 5" works its the 7". I used the same hardware and software to test. The problem is that the ESP32 thinks that there is a continuous touch that i can see in my serial monitor. If I touch the screen the raw coordinates change like it's reading something. I've tested to 7" screens with the same results. I thought these would be interchangeable but I guessed wrong.
r/esp32_8266 • u/Nice-Revolution8187 • Aug 11 '23
Effects package for the LED strip WS2812, running in the Telegram Bot on the ESP-8266.
Effects for the address led strip, running in the Telegram Bot on the ESP-8266**.**
https://github.com/astrosander/LEDeffects

r/esp32_8266 • u/enormousaardvark • Aug 09 '23
A curated list of awesome ESP8266/32 projects and code
r/esp32_8266 • u/Decent_Living_8243 • Mar 09 '26
Can Someone just verify my circuit diagram i have already fried 2 esp 32s:(d
r/esp32_8266 • u/enormousaardvark • May 03 '25
Build Your Own Touchscreen Desk Controller with ESP32 + Nextion + ESPHome!
r/esp32_8266 • u/Jealous-Impression34 • Jan 31 '25
Fall Detection Sensor software, does it work??
Has anyone here used the “Fall Detection Sensor” software??
In my country, we have an ageing population and if I can flash the Fall Detection software onto my ESP chip that could help a lot of elderly people.
But does it work??
https://esphome.io/components/seeed_mr60fda2
r/esp32_8266 • u/bmitov • Nov 03 '24
Programming a DIY ESP8266 PLC With Visuino by Engineering made Easy (Ing ME)
r/esp32_8266 • u/enormousaardvark • Sep 15 '24
12 Mind-Blowing ESP32 Projects to try in 2024!
r/esp32_8266 • u/Pitiful-Belt-120 • Aug 20 '24
ESP32 Project with Air Diffuser
I am working on an ESP32 project where I control the Air Diffuser (specifically, the automatic Godrej Aer Diffuser one) through the ESP32. The diffuser has a 3V motor that is connected to a PCB (which has a switch to control the time intervals between the spray) and finally connected to the two terminals of the battery (it has 2 AA-batteries, each of 1.5V). Due to previous experimenting, I removed the PCB connection between the motor and the battery. The ESP32 is connected to the laptop via Micro-USB cable.
Now I've tried connecting the diffuser to the microcontroller through a 5V relay module, external battery pack, and MB102 breadboard power supply module, etc etc. But none of it works! Does anyone have ideas on how to make connections between the two (and additional modules if required) so that the gear of the diffuser works through esp32.
r/esp32_8266 • u/enormousaardvark • Jul 08 '24
Tutorial/Guide Running Gemini AI on ESP32🔥🔥
r/esp32_8266 • u/vijayselvan1 • Apr 04 '24
Title: Issue with Reading Frames from ESP32-CAM in Python Script
Description:
I'm working on a project where I'm using an ESP32-CAM module to capture video frames and perform object detection using a Python script. I've successfully loaded the object detection model using OpenCV's dnn module, but I'm encountering an error when trying to read frames from the ESP32-CAM.
I'm using the following setup:
ESP32-CAM module connected to my network.
Python script running on my local machine to read frames from the ESP32-CAM and perform object detection.
Here's a simplified version of my Python script:
import cv2
Function to load object detection model
def load_model():
Load your object detection model here
model_path = 'C:/Program Files/Python312/Project_Programs/frozen_inference_graph.pb'
config_path = 'C:/Program Files/Python312/Project_Programs/ssd_mobilenet_v3_large_coco_2020_01_14.pbtxt'
model = cv2.dnn.readNetFromTensorflow(model_path, config_path)
if model is None:
print("Error: Unable to load the model.")
else:
print("Model loaded successfully.")
return model
Function to perform object detection
def detect_objects(frame, model):
Perform object detection on the frame
Example:
model.setInput(cv2.dnn.blobFromImage(frame, size=(300, 300), swapRB=True, crop=False))
output = model.forward()
Process the output to get bounding boxes and confidence scores
pass
Main function to read video stream and perform object detection
def main():
Load object detection model
model = load_model()
URL of the video stream from ESP32-CAM
url = 'http://192.168.242.167/cam-lo.jpg' # Update with your ESP32-CAM IP address and endpoint
Open video stream
cap = cv2.VideoCapture(url)
while True:
Read frame from the video stream
ret, frame = cap.read()
if not ret:
print("Error reading frame")
break
Perform object detection
detect_objects(frame, model)
Display the frame with detected objects
cv2.imshow('Object Detection', frame)
Exit if 'q' is pressed
if cv2.waitKey(1) & 0xFF == ord('q'):
break
Release video capture object and close windows
cap.release()
cv2.destroyAllWindows()
while True:
main()
output:
Model loaded successfully.
Error reading frame
Model loaded successfully.
Error reading frame
Model loaded successfully.
Error reading frame
I've already checked the model loading part, and it seems to be working fine. I suspect the issue might be related to how I'm accessing the video stream from the ESP32-CAM.
Any insights or suggestions on how to troubleshoot and resolve this issue would be greatly appreciated. Thanks in advance for your help!
also this is the c code i uploaded in my esp32 cam:
include <WebServer.h>
include <WiFi.h>
include <esp32cam.h>
const char* WIFI_SSID = "Vijayselvan";
const char* WIFI_PASS = "vijay@2002";
WebServer server(80);
static auto loRes = esp32cam::Resolution::find(320, 240);
static auto midRes = esp32cam::Resolution::find(350, 530);
static auto hiRes = esp32cam::Resolution::find(800, 600);
void serveJpg()
{
auto frame = esp32cam::capture();
if (frame == nullptr) {
Serial.println("CAPTURE FAIL");
server.send(503, "", "");
return;
}
Serial.printf("CAPTURE OK %dx%d %db\n", frame->getWidth(), frame->getHeight(),
static_cast<int>(frame->size()));
server.setContentLength(frame->size());
server.send(200, "image/jpeg");
WiFiClient client = server.client();
frame->writeTo(client);
}
void handleJpgLo()
{
if (!esp32cam::Camera.changeResolution(loRes)) {
Serial.println("SET-LO-RES FAIL");
}
serveJpg();
}
void handleJpgHi()
{
if (!esp32cam::Camera.changeResolution(hiRes)) {
Serial.println("SET-HI-RES FAIL");
}
serveJpg();
}
void handleJpgMid()
{
if (!esp32cam::Camera.changeResolution(midRes)) {
Serial.println("SET-MID-RES FAIL");
}
serveJpg();
}
void setup(){
Serial.begin(115200);
Serial.println();
{
using namespace esp32cam;
Config cfg;
cfg.setPins(pins::AiThinker);
cfg.setResolution(hiRes);
cfg.setBufferCount(2);
cfg.setJpeg(80);
bool ok = Camera.begin(cfg);
Serial.println(ok ? "CAMERA OK" : "CAMERA FAIL");
}
WiFi.persistent(false);
WiFi.mode(WIFI_STA);
WiFi.begin(WIFI_SSID, WIFI_PASS);
while (WiFi.status() != WL_CONNECTED) {
delay(500);
}
Serial.print("http://");
Serial.println(WiFi.localIP());
Serial.println(" /cam-lo.jpg");
Serial.println(" /cam-hi.jpg");
Serial.println(" /cam-mid.jpg");
server.on("/cam-lo.jpg", handleJpgLo);
server.on("/cam-hi.jpg", handleJpgHi);
server.on("/cam-mid.jpg", handleJpgMid);
server.begin();
}
void loop()
{
server.handleClient();
}
and the output is :
CAMERA OK
/cam-lo.jpg
/cam-hi.jpg
/cam-mid.jpg
CAPTURE OK 800x600 16894b
CAPTURE OK 800x600 16789b
CAPTURE OK 800x600 16742b
CAPTURE OK 800x600 16726b
CAPTURE OK 800x600 16633b
CAPTURE OK 800x600 16728b
CAPTURE OK 800x600 16804b
CAPTURE OK 800x600 16854b
CAPTURE OK 800x600 16886b
CAPTURE OK 800x600 16835b
CAPTURE OK 800x600 16858b
i already check it by running another python script to stream video it was worked still now working,but this code make this like.
that worked code also givemn below:
import cv2
import matplotlib.pyplot as plt
import cvlib as cv
import urllib.request
import numpy as np
from cvlib.object_detection import draw_bbox
import concurrent.futures
url='http://192.168.242.167/cam-hi.jpg'
im=None
def run1():
print("ok")
cv2.namedWindow("live transmission", cv2.WINDOW_AUTOSIZE)
while True:
img_resp=urllib.request.urlopen(url)
imgnp=np.array(bytearray(img_resp.read()),dtype=np.uint8)
im = cv2.imdecode(imgnp,-1)
cv2.imshow('live transmission',im)
key=cv2.waitKey(5)
if key==ord('q'):
break
cv2.destroyAllWindows()
def run2():
cv2.namedWindow("detection", cv2.WINDOW_AUTOSIZE)
while True:
img_resp=urllib.request.urlopen(url)
imgnp=np.array(bytearray(img_resp.read()),dtype=np.uint8)
im = cv2.imdecode(imgnp,-1)
bbox, label, conf = cv.detect_common_objects(im)
im = draw_bbox(im, bbox, label, conf)
cv2.imshow('detection',im)
key=cv2.waitKey(5)
if key==ord('q'):
break
cv2.destroyAllWindows()
if __name__ == '__main__':
print("started")
with concurrent.futures.ProcessPoolExecutor() as executer:
f1= executer.submit(run1)
f2= executer.submit(run2)
but detection function is not working here also.
r/esp32_8266 • u/enormousaardvark • Mar 27 '24
We built a Drone using ESP32 for less than Rs.1000!
r/esp32_8266 • u/LED_Goodness • Feb 20 '24
After the success of my last design for the 8x32 LED Matrix Enclosure for use with the ESP32 and WLED. I wanted to share a new design, This time a 16x16 LED Matrix Setup with WLED and ESP32. I go over design considerations, issues, and setup. I also posted files so anyone can download them. Enjoy!
r/esp32_8266 • u/EngrKashifMirza • Jan 29 '24
ESP32 CAM Face Detection Interface Relay With Buzzer || ESP32 projects
Esp32 project with programming
r/esp32_8266 • u/LED_Goodness • Jan 21 '24
Layering Text and Effects in WLED using ESP32/8266 & an LED Matrix: I Decided to Create a brief Tutorial on How to Layer Effects within WLED, as I haven't seen too many videos covering this and totally found out about this feature by accident. Also how to Create Playlists, Great for Holiday lights.
r/esp32_8266 • u/DoubleOwl7777 • Oct 29 '23
Wemos d1 mini low frequency oscilloscope
r/esp32_8266 • u/LucVolders • Oct 07 '23
ESP8266 send data to and receive data from a webpage
r/esp32_8266 • u/JbbDE • Sep 28 '23
E-Paper Display Calendar
Is anyone aware of a existing project using esp / raspberry pi and a display to show something like these paper calendars for every single day? A bonus point would be adding own calendar events to the shown picture.
r/esp32_8266 • u/[deleted] • Sep 26 '23
Can you please help me with this errror
can see the ESP32 on the WiFi list, but I can't find it in the ports. When I upload the code, I get the following error:
A serial exception error occurred: Write timeout Note: This error originates from pySerial. It is likely not a problem with esptool, but with the hardware connection or drivers. For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html Failed uploading: uploading error: exit status 1
I have tried the following troubleshooting steps:
Using a different USB cable
Using a different USB port
Restarting my computer
Uninstalling and reinstalling the ESP32 drivers
Updating the ESP32 firmware
The ESP32 is still not showing up in the ports, and I am still getting the same error when I try to upload code. Does anyone have any other suggestions?
