r/esp32 • • 37m ago

AI Content pura-refresh: repurposing Pura V2/V3 diffusers with wireless custom firmware installation.

0 Upvotes

Hi all, first time posting here. I've become a recent convert to the ESP32 world, especially related to home automation.

We recently decided to no longer use our Pura diffusers due to the unavailability of certain fragrances my wife likes. I noticed on the back labels that they contained ESP32 modules, so I wanted to see if I could repurpose these for other projects.

The ESP32 boards are on a circuit board, which includes an integrated AC power supply.. I haven’t yet measured the spare current available from the low-voltage supply, but I’ve identified potential accessory connection points.

I started with UART access, then worked out a wireless installation method.

-- AI summary below --

The hardware turned out to be fairly interesting:

  • Pura V2: ESP32-WROOM-32, with 4 MB flash on the units tested.

  • Pura V3: ESP32-WROVER-E N16R8, with 16 MB flash and 8 MB PSRAM.

  • Both have RGB LEDs, a button and an integrated AC supply. V3 also has thermistor connections for the two heater blocks.

  • V2 has a four-position connector exposing GPIO32, GPIO33, nominal 3.3 V and ground. Available accessory current still needs testing.

The project, pura-refresh, uses a Raspberry Pi to install custom firmware without opening the diffuser. Bluetooth handles identification and temporary Wi-Fi provisioning; the firmware itself transfers over local HTTPS. The Pi hosts the temporary network, so no router configuration changes are required.

The tricky part was making a modern ESP-IDF application work with the original bootloader and partition table. V2 needed an early flash-size compatibility fix. V3 needed support for its legacy partition table without an MD5 trailer. The boards also have opposite heater-control polarity, so they require separate application images.

Wireless installs have succeeded on V2 hardware 2.1 running stock 2.10.0 and V3 hardware 3.0 running stock 2.7.0. The final combined installer still needs additional untouched-device testing.

The current firmware keeps the heaters off and provides local Wi-Fi setup, authenticated status and subsequent firmware uploads. Bluetooth gateways, sensor integrations and other repurposing applications are possible next steps rather than completed features.

I’ve also documented the pin maps and made a printable enclosure prototype. Its electrical and thermal suitability for mains use remains unvalidated.

I’d particularly welcome feedback on useful applications for these boards, and testers with untouched supported units.


r/esp32 • • 1h ago

I made a thing! I made an open-source Desk Buddy for ESP32-S3 touchscreen Desk buddy and PC monitor.

Thumbnail
gallery
10 Upvotes

Hey, so ClawPal is a little ESP32 that sits on my desk. Decided to make it a little cuter by adding a pixel crab to it that I drew. Basically it acts like a PC monitor - it shows stats, whatever media is playing plus controls, a volume mixer, weather, and shortcut buttons that run stuff on my PC. It works through a PC companion app that feeds the ESP32 all the info over Wi-Fi (in my case a Waveshare ESP32-S3-Touch-LCD-4.3B, 800x480).

Why this board? I actually wanted to use the ESP32-C6-Touch-AMOLED-2.16 at first, because I found a similar project that was using it, but realised its much for what I wanted to do, so 4.3 it is lol. But i decided to go with s3 since it can drive a big RGB screen directly, it has 8MB of PSRAM so two full framebuffers fit. WI-Fi's built in which is perfect for my case, and the native USB means my installer can find and flash the board on its own.

Sadly the version with the case was unavaliable in my local shop, so I had to 3D print it myself!

Libraries: ESP-IDF instead of Arduino, since i needed the RPG LCD driver, custom partitions and OTA updates with rollback, and that was all easier in IDF. LVGL 8.4 for the UI, since the demo came with 8.x and i didn't want to mess with 9. esp_lcd_touch for the touch chips.

At the start I had some issues where LVGL ate all the internal RAM at boot, so Wi-Fi had nothing left for TLS and the weather just broke. Moved all of LVGL into PSRAM with a custom allocator and it's fine now.

Code is open source(GPLv3): https://github.com/Kaayoos/clawpal
Waveshare ESP32-S3-Touch-LCD-4.3B, 800x480 3D model Case: https://makerworld.com/en/models/3546648-esp32-s3-pc-monitor-spotify-weather-desk-buddy#profileId-4057099

Would love some feedback! Thanks :)


r/esp32 • • 2h ago

AI Content Pocket AdBlock: a network-wide ad blocker on an ESP32 (C3 to S3), up to 1.65M domains, lists update daily over the air

7 Upvotes

