r/esp32 • • 1h ago

Hardware help needed ESP32S3: SPI communication causes RF interference, intersting!

9 Upvotes

I wonder if this has been or could be exploited in some way, maybe to make specific tones.

Everytime the display updates, at around 106.7 MHZ it generates some tones in FM, specially WFM.

This board is the JC4827W543, with using the NV3041A Display driver (4 lane SPI)

Edit: I know it says hardware help needed, but I dont really need help (since this a pre made devkit), I just wanted to share this.


r/esp32 • • 5h ago

I made a thing! Upgraded my daughter's writing device by hacking apart a 7-inch ESP32 board

Thumbnail
gallery
87 Upvotes

A while back, I built my daughter a writing device using a Raspberry Pi, a keyboard, and a 7-inch LCD in a 3d printed chassis.
I’ve been experimenting with different hardware configurations lately, and figured she deserved an upgrade!

The hardware
This build uses an ESP32-8048S070 7-inch devboard, as it had 16mb of ram along with wifi for document backup. But I did some... surgery to have it fit in the chassis I envisioned. I separated the LCD panel from the board, half expecting to destroy the screen in the process. Then I cut away portions of the PCB that weren’t populated with components or traces. The screen is held into place in the lid with 4 press-fit magnets, covered by a soft leather upper.

Enclosure: A slimmer shell with the electronics and wiring tucked inside. No more externally routed cables! Files available here.

It all came together really nicely, and I think it looks great in clear.

Keyboard: Salvaged keyboard internals from a Bluetooth keyboard, reused in the new chassis.
Power: Rechargeable battery pack, keeping the device completely portable. I ordered a few to get one that stops powering the device when the button is pressed. Most don’t, so sourcing a slim one was tricky.

Frimware
The original device ran Linux on a Raspberry Pi. This version runs bare-metal firmware (try it yourself) on the ESP32, making startup roughly 20x faster.
It also has quite a few new features:

  • Spellcheck with correction suggestions. Didn't use Hunspell, as it takes too much storage. Instead rolled my own using a Trie of 50k most common words (~100kiB)
  • Google Drive backup so she doesn’t lose her stories
  • Customizable themes (most important feature in her eyes)

I transferred all her existing stories over from the original device, so she could pick up exactly where she left off.

She’s been super excited about the upgrade since she saw me working on it and now I get an enthusiastic playtester!

A little about the bigger project
What started as a birthday present for my daughter has turned into an attempt to develop an affordable, distraction-free writing device called the JustType Leaf.

I’m building a waitlist at https://justtypeleaf.com/ to gauge interest before committing to a manufacturing run of 1,000+ units. If this is something you’d be interested in, signing up would really help!

Happy to answer any questions about the build!


r/esp32 • • 9h ago

Hardware help needed I want to make a smart traffic light system model that turns on depending on the number of cars in the road and if no cars the traffic light stays red and so on

Post image
1 Upvotes

I got these

I have breadboard , jumper wires and led

I just want the connections

First time using an esp32

I want to hook up the camera with yolo so it detect how many cars and then turn to green light for a specific amount of time set in the code

I’m ok to keep it plugged to my laptop if my esp32 cam wasn’t that powerful to run locally

Why does the camera have 2 parts and how will I connect everything and hook yolo with it

Thanks in advance


r/esp32 • • 10h ago

I made a thing! Crypto Miner Desk Toy

0 Upvotes

Has anyone really made anything useful with these little crypto miners? I soldered a little amp and speaker. It works like a pretty good screen / tv. I did have to process the video on my computer instead of the devices itself. It also gets notifications.


r/esp32 • • 13h ago

Hardware help needed need help with connecting sd card reader to esp32

Thumbnail
gallery
30 Upvotes

hello its my first time messing around with this, ive checked my wiring plenty of times and i even changed the board, the reader and the cables i also changed cs to d4, d12 any ideas?


r/esp32 • • 14h ago

