r/esp32 • • 11h ago

I made a thing! AirSense – An Open-Source Smart Air Purifier Built with ESP32-S3

Thumbnail
gallery
232 Upvotes

Air purification shouldn't stop at filtering the air. Understanding the environment around us is equally important.

AirSense is an open-source smart air purification system designed to bring air quality monitoring, intelligent connectivity, and HEPA filtration together in one integrated device.

Built around the Waveshare ESP32-S3, AirSense combines custom embedded firmware, environmental sensors, and Arduino IoT Cloud to deliver a connected air purification experience using accessible hardware.

Inside the System

Environmental Intelligence

  • Real-time PM2.5 and AQI monitoring
  • Indoor air quality (IAQ) measurement
  • Temperature, humidity, and atmospheric pressure monitoring

Embedded & IoT

  • Waveshare ESP32-S3 as the central controller
  • Custom firmware and sensor integration
  • Arduino IoT Cloud for remote monitoring and control
  • Web-based environmental monitoring dashboard

Air Purification & Mechanical Design

  • Xiaomi Air Purifier 4 Lite HEPA filtration system
  • Custom enclosure designed in Autodesk Fusion 360
  • Integrated electronics and filtration assembly

Designed to Be Open

AirSense is a completed, functional build. The complete project is documented and publicly available, including source code, hardware resources, design files, and build instructions.

The intention is simple: make a capable smart air purifier that others can understand, build, modify, and improve.

Explore the Project

Built with accessible hardware. Designed with purpose. Open for everyone.

I'd love to hear your technical feedback, ideas, and suggestions for future improvements.


r/esp32 • • 3h ago

Hardware help needed I have no experience with this stuff and would like to try and build this for my girlfriend.

106 Upvotes

My girlfriend is obsessed with aquariums and her birthday is coming up so I thought something like this that she could put on her desk would be so cool. I saw this guys video on reels and he had esp32 tagged in the description so it brought me here. I’m a broke high school kid so I don’t have insane money to spend and I think it would be cool to build it for her myself. I have no idea where to start and I couldn’t find a tutorial online. Any thoughts for how and where to start? (The feeding thing is cool but not entirely necessary for what I want to give her)


r/esp32 • • 17h ago

Hardware help needed What is this component?

Post image
28 Upvotes

Hello, I accidentally released some magic smoke from (fried) this circled component on my ESP32 Cam programmer board, and I would like to replace it, but I am unsure of what it is. Would you please try to identify it and let me know what it is?

I appreciate your help!


r/esp32 • • 15h ago

I made a thing! ESP32-P4 bike rear-view: int8 detection, tracking through potholes, TTC — full build details

12 Upvotes

I'm building a rear-view for my bicycle. A USB camera points backwards, an ESP32-P4 runs a vehicle detector locally, and the same MJPEG stream goes out a second USB port to a handlebar display. The display shows navigation when the road behind is clear and switches to the live rear view with a warning when something is closing in. This post is the vision half — work in progress, and no road-tested numbers yet.

Hardware

  • ESP32-P4 board with an ESP32-C6. The C6 runs ESP-Hosted 3.0.10 as a co-processor (SDIO 4-bit, 40 MHz); it is not used for video.
  • Camera: USB UVC, 640×480 MJPEG at 25 fps, on the P4's high-speed USB host. Camera power is gated by GPIO29.
  • Output: full-speed USB device on GPIO24/25, UVC bulk MJPEG, 25 fps target, 40 ms absolute pacing, latest-frame-wins.
  • Display: handlebar unit that consumes the MJPEG plus JPEG APP15 metadata — box coordinates, risk level, TTC, track ID.
  • Why this shape: the P4 is the only chip in this class I know of that does USB host capture, int8 inference, and USB device output without a second MCU in the middle.

Libraries vs code I wrote

  • Used: ESP-IDF v6.1, ESP-DL 3.3.11, esp_new_jpeg, esp_usb_host_uvc, TinyUSB.
  • Model: single-class vehicle detector built with ESP-DL (ESPDet head), int8, 288×384 input, trained on whole-frame labels rather than tiles. On my 280-image val set: mAP50 0.62 int8 / 0.70 fp32. Enough for this job, not a benchmark win.
  • ESP-DL is pinned in-tree as a source overlay, because the registry version alone dropped P4 conv/resize/tensor fixes. The overlay also adds the P4 reduce-s16 kernel and hardens the dual-core workers (8 KiB aligned stacks, release/acquire handoff).
  • Mine: UVC capture with reconnect, the full-speed UVC bulk output, a ByteTrack-style tracker with global motion compensation, a 1.8 s lost pool and a 4× box-width re-anchor pass, the τ = h/ḣ risk estimator, a sparse optical-flow veto, the APP15 TSD1/TSR1 encoder, and the C6 link.