This started from [esp32-c3-adblock](https://github.com/M-Abozaid/esp32-c3-adblock) (itself inspired by [s60sc/ESP32_AdBlocker](https://github.com/s60sc/ESP32_AdBlocker)), and grew into a full ESP-IDF rewrite with a different goal: keep it lean on a $2 C3, but actually use the extra flash and PSRAM when a bigger ESP32 has them.

Same S3 board, same 139k-domain list, same Wi-Fi, compared with esp32-c3-adblock:

- Blocked query: 1.9 ms vs 5.1 ms (median)

- Throughput: ~700 vs ~350 queries/s

- Blocked queries stay fast (~2 ms) while slow lookups are waiting on the upstream, instead of queuing behind them (up to 315 ms)

- Capacity: up to ~2.2M domains on 16 MB flash

**What it does**

- Blocks ads, trackers and (on big boards) malware/phishing domains for the whole home

- Blocklists rebuild daily on GitHub Actions; the board checks every 6 h and only downloads when the list actually changed (no reflashing, ever)

- A/B list slots: the new list is verified (SHA-256) before it's swapped in, so blocking never stops during an update

- Web dashboard (EN/ES): live query log, top domains/clients, 24 h graph, per-device "no filtering", allow/block lists

- Firmware updates over the air with rollback if the new build doesn't come up healthy

- Extras: Wake-on-LAN with "wake and verify", MQTT + Home Assistant discovery, SafeSearch, DNS over TLS upstream (Pro build)

**Numbers (ESP32-S3, measured over Wi-Fi from a wired PC)**

- Blocked query: ~2 ms median

- ~690 queries/s with 16 parallel clients

- Filter lookup: ~45 µs, even with 1.65M domains

- Capacity: ~218k domains on a 4 MB C3, ~830k on 8 MB, ~2.2M on 16 MB flash

**Which board**

- ESP32-C3 SuperMini (~$2): the Normal list (~140k domains) fits. Builds in CI, but I haven't run it on real hardware yet, so reports are very welcome

- ESP32-S3 with 16 MB flash + PSRAM (what I use): the Extended list (~1.65M, HaGeZi Pro + Threat Intelligence Feeds)

- Browser installer, no toolchain needed: https://joanrra2.github.io/pocket-adblock/

**Where Pi-hole is still better**

Regex rules, multi-million custom lists on any hardware, long query history, and a wired connection. This is a $2–10 always-on box; if it goes down, so does DNS, so keep a way to switch back.

DNS blocking also can't remove YouTube ads or ads served from a site's own domain. That's true for Pi-hole too.

Repo + docs + 85 s setup video: https://github.com/joanrra2/pocket-adblock

Happy to answer questions. Feedback on the C3 builds is especially welcome, since I've mostly tested on an S3.


r/esp32 • • 3h ago

I made a thing! I got GCC 15 running natively on an ESP32-S31. It only takes 5 hours to compile Lua.

11 Upvotes

Yeah I know, nobody needs a C compiler on an ESP32. But the S31 runs actual Linux with an MMU (annoyedmilk's esp32-s31-linux port, go check it out) and once I had a shell on it I really wanted to see if gcc would run.

It does. gcc 15.1 + binutils + musl, all running on the board. Video is real time, no cuts: boot, compile hello world, run it.

hello world takes about 20 seconds. CoreMark took 15 min to build and scored 971, same as when I cross compile it on my mac, so at least the code is right. Then I built all of Lua 5.4 on it. 5 hours 3 minutes. My mac does it in 3 seconds lol

The 320MHz cpu isn't really the problem though. cc1 alone is 45MB and linux only gets ~11MB of ram, so it keeps paging the compiler in from the usb stick. cpu sits idle most of the time.

Why the S31: it's the only ESP32 with an MMU, so it's the only one that can run real Linux and a real gcc. Built with musl-cross-make (musl because it's small and static is easy). Biggest headaches were a cross compiler leaking aarch64 objects into the riscv32 build, and the RAM.

Totally useless but I had fun. If you've got something you want to see compiled on this thing let me know, I've got time to waste

repo with prebuilt binaries + build scripts: https://github.com/kohbwoo/esp32-s31-native-gcc


r/esp32 • • 3h ago

I made a thing! PURR OS 1.1 (Portable Unified Runtime and Radio Operating System for ESP32)

4 Upvotes

Hi, been a few months!

This all started after a bought a T-Deck Plus (Cool, Looks like a Blackberry!) and then realized there wasn't a lot of General Purpose firmware's available, let alone the complexity for someone who just wants to start off with a breadboard and learn the basics (point, click, run!)

And that is when the idea for PURR OS was born!

For those who want a quick idea, think AOSP (Android), its a generic base platform that is adapted to all sorts of hardware, i just shrunk that idea down to fit on an ESP32.

For those who want the details, Its more than just the Android idea, i took my nearly 20 years of playing with, and breaking computers, and started experimenting a lot with Linux (as far back as 2014!), Windows 98. and even Mac OS X 10.9, went from there, taking the good from them and their successors, like

  • Apple, and how they package Apps, and Kexts (Drivers)

  • Linux, with the shell, core tools, and commands, as well as Device Trees

  • Microsoft, and the Plug and Play Driver system (and Lumia Design!)

  • BlackBerry, with Security and signature enforcement, with High Standards

PURR OS does the following,

  • Takes over the ESP32 2nd Stage bootloader, and chain loads our own bootloader with Hash checking at boot

  • Signature Enforcement (at Bootloader level upwards), the kernel gets checked at boot, and then every additional module loaded, also gets checked against a signed key (drivers included)

  • Has a fully Modular and Updatable System! (the kernel loads modules like login, shell, and any drivers)

  • Plug and Play drivers! (this is my favorite) You can add or update drivers on the fly without a reboot! i tested it against a LoRa 126x, Trackball, keyboard backlight, GPS Drivers!

  • Supports Signature Enforcement with your own keys! For those who want total control and full privacy!

  • And even Gaming! (Parts of that idea are still planned, but the OS has a "game mode" where it closes and stops almost everything in the OS for maximum performance!)

I'm going to be honest here, theres been so much added since i last posted about this, including the fact that this version is a fresh from scratch rewrite, so its a lot to take in.

PURR OS also has a lot of support for custom looks and themes!

i wanted it to be easy to get started, as well as be able to make it easier to develop for the esp32, and for those who dont have hardware, or money, this provides a free alternative to test, even before they do get hardware!

Did i mention that the UIs are Swappable? you can make your own, sideload it, or put it on your own PURR OS Hub repo, and have different looks installed with ease! (all you gotta do is reboot!)

Bootloader and our bootpackage use ESP-IDF 5.3.5, but the kernel and everything upwards is C or C++

PURR OS ships an F Droid Style app Store! you can host your own!

https://github.com/PastorCatto/PURR-OS-HUB (this is where the app store looks!)

Last thing before my brain gives up, PURR OS cares about Privacy and Security, including having permissions for apps to ask for, signature enforcement, and more, to keep your data YOURS, and to know what exactly the device in your hand is doing. That includes No Telemetry, PURR OS stays silent, i know nothing, and thats by design.

Enjoy!

Check it out here!

https://github.com/PastorCatto/PURR-OS-ESP32

also my QEMU fork and patches that are included in PURR Studio (uses rust!)

https://github.com/PastorCatto/ESP32-Emulator

(My ADHD started giving up, I've been writing this for an hour now, and I'm done lol. any questions, concerns, suggestions, reach out, sorry in advance if i don't respond right away, i don't check reddit too much, except for "has someone had this issue before?" lol)


r/esp32 • • 4h ago

I made a thing! I made a 7-inch touchscreen macro deck on an ESP32-P4 (LVGL 9.6, open source, board about $35-42)

Thumbnail
gallery
109 Upvotes

I am the author. I made a Stream Deck style macro deck for Windows on the GUITION JC1060P470C board, which has an ESP32-P4, a 7 inch 1024 x 600 capacitive screen and costs about $35-42 on AliExpress. There is no soldering. You need the board, a USB cable and a Windows 10 or 11 PC.

The first image is a Blender render of the console, made from the CAD model. I have not shown a photo of a print yet. The GIF and the other screenshots were drawn by the real panel UI code, built natively on the PC. The agents and mixer screens show sample data.

How the P4 is used:

LVGL 9.6 through esp_lvgl_port 2.9 on ESP-IDF 6.1. JD9165 panel over MIPI-DSI, GT911 touch controller. Two partial draw buffers of 1024 x 240 in PSRAM, one software draw unit, 15 ms refresh period. The panel only draws and reports touches. A small Python host on Windows owns the USB Serial/JTAG port, runs the actions and talks to the panel with a line protocol. Icons come over USB as RGBA with a CRC32 check and sit in an 8 MiB LRU cache in PSRAM. The same UI code builds natively on the PC. A test sends touch input and renders frames, so I see layout bugs before flashing. What it does: 18 keys per page, 4 screens (Keys, Agents, Mixer, Status), widgets, live PC gauges, a sound mixer, and a browser editor that runs on 127.0.0.1. The release has no network on the panel.

The console is 191 x 124 mm and takes about 180 g of PLA or PETG if printed solid. It needs no supports. STL, STEP and the FreeCAD and Blender models are in the repo.

It is Windows only and written for this one board. A port to another P4 display needs work, and CONTRIBUTING.md says what.

Code (MIT licence, v0.9.0): https://github.com/catorendal-a11y/tessera-deck Website: https://catorendal-a11y.github.io/tessera-deck/

I would like feedback on the in-place UI updates and the icon cache, and help from anyone who wants to port it to another ESP32-P4 display.


r/esp32 • • 5h ago

Board Review Manual LED Strip controller

4 Upvotes

I am wanting to put some LED strips in my car interior and would like to control them manually (dial or buttons) but cannot find any aftermarket options. All I have seen is bluetooth or WLED, etc. Can anyone point me in the right direction?


r/esp32 • • 5h ago

Hardware help needed Is there something like a CYD with more exposed GPIO?

4 Upvotes

I'm building a new speedometer for my old truck cause the mechanical one is broken and I can't get parts.


r/esp32 • • 6h ago

I made a thing! I built an ESP32 self-balancing robot using NEMA 17 stepper motors

60 Upvotes

I've been working on this self-balancing robot for a while. I previously shared a video of it here, and now I've finally decided to share the project and source code.

The hardware is an ESP32, 2 × NEMA 17 stepper motors, 2 × DRV8825 drivers, and an MPU6050, running at 16× microstepping.

For the balancing algorithm, I'm using the MPU6050 for angle estimation and a PID control approach. Step pulses are generated using hardware timer interrupts, with direct GPIO register access to keep things efficient, and found it to be realy helpful while tunning. I also added wireless control and a web interface for adjusting the PID parameters and angle offset.

I learned a lot from studying the YARB and B-ROBOT EVO2 self-balancing robot projects, and benefited from their work when building my own robot.

I've tested it with two different robot body sizes, and I'm pretty happy with how it's working so far.

Here's the source code:
https://github.com/xamechanics/xabalancing

I also have a longer YouTube video showing the robot, its assembly, and a walkthrough of the code. Check it out!

I'd be happy to hear your feedback or suggestions.


r/esp32 • • 7h ago

Hardware help needed Is there any way to add external antenna to esp32c3supermini

Post image
31 Upvotes

I want to add the antenna to increase range. i tried to cut the coax wire of standard 2.4g antenna and soldered it in place of the red pcb antenna. with the antenna only on the reciever side it worked. when i added a similar one on the other side too it stopped working. (works only with antenna on reciever side).

Is there a specific resistor I'm supposed to change (like the other esp 32s)?

any help is appreciated


r/esp32 • • 7h ago

I made a thing! Aura AQ: my DIY ESP32-S3 air quality monitor

3 Upvotes

Hi everyone! Aura AQ is coming up on its first birthday. You might have seen it elsewhere, but I haven't really introduced it here yet. I wanted to share how it started and what it looks like now.

Aura is a DIY air quality monitor built around an ESP32-S3. It measures CO2, airborne particles, temperature and humidity, and shows VOC and NOx indices on a touchscreen.

I started with a 4.3-inch screen, a Sensirion SEN66 and a few Adafruit modules inside a 3D-printed enclosure. Later I added a 7-inch version, which has become my favourite. When the Adafruit modules went out of stock, I designed my own Sensor Hub PCB with the supporting components and sensor connectors.

The 7-inch build also gave me a few headaches: the shared I²C bus could lock up, the display could go blank, the device could restart, or touch input could stop working, with different sensor combinations and no predictable timing. I resolved this by moving the sensors to a separate I²C bus and splitting the firmware into 4.3-inch and 7-inch builds.

There are now several enclosures to choose from. You can print the whole case or combine engraved, CO2-laser-cut acrylic with 3D-printed parts. I like the clear one because you can see how everything fits inside.

I've added support for the SEN69C and the separate SFA40 formaldehyde sensor.

Some SFA40 modules have shown persistently elevated HCHO readings even after warmup. We have a whole discussion on GitHub where we're collecting reports and diagnostic results, but we still don't have a confirmed common cause:

https://github.com/21cncstudio/project_aura/issues/113

SEN69C is a recent release, so I don't yet have enough experience with it to draw firm conclusions.

Aura also has a local web dashboard with charts and Home Assistant integration.

The ozone sensor has its own little story. A user from Brussels told me ozone was a concern where he lived and that he wanted to keep an eye on it. We picked the DFRobot SEN0321, I added firmware support and made a bracket to fit it inside Aura.

There are optional gas sensors for specific applications too. These are mostly for specialised spaces and uses outside the home. For a home build, you can stick with the main SEN66 or SEN69C module.

I've released several firmware updates and keep working on the code. The Aura community helps a lot with this. People build devices with different sensors and wiring, report bugs and help test fixes. That makes a real difference with intermittent problems that can be hard to reproduce on my own setup.

Thank you to everyone who has supported the project, shared a build or helped with testing. Aura is what it is today because of you. It's lovely to see other people building and using something that started on my desk.

Aura is also a crowdfunding project on MakerWorld, where backers get my enclosure files and assembly guides. You're welcome to build Aura in your own enclosure too. The firmware is free and open source under GPLv3, so you can use and adapt it for your own build. The source code and further project details are on GitHub:

https://github.com/21cncstudio/project_aura

If you're interested, I'd be happy to share more about building one, choosing sensors or developing the project.


r/esp32 • • 8h ago

I made a thing! E-ink box for air quality + weather (XIAO C3, 4.26")

Thumbnail
gallery
38 Upvotes

Total beginner here, so big thanks to this sub for getting me started.

A XIAO ESP32-C3 sits on Seeed's ePaper driver board with a 4.26" e-ink screen and an 1800 mAh LiPo, in a 3D-printed case.

Once an hour it wakes up, pulls a little JSON from a Cloudflare Worker, draws it and goes back to sleep. The Worker averages the PurpleAir sensors within 5 mi and gets temp and rain from Open-Meteo.

I tried to keep the case as simple as I could but I struggled to lay things out so the USB-C port and on/off switch could be reached without taking the back off. In the end I decided it wasn't a big deal, since the battery should last a few months. Also couldn't quite figure out a simple way to keep everything in its place so used little slots with Velcro straps. Had my local library print it.

I was going to put it on the fridge with magnets, but I ended up just liking it sitting on a shelf.


r/esp32 • • 10h ago

I made a thing! Copy That Floppy: A Portable 3.5" Disk WiFi NAS

Thumbnail
youtu.be
30 Upvotes

I got tired of hunting down a USB floppy drive and a computer every time I wanted to pull pictures off my Mavica Camera, so I built floppy3.5.

It's a portable, battery-powered 3.5" drive with WiFi. Put a disk in, and it shows up on your phone or laptop at floppy.local, where you can browse and download the JPEGs straight from the browser. You can also copy disks to microSD with one button press. Each disk goes into its own folder, and files already on the card get skipped, so you can keep re-shooting on the same floppies.

The ESP32 is the workhorse for the GUI, it does all the WiFi work, checks and stores files to SD and does all the OTA updates

What's in it:

- Custom PCB with an RP2354A for the drive and an ESP32-S3 for WiFi

- 1.9" LCD with status screens and a track map

- LiPo battery with a charger and fuel gauge

- 3D-printable housing

- Greaseweazle-compatible over USB

It's fully open source (Unlicense), with schematics, firmware and housing files:

https://github.com/bigcrimping/floppy3.5

Video: https://www.youtube.com/watch?v=wcR_Jo1fEtY

Happy to answer questions.


r/esp32 • • 10h ago

I made a thing! I built a phone with a from-scratch OS on a single ESP32-S3 (no Android/Linux, 45 apps)

Thumbnail
gallery
20 Upvotes

Hi r/esp32! I've been building a DIY phone called "Accretion Phone" running NyxOS, an OS written from scratch on FreeRTOS. No Android or Linux: the launcher, notification center, network stack, emulators, media player and graphics engine are all custom code (~53k lines of main firmware, 45 built-in apps).

Why the ESP32-S3

I needed a lot of RAM for a touch UI, emulators and video, so the 8 MB octal PSRAM (plus 16 MB flash) was the deciding factor. The S3 has no Classic Bluetooth, so audio goes through a second chip, an ESP32-CAM board. It decodes MP3 and streams A2DP to earbuds (the phone has no speaker) and also handles the camera.

Hardware

- ESP32-S3, 16 MB flash, 8 MB OPI PSRAM

- 3.5" ST7796 display + FT6236 capacitive touch

- ESP32-CAM as Bluetooth audio + camera co-processor, linked over UART

- INMP441 mic, INA219, MPU6050, SD card

- LiPo battery with a charge/discharge module

- Currently in a DIY clear plastic box (a custom 3D-printed case is a work in progress)

Written from scratch (no external library)

- RPLink: my own UART framing protocol between the S3 and the CAM (audio, camera preview/photos, flow control). It starts at 921.6 kbaud and goes up to 5 Mbaud while the camera app is open, with automatic fallback if the link is noisy.

- E-book engine: inflate, ZIP, EPUB parsing, HTML-to-text and page layout. It reads one chapter at a time from the ZIP to save RAM.

- Settings backup with AES-256-CTR, PBKDF2 and SHA-256 in plain C++, checked against Python's hashlib/cryptography.

- Chess engine (negamax, a player-style model, Lazy SMP on the second core).

- Keyboard dictionary/autocorrect, Project Gutenberg downloader logic (JSON/OPDS parsing, CRC32, ZIP checks), emoji loader.

- Most of these are pure C++ headers with no Arduino dependency, so I can unit test them on a PC (AddressSanitizer, perft for chess).

Third-party libraries and why

- LovyanGFX for the display: fast SPI drawing into PSRAM sprites, which a smooth UI and DOOM need

- JPEGDEC for JPEG decoding (photos, covers, AVI video)

- PubSubClient (MQTT chat) and WebSockets (web remote and gamepad)

- Nofrendo (NES) and doomgeneric (DOOM), because writing emulators from scratch wasn't the goal

- On the CAM: ESP32-A2DP, arduino-libhelix and audio-tools for Bluetooth audio and MP3 decoding

- A custom Arduino core build (via esp32-arduino-lib-builder) that moves mbedTLS buffers to PSRAM

Technical hurdles

- Internal RAM is the bottleneck: only ~162 KB, and one HTTPS connection needs a contiguous 20-30 KB block. Without discipline I got random `HTTP -1` errors and reboots. Fixes: big buffers and heavy task stacks in PSRAM, plus an "App Memory Guard" that frees background app caches when RAM gets low.

- Moving mbedTLS to PSRAM dropped internal RAM use during HTTPS from 167 KB to 127 KB, and the largest free block went from 21 KB to 30 KB (single measurement on one unit, so treat it as an indication).

- Camera link: ACK without waiting for the UI, JPEG header dedup and a higher baud rate made a big difference to preview smoothness.

- Pin budget: PSRAM/flash/USB pins are off limits, so touch and the sensors (MPU6050, INA219) each got their own I2C bus.

- Absolute AVRCP volume made the watchdog reset the CAM on some earbuds, so I deliberately don't advertise it.

- SD card reliability: downloads are verified by reading back and comparing CRC32, and retried with a different write method if it mismatches.

- NVS/OTA writes from tasks with PSRAM stacks can crash the chip when flash cache is briefly disabled, so those run elsewhere.

- DOOM runs at roughly 20-24 fps on this panel (see photo). The display SPI overclock depends on wire quality, so it's flagged as hardware-dependent.

Honest status

Most features are tested on my own unit only. SIP calling is partly tested (works with sip2sip.info over TCP), and chess, backup/restore and the newest gestures are still BETA. The UI is currently in Indonesian; an English translation is on my to-do list.

Code (AGPL-3.0): https://github.com/silentproject2025/ren_phone/tree/sip-tcp

Happy to answer questions about the architecture, and feedback is very welcome!


r/esp32 • • 11h ago

Advertisement I built a modular flip-dot display around an ESP32 – 72 hand-wound coils per module

58 Upvotes

Hey r/esp32! 👋

For the past months we’ve been building FLYPPE, a modular flip-dot display, and every display is driven by an ESP32. Wanted to share how it works.

The hardware

  • Each module is 3.5" × 3.5" (9 × 9 cm) with 36 mechanical dots

  • Every dot is flipped by 2 hand-wound coils, so 72 coils per module

  • Coils are driven by TPIC6B595 + TBD62783 drivers with an SS34 diode matrix

  • Modules snap together edge to edge, and one ESP32 controller drives up to 16 modules over a single 6-pin cable

  • Bistable: it uses 0 W to hold an image, and only draws power when dots flip

The software

  • Control it from the app, or through an open API (text and bitmaps)

  • Works over Wi-Fi, or fully offline over USB-C serial, with no network needed

  • Ideas we’re working on: clock, weather, Spotify “now playing”, Home Assistant integration

Sizes

  • Kit S: 12×12 dots (7" / 18 cm)

  • Kit M: 18×18 dots (10.6" / 27 cm)

  • Kit L: 24×24 dots (14" / 36 cm)

  • Wall: 36×36 dots, 1,296 dots (21" / 54 cm)

We’re crowdfunding the first production run on Kickstarter, and we ship to the US. Until Nov 17, every kit comes with free extra modules, plus free shipping on new pledges.

👉 https://www.kickstarter.com/projects/flyppe/flyppe?ref=reddit

Happy to answer anything about the coils, the driver board or the firmware!


r/esp32 • • 12h ago

Software help needed ESP32-S3 + Waveshare 4.3" RGB display briefly flashes during HTTPS requests

Post image
7 Upvotes

Hi, I’m working on a DevOps dashboard for a Waveshare ESP32-S3-Touch-LCD-4.3 (800×480 RGB, ST7262, ESP32-S3 with PSRAM). It uses Arduino, LVGL 9, ESP32_Display_Panel, and ESP32 core 3.3.12.

I am a C# guy, so this work is mainly Opus 5.5 code 🤪.

The display is generally stable, but I sometimes get a brief, single-frame flash when the firmware fetches data from a REST API over HTTPS. The request runs in a FreeRTOS task pinned to Core 0; LVGL runs in a separate task pinned to Core 1. The tasks don’t share LVGL objects—the API task publishes a data snapshot protected by a critical section.

The display uses two RGB565 framebuffers in PSRAM and a 20-line RGB bounce buffer in internal SRAM (\`800 × 20\` pixels). The board’s RGB pixel clock is still at its default 16 MHz. The LVGL task uses DIRECT mode and switches framebuffers after rendering.

There’s also a VSYNC workaround in the display port for a suspected ESP-IDF 5.5.5 bounce-buffer DMA EOF counter issue. It resets the counter at VSYNC and increments a \`panelResyncs\` diagnostic when it detects a mismatch.

Each API request currently creates a local \`WiFiClientSecure\`, and \`HTTPClient\` has connection reuse disabled (\`setReuse(false)\`), so each request establishes a new HTTPS connection. API polling is normally every 30 seconds.

I’m trying to figure out what’s most likely behind the flash: DMA/bounce-buffer refill timing, PSRAM bandwidth contention, Wi-Fi/TLS activity or the new TLS handshake, or something else. Would lowering the RGB PCLK from 16 MHz to around 12–13 MHz be a reasonable diagnostic test? Is there anything else you’d check first? I can monitor \`panelResyncs\`, frame count, and LVGL heartbeat around the requests.

Thanks!


r/esp32 • • 13h ago

I made a thing! [Release] GeekMagic SmallTV-PRO Modded Firmware: Full HD 160×160 Animated Notify Engine + Dual Stock Candlesticks + Custom Polling

Thumbnail
gallery
6 Upvotes

Hey everyone!

I've been heavily modding and fine-tuning the **GeekMagic SmallTV-PRO (ESP32 8MB Flash)** firmware to turn it into an funny dashboard and notification monitor.

After lots of testing and fixing embedded display buffer constraints, I’m releasing a custom firmware build (**v3.9.9**) packed with enhancements:

### ✨ What's New & Highlight Features:

  1. **High-Definition Full-Screen Notify Engine (160×160 Integer Scaling)*** Built-in animated presets for Home Assistant, n8n, AI Agent automations, and cURL scripts via `/api/notify`.* **Problem solved**: Standard 40×40 low-res icons looked like chunky 8-bit blocks when scaled 4x, and raw 120×120 GIFs suffered from jittering and flash overflow.* **Solution**: Hand-tuned 80×80 high-density frames rendered with clean **integer 2× scaling (160×160 px on the 240×240 panel)**. Crisp lines, zero shimmer, and super fluid frame rates!* **Available Animated Tags**:

- `phone` / `ring` (10 frames): Retro phone vibrating/ringing

- `mailbox` / `mail` (16 frames): Mailbox raising flag and opening door

- `sms` / `message` (19 frames): Speech bubble typing & popup

- `telegram` / `tg` (4 frames): Rotating flying paper plane

- Plus 5 emotional reaction stickers (`beer`, `busy`, `cry`, `chicken`, `yahoo`)

2. **Dual Stock Ticker Tracking (Stock 1 & Stock 2)**

* Supports real-time candlestick and line chart timeframes (1m, 5m, 30m, 60m, Daily, Weekly).

* Supports US stocks (Yahoo Finance: SOXX, SPY, NVDA, AAPL, etc.) with pre-market tracking, as well as Asian/KRX tickers (Naver API).

* Background pre-fetching eliminates delay when toggling between stock feeds and clocks.

3. **Customized WebUI Controls**

* **Weather Refresh Polling**: Adjustable refresh frequency (in minutes) right from the Weather tab.

* **General Settings**: Dedicated carousel auto-cycle timer and app toggling options.

---

### 🚀 Easy Notification API Integration:

Send a quick HTTP POST request to trigger full-screen animated alerts:

```bash

curl -X POST -H "Content-Type: application/json" \

-d '{"anim":"mailbox","title":"SERVER ALERT","label":"Build succeeded","ttl":5}' \

http://<SMALLTV_IP>/api/notify

```

---

### 📦 How to Flash (Safe Web OTA):

  1. Download `firmware_v3.9.9_public_release.bin` from GitHub Releases:https://github.com/twoarchi/smalltv-pro-mod/releases/tag/v3.9.9

  2. Connect to your SmallTV WebUI via browser. *(Make sure browser auto-translate is disabled!)*

  3. Go to **System / Update** tab and upload the `.bin` file.

  4. The device reboots in ~5 seconds with all your existing Wi-Fi and saved tickers completely intact!

*(Note: Tested on GeekMagic SmallTV-PRO ESP32 8MB Flash model).*

GitHub Repository & Full Source:

https://github.com/twoarchi/smalltv-pro-mod

Let me know what you think or if you'd like to see more animations added!


r/esp32 • • 14h ago

I made a thing! Tin box small Aquarium

Thumbnail
gallery
45 Upvotes

A little tin box aquarium, using an ESP32-C3 SuperMini, a 1.8″ TFT, a five way switch and a LiPo battery. You feed the fish and shrimp, change the water, buy plants and decorations, and upgrade the tank. Different species have their own behaviours, and neglect can eventually kill them. Everything runs offline. Basically a fish Tamagotchi

The wiring was a bit of a headache, and the build is definitely rough around the edges, but I’m happy with how it turned out 😅


r/esp32 • • 15h ago

I made a thing! Showing off my esp32 project

Thumbnail
gallery
533 Upvotes

Well, since my previous post was removed for violating the rules I'm posting it again with more information:

This is my esp32/8266 based home assistant gateway, from electronic conmection, reverse engineering, programming, all the way to case design:

Source code at https://github.com/HclX/wyzesenserelay, case design at https://makerworld.com/models/3615364.

The work started by reverse engineering a deprecated home automation sensor system, and trying to increase its range and improve battery life. ESP8266 and ESP32 boards are chosen simply because I have quite some in my drawer and they are capable of all the handling. This entire project is more about fun and challenge, not for cost saving purpose. While AI is heavily involved for reverse engineering and programming part, idea and content are genuinely my own, and hardware soldering, case design and printing was done by myself manually.

A couple things I think it can benefit people here:

  1. If anyone happen to used wyzesense ecosystem, they can now use this project for already deprecated sensors.

  2. If anyone is designing their own cases, they can take my design directly, or refer to its idea for making a compact case

  3. I'm also like to share ideas and thoughts.

I hope this proves my post is serious not simply spam to others.


r/esp32 • • 18h ago

Hardware help needed Waveshare ESP32 S3 Touch Amoled 1.64" - WIFI Issues Ceramic Antenna

2 Upvotes

Board: https://docs.waveshare.com/ESP32-S3-Touch-AMOLED-1.64

I have the Waveshare ESP32 S3 Touch Amoled 1.64", the ceramic antenna is not performing as expected, is there anyone else with such problems?

Title: ESP32-S3-Touch-AMOLED-1.64 (Rev1.1) — Wi-Fi only at arm's length, external
       antenna on J3 changes nothing. Schematic says the chip antenna is DNP.
       Looking for someone with the same board.

Body:
Board: Waveshare ESP32-S3-Touch-AMOLED-1.64, silkscreen Rev1.1, ESP32-S3R8.

Symptom: Wi-Fi barely works. SoftAP visible at ~0.3 m. Receives my AP at -90 dBm
while a Raspberry Pi 5 on the same desk hears it at -65 dBm — a repeatable 25 dB gap.

Ruled out, with measurements:
- TX power: esp_wifi_get_max_tx_power() reports 80 (20 dBm) before and 78
  (19.5 dBm) after setting it; modem sleep off, WIFI_PS_NONE.
- AMOLED interference: with the panel never initialised (LCD firmware on the
  AMOLED board, screen black, QSPI idle) range is identical. Brightness 0 vs 200:
  under 2 dB difference.
- BLE coexistence: scan duty 67% -> 30%, no change.
- Power: USB-C from a Pi 5, no brownouts.

The schematic (Rev1.1) RF section reads:
  LNA_IN -> R18 0R -> [C13 NC] -> R45 0R -> [C27/C28/D2 NC] -> R17 (0R/NC) -> J3 U.FL
  J4 CA-C03 ceramic antenna marked DNP

So on paper the only antenna path is J3, through three 0R links, with all matching
parts unpopulated. A U.FL antenna on J3 makes no difference at all, which is what
you'd expect if one of those links is missing — but I have not confirmed
population yet.

Questions for anyone with this board (or the 1.43/1.75 siblings, same family):
1. Are R18/R45/R17 populated on your unit? A photo of the RF area at magnification
   would settle it.
2. Does your board have an onboard antenna at all, or does it ship with a pigtail
   on J3?
3. What RSSI do you see at 1 m in free space? I'd like a reference number.
4. Has anyone found the U.FL dead until a link is moved?

I'll post the continuity results from J3 to the module RF pad once I've measured
them, and the outcome of the support ticket with Waveshare.

r/esp32 • • 20h ago

I made a thing! ESP32: one button, two jobs — tap rings, hold 1s resets (millis)

4 Upvotes

Same Wi-Fi doorbell hardware as before: one tactile button, one piezo, a page on any browser on the LAN.

New idea: time how long a clean (debounced) press lasts with millis(). Let go before 1 second = tap (ring). Still holding at 1 second = hold (reset count to 0).

Hardware

- ESP32 DevKit (30-pin)

- 6 mm tactile push button

- Passive piezo buzzer

- 4 jumpers + breadboard

Wiring

- GPIO33 → button → GND (INPUT_PULLUP)

- GPIO25 → piezo → GND

How it works

  1. Debounce as usual (50 ms quiet window)

  2. On clean press, start a stopwatch

  3. Release before 1 s → tap / ding / ring++

  4. Still down at 1 s → hold fires immediately, count resets

Happy to share the sketch if useful. Short walkthrough: https://www.youtube.com/shorts/bzs_N4e8Wxw


r/esp32 • • 22h ago

Advertisement Softshell Writing device using esp32 7in dev board

Thumbnail
gallery
12 Upvotes

Been playing around with different form factors for a distraction-free writing device, and figured I’d share this slightly hacky build.

The whole thing is pretty simple:

  • ESP32-S3 with a 7” LCD running my own custom writing software. Chosen for the nice 7in screen size

  • $6 keyboard folio from Temu (search “phone keyboard leather”). The Bluetooth keyboard sticks to the case magnetically and can be removed.

  • 3D-printed bezel to house the LCD, held in place with a couple of backing strips and screws.

  • External battery pack, because I couldn’t figure out a clean way to integrate one into this setup

It actually came together pretty nicely! Folds shut like a little notebook, and the keyboard is surprisingly usable for something so cheap (though small key pitch takes getting used to)

I’ve been working on an ESP32 based writing device (https://justtypeleaf.com/) and this was a fun side experiment while figuring out the hardware. (That one will include a battery, promise!)

Anyway, thought this community might appreciate the build


r/esp32 • • 1d ago

I made a thing! Cyberdeck using an ESP32-S3

Post image
503 Upvotes

Hello, everyone! I just built a cyberdeck using an ESP32-S3 to look up Brazilian laws!

I'm a law student in Brazil, and I have ADHD, so I wanted something 100% offline, without smartphone distractions or the need to carry around massive legal codebooks. I'm also a fan of cyberpunk aesthetics, so I included physical buttons and a retro-style interface!

1. Why the ESP32-S3?

I chose it because it's affordable, compact, power-efficient, and powerful enough for what I needed. Mine has a dual-core 240 MHz processor, 8 MB PSRAM, and 16 MB flash.

The hardware includes a 3.2-inch ILI9341 display, a mini Bluetooth keyboard, a microSD reader, a PS5 controller battery, and a charging board. I designed and 3D-printed the enclosure using my Ender 3 V3 KE.

2. Software and libraries

I developed the software from scratch with the help of Claude Code and Codex. I only know basic programming, so AI was incredibly helpful throughout the process!

The firmware is written in C/C++ using the Arduino ecosystem, with SPI communication for the display and SD card. Instead of loading everything into RAM, it reads indexed legal documents directly from the microSD.

I also developed a separate system that retrieves legislation from official Brazilian government sources and prepares updates for the device.

The cyberdeck has four additional features accessible while reading:

Related legislation: Shows connections between different laws and articles.

Jurisprudence: Displays relevant court decisions and legal precedents.

Explain: Simplifies complicated legal language for easier understanding.

References: Suggests related books, movies, documentaries, series, and games.

3. Biggest challenges

Definitely the hardware integration and memory limitations! I had to replace the original display, redo wiring and soldering, troubleshoot SPI and touch issues, and optimize the firmware.

Displaying large amounts of legal text on a 320×240 screen while maintaining smooth scrolling, readable fonts, and proper Portuguese characters was also challenging.

The whole project went through many iterations, but seeing everything finally working was incredibly satisfying!

It's not a commercial product, just a personal project combining my love for electronics, programming, and law. Everything runs completely offline!

Hope you like it!


r/esp32 • • 1d ago

I made a thing! Compiled 33,000 fruit-fly connectome weights into 24 KB of zero-float, zero-malloc C99 for ESP32 / Arduino (NeckLink v3.0.0)

9 Upvotes

Hey everyone,

As a follow-up to the NLTP ESP-NOW transport library I shared earlier, I just pushed v3.0.0 of the rest of the open-source (MIT) NeckLink suite: five zero-heap, zero-float ANSI C99 and Arduino libraries compiled with the ESP32 Xtensa toolchain that run real synaptic weight tables extracted from the 157,789-neuron adult fruit-fly connectome (BANC v888).

All floating-point math and dynamic allocations (malloc/free) are stripped out so the entire 4-organ reflex controller + MAVLink v2 packet encoder fits inside a single 24,024-byte static struct (0 bytes of hidden global .bss):

  • NeckLinkCNS (24,024 B static RAM): unified 4-organ reflex loop (brain populations -> descending neurons -> motor pools) + MAVLink v2 output.

  • NeckCompass (352 B base / 1,120 B plastic RAM): 9-axis tilt-compensated ring-attractor compass and GPS-denied homing using EPG/PEN/Delta7/PFL3 weights.

  • NeckSight (14.3 KB static RAM): 32x32 integer optic-lobe collision and thin-wire looming detector (64 LPLC2 + 32 LC4 cells) with 3-DOF BAM integer gyro derotation for ESP32-CAM style setups.

  • NeckCord (< 1 KB base RAM): 6x6 VNC hexapod gait coupling, 18-servo integer IK, sensorless ESC observer, and 4-byte command codec.

  • NeckSense (< 6 KB SRAM in tiny mode): 1,024 Kenyon-cell sparse integer projection for vibration/gas novelty detection.

Minimal C99 / Arduino ESP32 usage:

#include <NeckLinkCNS.h>

static nl_cns_t g_cns;

void setup() {
  Serial.begin(115200);
  nl_cns_init(&g_cns, NL_VEHICLE_HEXACOPTER);
}

void loop() {
  nl_cns_step_default(&g_cns, 20); // 20 ms fixed-point integer tick
}

A couple of upfront honest caveats:

  1. Unlike NLTP (which I already bench-tested over the air on physical ESP32-D0WD and ESP8266 boards), these five connectome libraries have so far only been verified for clean esp32dev Xtensa compilation, desktop C99 ASan/UBSan (~166 us per full controller tick), WebAssembly, and closed-loop simulation. Measuring cycle counts on ESP32-S3 and ESP32-CAM hardware is next on my list.

  2. We tested all 39 connectome weight matrices against 100 degree-preserving random rewirings and classical filters: the real fly wiring strongly beats shuffled wiring on compass homing (100% vs 4.7%) and hexapod tripod gait (0.855 vs 0.411), ties random wiring in the mushroom body, and is still less accurate than a classical EKF or our symmetric analytic weight mode because biological connectomes have natural left/right drift.

Live 107.5 KB C99-to-WebAssembly simulator (runs the exact same C99 core in your browser, with optional webcam input):

https://indian-aman.github.io/necklink/

GitHub repo (all 5 Arduino folders, C99 cores, Python packages, and PlatformIO manifests):

https://github.com/indian-aman/necklink