AI Content Grease VS - A Free and token efficient VS Code extension to help you program and debug your sensors, build filters and mechatronic systems together!

Post image
0 Upvotes

When I started with microcontrollers, the hard part wasn't the idea or the hardware construction. It was everything around it: picking the right board and port, chasing compile errors, and staring at Serial Monitor numbers trying to work out what the sensor was doing. Imagine having a smart friend with you, debugging the behavior of your system. With this friend we give the orders and observe, in the real world, how those cool LD2450 sensors behave at a 256000 baud rate on your esp32-c6! Build your sensor fusion together (a ToF distance sensor, perhaps?), and ask your wheeled robot to follow you around.

With this in mind, I built Grease VS. Install it in VS Code (or Cursor, Windsurf, Antigravity, and Claude/Codex users can install the .mcpb version), type /grease, and describe what you want in plain English:

/grease blink the LED on my ESP32-C6 and print the LED state every 200ms

The agent writes the sketch, compiles it, uploads it, then reads the board's serial output itself to check that it worked. If something's off, it debugs from the real signals instead of guessing. You see the same data in the sidebar. What should Grease do next? We assume you wanted something BEYOND just blinking LEDs, right?

It also comes with three plotters:

  • Time: the classic live signal plot
  • XY: print pos_x and pos_y to draw paths and trajectories. Good for traditional cartesian localization.
  • Radar: print name_deg and name_cm. Great for ultrasonic/LiDAR/LD2410/LD2450 scanners

It runs as an MCP server, so Claude, Copilot, Codex, Cursor and others all work with it. Board cores and libraries install without the terminal. It supports ESP32, RP2040/RP2350, nRF52840 and Arduino. Anything related to arduino-cli, official from the folks that made Arduino.

Reinforcement Learning? Inverse Kinematics? Navigation? Or perhaps questions related to circuit wiring? Plotting a comparison of raw and complementary filter filtered signals? A home project programming an esp32-s3 with Matter compatibility? Just type /grease and Grease, with an appropriate LLM, will do it for you!

I'd love feedback, especially from people just starting out!

robotfab.github.io/grease-vs
https://open-vsx.org/extension/RobotFab/arduino-grease
https://github.com/RobotFab/grease-vs/releases

Side note

Back in 1874 people invented the typewriter, but early adoption did not go well. Probably some said that it was not really writing, and that it would be offensive to type a letter for someone, instead of writing.

AI is a powerful tool. Software is not your limitation anymore, so you should start mastering the Theory behind the program you are building, and the skills to bring that project to the real world. (usually electronics and mechanical assembly/construction)


r/esp32 • • 21h ago

Hardware help needed Connection external antenna to ESP32 C3 supermini.

5 Upvotes

Hello :)

Basically I have this ESP32 C3 super mini V1 board from Diymalls and I need to use an external antenna with it, but after doing some research I found out that I have to modify the capacitor so the antenna is used instead of the onboard one, but I can't seem to find what exactly do I have to do or how to modify it. So does anyone know what do I have to do or have a video that shows how to do it?

Thanks.


r/esp32 • • 1d ago

I made a thing! ESP32-C3 Super Mini DNS adblocker

16 Upvotes

# I modified an ESP32-C3 Super Mini DNS adblocker and added ready-to-use blocklists

I came across Abozaid's ESP32-C3 Super Mini AdBlocker and decided to modify it a little to make it easier to set up and use.

All credit for the original project and its core implementation goes to Abozaid. I simply made a few additions and modifications.

**Why the ESP32-C3 Super Mini?**

It's small, inexpensive, readily available, and has Wi-Fi built in, making it a convenient little device for running a lightweight DNS-based adblocker without needing a dedicated computer or Raspberry Pi.

**What I added**

* A web flasher to make installation easier. You can simply connect your ESP32-C3 Super Mini and flash it without having to manually compile the firmware.

* A collection of ready-to-upload blocklists in the repository.