Three things that actually took the time

  1. Internal RAM ordering. The model wants one contiguous 300 KB internal block. If I open the UVC stream first it takes ~57 KB and leaves 296 KB — fails by a hair. The detector now loads before the stream. I also hit a double free in usb_host_uvc on the stream-open failure path that aborted the whole firmware; the fixed driver is pinned in patches/.
  2. Potholes vs track IDs. On a bike, one bump translates the entire frame by tens to hundreds of pixels, IoU association dies, every car gets a new ID, and the box-height history that TTC depends on is gone. I estimate global translation on an 80×60 grayscale thumbnail, using only a band near the horizon (self-motion makes the near road unusable), compensate each track by accumulated offset, keep confirmed IDs hidden for 1.8 s, and add a wide re-anchor pass at 4× box width. Offline over 28 clips, near-box ID switches went from 0.11% to 0.07%.
  3. Parked cars vs real approaches. Box-height τ (Lee 1976) lives or dies on the slope: Theil–Sen instead of least squares, 70th-percentile residual, pixel SNR gate, width and height must grow together, minimum box height 8.5% (41 px), bump frames discarded, single-frame jumps over 35% reset the window. TTC uses a short 0.75 s window minus half a window, so at 8 fps the red level turns on with ~1.4 s left on a true 3 s TTC. A sparse optical-flow expansion estimate inside the box can only veto an escalation, never trigger one.

Current state and honest limits Inference runs at ~8 fps on-device while the bridge keeps its 25 fps target. 4 fps is the practical floor for the risk logic — below that it refuses to escalate rather than false-alarm, which is the tradeoff I chose. On-device int8 behaviour is still being tuned against the offline simulation, so I'm not quoting field numbers yet. Not handled: headlights at night, lateral crossers, and there's no metric distance. The rear mmWave module is a separate sensor; fusing its range and approach speed is the next step, so nothing above depends on radar. I'll open-source the whole thing once it's in decent shape. My main debugging tool right now is the 5-second log line


r/esp32 • • 19h ago

I made a thing! Oriole: open-source smartwatch-style firmware for the round Waveshare ESP32-S3 AMOLED

Thumbnail
gallery
10 Upvotes

I made a Pixel Watch-style interface for the Waveshare ESP32-S3-Touch-AMOLED-1.75C. It has a push-to-talk Gemini assistant, 10 clock faces, iPhone/Android notifications and music control, weather, Home Assistant and a bunch of small apps, all running at 60 fps.

The device has a really nice screen and I wanted to have an on desk companion that I can carry if I want. I used Claude and Gemini to create it. It uses its own driver to achieve constant 60fps. Supporting notifications for both iOS and Android was a with of a hurdle since iOS has native support for most things. Whereas Android requires a companion app.

You can install it straight from the browser, no toolchain needed: https://el.github.io/oriole/

I picked the name Oriole because I love birds, and it had to be a bird name 🐦

Code: https://github.com/el/oriole

Feedback and ideas welcome!


r/esp32 • • 14h ago

I made a thing! 3270 terminal using TTGO VGA32

7 Upvotes

I have created a stand alone 3270 terminal using a TTGO VGA32 for all the mainframe nerds.

It can be found at: https://github.com/centar2007/ESP3270


r/esp32 • • 18h ago

Hardware help needed Resources for building your first pcb?

5 Upvotes

Hi! Looking to build/design my first esp32 (c6) board, with low power consumption in mind, do you have any pointers where to start/advice on resources?

Thanks!


r/esp32 • • 18h ago

Hardware help needed Tips for removing black plastic from esp32 headers.

4 Upvotes

I have to mount my esp32 flush with my PCB and the only way I know to do it is to remove the black plastic from the header pins and then solder to the PCB.

But, removing these is harder than i thought it would be, it takes a while, sometimes i bend the pins by accident, and i'm stressing the solder joints.

I figure someone must have a tip for doing this.

Any help would be appreciated!