* Blocklists selected with social media compatibility in mind, so they block unwanted domains without intentionally breaking access to social media platforms.

**Limitations**

Like most DNS-based adblockers, it cannot effectively block ads on platforms such as YouTube and Facebook because they often serve advertisements from the same domains used for their regular content. Blocking those domains would also break the websites or apps themselves.

The goal was simply to make the original project a little more convenient to install and use.

https://github.com/Tr04blesome/ESP32-C3-SUPERMINI-AdBlocker

Again, all credit for the original project goes to Abozaid. This is just my modified version with a few additional features and improvements.


r/esp32 • • 1d ago

Board Review Revision To My Plant Waterer <Advice Needed>

1 Upvotes

Hi there,

I had created a plant watering system for my small garden balcony earlier this year. It worked great for like 4-5 months. But it was hardwired, (I hope you understand what it means, like the plants had to be exactly the way they were when I first made the project). And well i went to add more plants and my system wasn't able to sustain it. The pipe was the type of one you use in PCs for liquid cooling and the motor is a 5V DC submersible motor(I know its a bad choice). I checked online for more ideas but it is full of projects made for science exhibitions. It is not one of those fancy ones with a soil moisture sensor, just a timer for turning on the motor. I will surely upload pics of the finished project after it it done. If any of you had any insights, I would love to hear them.
(I am sorry for not uploading an image, I rage dismantled my earlier system after three hours of cutting the pipes to fit the new plants after realizing i ruined it).

(ESP32 Devkit V1 running on Matter , I didn't code it, uploaded firmware for ESP Zerocode)

Thanks,

Len36SSHW


r/esp32 • • 1d ago

I made a thing! I built an open-source ESP32 desktop companion with 66 facial expressions!

8 Upvotes

Hi r/esp32 — Robonavigators has built Desk-Companion, an open-source desktop robot for the Seeed Studio XIAO ESP32-C3 and ESP32-S3.

It uses an SSD1306 128x64 OLED and a TTP223 capacitive touch sensor. The firmware provides 66 selectable facial expressions, an NTP-synchronised clock, weather/forecast support, a local web dashboard, dual Wi-Fi configuration with recovery, deep sleep, and OTA updates.

The small XIAO form factor was a good fit for a compact desktop device, while dedicated C3 and S3 firmware keeps their board-specific touch mapping explicit: C3 uses D1/GPIO3 and S3 uses D10/GPIO9.

For the firmware, I used U8g2 for OLED rendering, ArduinoJson for JSON handling, and NTPClient for time synchronisation. WiFi, WebServer, DNSServer, ESPmDNS, Preferences, ArduinoOTA, and Wire come from the ESP32 Arduino core rather than additional libraries.

The important implementation edge cases were keeping those C3/S3 hardware differences separate and providing a usable Wi-Fi recovery path: saved settings live in NVS, a device with no usable connection can fall back to its open access point and captive portal, and the dashboard exposes the network setup.

There’s also a browser-based firmware installation workflow for the supported XIAO boards, alongside the Arduino firmware and wiring/setup documentation.

GitHub: https://github.com/Robonavigators/Desk-Companion

Desk-Companion is complete and hardware validation is complete. I’d value feedback on the wiring, firmware approach, and anything you think could be improved.


r/esp32 • • 1d ago

Hardware help needed IR module camera for monitoring pellets

1 Upvotes

hello! I am looking for a ESP32-CAM module with an OV2640 camera that works with IR. I need to install inside my boiler room pellet storage so that I can remotely check in on the level of the pellets.

I found this on Amazon: https://www.amazon.co.uk/gp/product/B08X3GRK22?th=1

Where can I find the corresponding IR camera for this? I am a bit of a noob in this matter, so any help would be appreciated. I will then use AI to guide me on the software side.

Thanks!


r/esp32 • • 1d ago

Hardware help needed ESP32-C3: does `app-flash` preserve XMC flash write-protection on reboot?

3 Upvotes

Hi all!

I’m developing an ESP-IDF game for a FoloToy AI Passport. The board uses native USB Serial/JTAG and has 8 MB of XMC flash (JEDEC \`20 40 17\`) with one factory app partition. The current app boots normally.
An earlier app-only update with \`esptool\` 4.13.0 in ROM mode succeeded: the app read back correctly and booted. I didn’t record the flash write-protection settings before and after. A newer custom installer stopped before writing:

STOP: Unreviewed NOR protection layout for JEDEC 174020; no write

That message came from my installer’s safety check, not from Espressif’s tool. \`174020\` is the same flash ID shown in reverse byte order. No new firmware was written.

I’ve read \[FoloToy’s build guide\]([https://github.com/FoloToy/ai-passport/blob/main/docs/development/engineering/build-and-test.md](https://github.com/FoloToy/ai-passport/blob/main/docs/development/engineering/build-and-test.md)) and \[hardware guide\]([https://github.com/FoloToy/ai-passport/blob/main/docs/hardware-design/AI_HARDWARE_DEVELOPMENT_GUIDE.md](https://github.com/FoloToy/ai-passport/blob/main/docs/hardware-design/AI_HARDWARE_DEVELOPMENT_GUIDE.md)), and \[Espressif’s docs for \`app-flash\`\]([https://docs.espressif.com/projects/esp-idf/en/latest/esp32c3/api-guides/tools/idf-monitor.html#keyboard-shortcuts](https://docs.espressif.com/projects/esp-idf/en/latest/esp32c3/api-guides/tools/idf-monitor.html#keyboard-shortcuts)).

These explain what gets flashed, but I haven’t found a report showing whether write-protection stays unchanged on this board.

Has anyone tested an app-only update on this setup and checked the flash protection before connecting the flasher and again after a normal reboot?

If so, which ESP-IDF or \`esptool\` version did you use, and did you confirm the flash variant (XM25QH64C or XM25QH64D)?

I’m trying to replace only the app and keep the existing bootloader, partition table and saved settings. I don’t want to disable protection or force a write. Thanks!


r/esp32 • • 1d ago

Hardware help needed I've bent the pins on my ESP32: do you think it can be fixed?

0 Upvotes

Good evening, friends. I hope you’re all well.

I was really, really dumb and bent the legs of my ESP32 when I put it away. Now it doesn’t fit properly on the breadboard.

Do you think I can straighten them out with a pair of pliers? Or have I damaged it permanently?

It’s my first microcontroller 😭


r/esp32 • • 1d ago

I made a thing! TFN-OS, a small and powerful OS for ESP32S3/P4 devices

115 Upvotes

(Sorry for the dark video, there's a better video in the TFN website link below)

Seeing how cool is the Waveshare 3.49 ESP32-S3 device, I started wasting my tokens on it. Started with a simple tetris like game using ESP-IDF v6.1, then I couldn't stop. After several games and some apps a friend joined, so I thought - hey, why not make it a an "OS" on which other apps can be installed. 3.49 - Three four nine - became TFN OS.

This was quite challenging - creating an eco system that would be easy enough to integrate into, while keeping it running smoothly, keeping the UI responsive and fun, and patching the ESP-IDF in some cases to extend functionality.

Other ESP32-S3 based boards, with different form factors, quickly joined since I had some lying around. TAB5, CoreSE and more, all are details in GitHub and the website below. The AMOLED devices looks, as expected, great.

"Apps" are basically signed ELF files that uses TFN-OS services and requests permissions, and there's a nice SDK that can help quickly convert any existing ESP32-S3 code to TFN-OS app.

Some of the games contain my original music. Personally I especially like to play Quests on the 3.49, the wide screen is perfect for that.

There are also many utilities: simple things like hourglass, world clock and timer, wifi radio, Home Assistant app, BT keyboard & mouse, BT gamepad, music DAW, MIDI controller and more. I also took inspiration from many other amazing open source projects and converted them to TFN OS: tiny-voca for TTS, Oído for STT, Tiny-2.1 (the DOS LLM), and many more. Full list is at https://tfnos.xyz/thanks.html .

One nice outcome of that is that there's a full STT->LLM->TTS->... loop running completely offline, on the ESP32-S3, allowing to control the device using your voice - open apps and change settings, and the TTS is really great reading short text or wiki pages.

I would love to see contributions to the project. Basically The sky is the limit; any cool ESP32-S3/P4 application can be ported to TFN-OS app.

The landing page + web flasher is: https://tfnos.xyz

The TFN-OS can run in several modes: as a standalone, with a local manager or in developer mode.

Note: I'm working with ESP MCUs for a long time now but in this project I didn't write a single line of code. Did a lot of code review and QA though

I hope some of you would like it and I would appreciate (positive) feedback


r/esp32 • • 1d ago

I made a thing! TouchDeck: Home Assistant touch panel with a glass style UI on the Guition JC3248W535 (ESP32-S3)

192 Upvotes

Hi all,

I know there are already a lot of ESP32 touch panels for Home Assistant. But I always liked glass style interfaces and wanted something of my own, with smooth animations I hadn't really seen in other projects.

Why this chip
The Guition JC3248W535 is a cheap all-in-one board: ESP32-S3, 3.5" 320x480 IPS with capacitive touch, 16 MB flash and 8 MB PSRAM. The S3 mattered for two reasons. The PSRAM holds full-screen frames and wallpapers, and the second core lets me split frame building between both cores. It also runs on the Waveshare ESP32-P4 7" (7B) board, which is still beta (photo attached). I moved to the P4 for the bigger screen: MIPI-DSI, a hardware JPEG decoder and the C6 for WiFi.

Libraries
- LVGL 9.5 for the UI: widgets, layouts and its animation system. It's pinned to an exact version because my frame pipeline was measured against it.
- ArduinoJson for Home Assistant messages and the config. Large HA replies are parsed as a stream so they don't all have to sit in RAM.
- arduinoWebSockets for the Home Assistant WebSocket API, so state updates are pushed instead of polled.
- PubSubClient for the Bambu printers' local MQTT.
- JPEGDEC for album covers. It can do a fast DC-only decode of progressive JPEGs, which many cover images are.
- Improv WiFi, so the web flasher can set up WiFi right after flashing.
- Arduino_GFX: I only use its AXS15231B init table. The display transport is my own (reason below).

The hard part: the display
The AXS15231B panel uses QSPI and only accepts full 320x480 frames: no partial updates and no hardware rotation, so rotation is done in software. At the 40 MHz clock ceiling a full frame takes about 15.4 ms to send, and the panel refreshes every 16.4 ms. The write is slower than the scan, so every frame has to start within about 1 ms of the TE signal, or it gets overtaken and you see tearing. Generic drivers didn't give me that control. So I drive spi_master directly, hold CS for the whole frame, stage chunks through two DMA bounce buffers in internal RAM and start each frame on the TE rising edge. On top of that sits a small compositor that builds frames in PSRAM on both cores while LVGL renders ahead. Page slides now run at a full 60 fps. Heavier effects are a bit lower.

It's a hobby project, so there are probably still some bugs. Free and open source.
Flasher: https://touchdeck.stolaris.dev
GitHub: https://github.com/Keralots/TouchDeck

Feedback welcome, especially from anyone who has fought with the same panel :)


r/esp32 • • 1d ago

Hardware help needed Is ESP32 suitable for a board game turn-tracking device?

0 Upvotes

I want to make maybe 4-6 turn tracker pucks, with an illuminated light to indicate the turn of the current player. Once the current player presses a button on their puck, the light illuminates the next person's puck.

If possible, it would be a nice bonus to add some sort of speaker to each puck to play a customizable sound upon change of player turn.

is this a project well-suited for

A. ESP32

b. a complete beginner?

If so, can you guys help recommend

a. Recommended hardware to start with?

b. which wireless protocol would be best suited?

Thanks!!


r/esp32 • • 1d ago

Hardware help needed Help calibrating ESCs with an ESP32

1 Upvotes

Hello, I have built a quadcopter with an esp32 as the flight controller. My plan is to program it myself, and I am using ESP-IDF. So far, I am able to read the radio controller joysticks using IBUS. I am currently trying to control the ESCs for the motors. From what I have researched, most ESCs expect a 50hz PWM pulse from the flight controller (esp32), and high throttle is a 10% pwm pulse while low throttle is 5%. (Also it’s at 8 bit duty resolution if that matters.) I am converting the high and low throttle values from the RC controller to map out to these percentages and update the PWMs accordingly. I have verified that the PWM is indeed correctly set up and outputting (I connected LEDs and controlled their brightness using the same code and they worked); however, the ESCs are just not responding. They have been trying to calibrate and are beeping, which requires you to give it a sequence of low and high throttle input, but they just WILL NOT respond to the PWM. I have played around with various frequencies, percentages, etc. and at one point they started to respond but then went back to beeping.


r/esp32 • • 2d ago

Software help needed Got gifted an ESP32 from non trustworthy source. How to securely flash it?

Thumbnail
gallery
24 Upvotes

So basically the title and be kind, I am a noob with ESPs 😵. I got a "clawd mochi" (small claude logo styled desc pet) that I am not sure if I can trust to plug into my computer. It contains the attached PCB with an ESP32 Chip and a small TFT that just displays some cute faces and you could create your own customized faces over the wifi access of the ESP.

I would love to erase the board and flash the SW myself fresh to make sure I do not catch myself some unwanted security issues when plugging it into my computer. So I researched and fount that I could press the boot button while pluggin it in (test this with just a power socket and not the computer) and if this works I could do the same with a PC and should be fine? Is this really the case or do I need to consider anything else? I plan on using a raspberry Pi to erase and reflash the SW that I also deleted the wifi connection, even if this may be overshooting it?

Also could the TFT (also pic attached) be a problem? Don't think so but better safe than sorry I guess.

I know the part prices are not really worth the hustle and I could just order the parts and do it from scratch, but this seems wasteful and since I got it here, I thought maybe there is a safe way?

I appreciate any help :)


r/esp32 • • 2d ago

I made a thing! Running Bad Apple!! on an ESP32 with a 16x2 LCD and Buzzer

40 Upvotes

Model: ESP-WROOM-32, had it lying around from high school projects time

basically a python script on the pc streams packets from the bad apple mp4 video to the esp with a .mid file for the buzzer

no external libraries used or needed, just built-in <Wire.h> and tone()

finding an mid that fit the song was annoying, the mid file I eventually found in this repo https://github.com/thewildwestmidis/midis was a bit sped up and had the first part before the singing empty, I had to expand it then chop a similar part of the song from the middle and place it in the beginning, took a few hours to figure it all out but it eventually worked yippieeee :D


r/esp32 • • 2d ago

Software help needed Weird ESP error message

2 Upvotes

I'm using an ESP32-N16-R8 and getting the following errors during the setup section of my code:

I'm using two separate I2C buses with independent SDA and SCL pin pairs. The second error mainly occurs in the MAX17048 section.

Interestingly, everything seems to work fine, and I'm not noticing any issues with data acquisition.

I'm curious about why these errors are appearing despite everything seemingly working correctly.


r/esp32 • • 2d ago

Hardware help needed When do you bypass FreeRTOS ISRs on the ESP32-S3 and use RMT, MCPWM, or Dedicated GPIO (dedic_gpio) for deterministic timing?

3 Upvotes

While working with bare-metal C/C++ and ESP-IDF drivers on the ESP32, I have been looking closely at how much standard FreeRTOS GPIO interrupts introduce once Wi-Fi and flash cache misses are active in the background. Even with IRAM_ATTR on the ISR and critical sections kept short, worst-case interrupt latency still shifts by a few microseconds under load. The ESP32 has several hardware blocks (RMT, MCPWM, PCNT, and dedic_gpio CPU-register-mapped pins) that can generate or capture sub-microsecond edges without waking the CPU on every transition. I have couple of question which folks who are shipping tight-timing protocols or custom serial interfaces on the ESP32s. When one need deterministic edge timing without dedicating an entire core to a busy-wait loop, which peripheral do you reach first? Anyone who has used dedic_gpio in real projects for bit-banging or parallel handshakes, how will does it coexist with FreeRTOS task switching when interrupts are enabled?


r/esp32 • • 2d ago

I made a thing! Half-wave SSR control in ESP-IDF to keep a 30 ms smart meter happy

Post image
5 Upvotes

Small project that has been running since March. An ESP32-S3 switches a zero cross SSR in single AC half-waves to put surplus PV into a 2.35 kW water heater.

Why the ESP32-S3

I needed two cores. WiFi and the HTTP server run on core 0, the switching loop runs alone on core 1, so WiFi activity never delays a slot. The S3 DevKit also has a WS2812 on board, which I use as a status LED.

Libraries

  • Plain ESP-IDF 5.5 with FreeRTOS, esp_wifi and esp_http_server
  • espressif/led_strip for the status LED

I skipped Arduino and ESPHome because I wanted full control over task pinning and timing. The loop runs 10 ms slots with xTaskDelayUntil and has to stay deterministic.

Hurdles

  • I started with full-wave control and Bresenham to spread the on waves over a longer window. Then I noticed my meter (Iskra AM550) nets import and export over only 30 ms. That is just three half-waves at 50 Hz, so I switched to fixed half-wave patterns that repeat every 30 ms. The patterns are DC free by design.
  • The ESP is not synced to the mains. The zero cross SSR takes care of that.

Safety

  • The ESP only drives the SSR input. The mains side is a rated zero cross SSR in series with the heater's own thermostat.
  • A watchdog switches off if no command arrives for 180 s.
  • Missed slots or a DC imbalance turn the status LED yellow or white, and a DC imbalance also blocks the output.

More details on GitHub: https://github.com/stax0/Burstly

Feedback is welcome.


r/esp32 • • 2d ago

I made a thing! Camera Sprint — Built & Go!

19 Upvotes

A little weekend experiment with an ESP32-S3-CAM, a button, and an SD card.

No screen, no preview. Just point and shoot.
The fun part is not knowing exactly what you’re capturing. I ended up clicking way more than expected, and when I looked through the photos afterward, they almost felt like frames from a stop-motion animation.The results kept surprising me!

It’s a pretty simple build, but I’ve been having a lot of fun with it.

Curious what you guys think! Would you enjoy playing around with a camera like this?

Build Notes:

Why the S3? My S3-CAM board already had a camera connector, microSD slot, and PSRAM. A three-wire shutter button was all I needed to add.
Libraries: esp_camera gives me JPEGs directly. SD_MMC matches the onboard card wiring. Without a card, WiFi and WebServer let me download the latest shot.
Challenge: Connecting the camera sensor and shutter button went smoothly. The enclosure took a few tries, especially getting the clips to hold the board securely.


r/esp32 • • 2d ago Bravo Heartwarming Mindblown

I made a thing! I turned the Waveshare ESP32-S3 3.49" bar display into a retro VFD-style desk gadget (open source, installs from the browser)

1.0k Upvotes

Phosphor is firmware for the Waveshare ESP32-S3-Touch-LCD-3.49 (the 640x172 bar screen). Every page comes in four retro looks: VFD (the glowing blue-green screens on 80s VCRs and car stereos), C64, Amiga and Atari 2600 style.

UPDATE: v2.0.0 is out

New: C64, Amiga 500 and Atari 2600 versions of every page, a game of 21 you play by knocking on the table (once = stand, twice = hit), and Lighthouse Keeper, my own Game & Watch-style game.

I'm really into tech and retro stuff. Instead of a standard screen I made something in the style I love, and I honestly didn't expect this many people to like it. Seeing how many of you think the same way, I finished about 90% of the ideas in my head and added them. What started very simple has turned into maybe one of the most complete firmwares for the Waveshare ESP32-S3-Touch-LCD-3.49. Thank you!

Why I built it

I'm an 80s kid and I love little gadgets like this, and retro visuals even more. The demo that came on the board didn't do it for me, so I sat down with AI (Claude) and turned the ideas in my head into this. The ideas and design are mine; Claude wrote much of the code with me.

What it does

  • Clock with alarm (it wakes you with the radio), weather, internet radio (stations editable from your phone), timer, pomodoro and an hourglass you flip over
  • Pixel scenes you can touch: aquarium (tap to feed), snowy cabin (hold for a snow globe), fireplace with a sleeping cat (tap to wake it), lighthouse (hold for a storm), an ocean liner that tilts with the board (fog horn) and a lava lamp
  • Games: 21 against a cartoon dealer that you play by knocking on the table (once = stand, twice = hit), Lighthouse Keeper (my own Game & Watch-style game: fixed segments with faint ghosts, Game A/B, 3 misses) and an endless runner
  • Tools: spirit level, coin flip (shake it), box breathing, scoreboard, screen lamp
  • Settings on the board itself: theme, clock style, language, brightness, city, night dimming, show/hide pages, help, and a QR code that opens the settings page on your phone
  • Once a day it checks for a new version and tells you. It never updates itself

Why the ESP32-S3

I picked the board for the screen, but the S3 turned out to be the right chip: 8 MB PSRAM for the 640x172 frame buffers, two cores (the radio streams on one, the UI draws on the other) and native USB for the one-click browser installer.

Libraries

  • ESP32-audioI2S: HTTP streaming plus MP3/AAC decoding
  • WiFiManager: Wi-Fi setup from your phone, no code editing
  • U8g2 for the setup screens; the pages use my own fonts (5x7 dots for VFD, 8x8 for C64/Amiga), Turkish characters included
  • No LVGL: the scenes are pixel art, not widgets
  • ESP Web Tools for the installer

Hurdles

  • The panel is natively portrait, so every frame is drawn landscape and rotated in software
  • The retro looks only looked right once I copied the old limits, not just the colours. The scene pictures started as AI images, and a converter cuts them down to each machine (C64 16 colours, Amiga 32 of 4096, 2600 4 colours per line). Prompts and converter are in the repo
  • Knock detection: the IMU is read every 2 ms, and a knock is a 0.12 g jump off a slow baseline
  • A rare boot loop at start-up (the audio task re-created on the same static TCB) took a while to find. v1.0.x has it too
  • Security: it's made for a home network and has no password. Firmware updates, renaming and Wi-Fi reset over the network are switched off in the published builds (they need a token you only set if you build it yourself). Settings writes need a custom header, so other websites open in your browser can't change them. Don't make it reachable from the internet (no port forwarding)

Install

USB-C + the web installer (Chrome/Edge). It replaces the firmware, the factory demo included; tick "Erase device" for a clean install. Coming from v1.0.x: install once over USB and leave "Erase device" unticked, your settings stay.

Builds come from GitHub Actions with a signed attestation; VirusTotal 0/61 (link in the README).

GitHub (GPL-3.0): https://github.com/melihkoray/phosphor ⭐

Installer: https://melihkoray.github.io/phosphor/

Release notes: https://github.com/melihkoray/phosphor/releases/tag/v2.0.0

Project page: https://melihkoray.com/projects/phosphor

Screenshots of all 4 looks in the comments. Feedback and ideas welcome!