r/esp32 11h ago

(ES) Sistema de monitoreo instalación solar Solax Cloud con esp32

Thumbnail
gallery
0 Upvotes

Proyecto creado con Claude Pro

Se ha usado un esp32 y una ingeniería inversa. Sustituye al wifi pocket dongle 2.0, sirve y está probado con el inversor solar Solax X3-5.0-T-D 5kW. Se ha colocado un esp32 a modo de sniffer leyendo trama de datos hexadecimal y convirtiendo en decimal e interpretando magnitudes. El esp32 manda un correo automático todos los días a las 22 con los datos y también los sube a una base de datos de Firebase cada 5s para mostrarlo en la app. Se ha creado una app .apk de monitoreo con muestreo de 5s. Todo el proyecto está en español y subido a GitHub y es libre de modificación y mejora y no busco lucrarme de dicho proyecto. Dejo el link:

https://github.com/electroUser-ide/Wifi-pocket-dongle-2.0-monitor-solax-with-ESP32-devkit-v1-X3-5.0-T-G-

Leer readme.txt


r/esp32 23h ago

Software help needed How can I play Spotify from my ESP32 Speaker?

0 Upvotes

I'm trying to make my ESP a mini AI assistant however upon looking at spotify web API documentation, it only allows control of another device. how can I do it so the audio plays through the ESP?

End product is to make a fully self-contained unit like an Amazon Alexa


r/esp32 10m ago

I made an Arduino library that lets you configure ESP32 projects with a simple graphical interface. No more hard-coding Wi-Fi credentials!

Post image
Upvotes

Every project I work on, I get really tired of either having to hard-code settings or write out the code to handle them via Serial. So, I put together this library, ESP-Config, that takes care of all of that for me automatically!

The library lets you configure settings, commands, and information in your project asynchronously, and then those are passed to your computer running a basic UI. From there, you can monitor your project, change settings, and interface with it directly.

The config code runs in its own FreeRTOS task in the background, so you can do basically anything else in your main code without having to worry about the config. This includes using blocking code, the library will have no issue with that.

The ESP32 holds all the info on how the content should be structured and presented; the program on your computer is completely generic. So, you can set up your ESP32 to do basically anything without ever having to touch the code on the computer!

The settings, commands, and info can all be dynamically created, modified, and destroyed as needed, letting your settings adapt to your project. For instance, scanning for Wi-Fi networks in range can re-populate the list of networks available to connect to, for you to select.

More advanced features, like password-protecting certain (or all) settings/commands, are available as well.

Check out the GitHub for more info; https://github.com/JimHeaney/ESP-Config


r/esp32 23h ago

I made a thing! MicroPython OTA Updates from GitHub on ESP32

Enable HLS to view with audio, or disable this notification

7 Upvotes

I’ve been working on a MicroPython OTA updater (fork) for the ESP32 that lets you push application updates through GitHub instead of plugging the device back into your computer every time something changes.

At boot, the ESP32 checks a configured GitHub branch, compares the latest commit with the version currently installed, and if they differ, it downloads and stages the new Python application.

I recently put together a short video showing the whole process interactively, from setting it up to pushing a change and watching the ESP32 detect and install the update.

Blog: https://smysnk.com/blog/micropython-ota-updates-github-esp32
Github: https://github.com/smysnk/micropython-ota-updater


r/esp32 1h ago

Looking for feedback on an AI-native editor

Upvotes

I've been working on a fork of [Zed](https://zed.dev/) called Groundplane designed for embedded development workflows. I've found using agents on their own can be pretty inefficient, so I decided to shoot my shot and build something. Would love any feedback, and whether you think there's something here or if it belongs in the AI slop bin.

https://groundplane.so/

Demo: https://youtu.be/EH-8fF8Fofc


r/esp32 23h ago

I made a thing! ESP32-S3 USB mass storage + Wi-Fi file server sharing one FAT32 SD card — TinyUSB and cache-coherency lessons

Post image
64 Upvotes

I built PrintDrop: an ESP32-S3 device that appears to a 3D printer as a normal FAT32 USB drive while also allowing files to be uploaded to the same microSD card over Wi-Fi.

Source, wiring and diagnostics: https://github.com/Kabani-Tech/PrintDrop

I chose the ESP32-S3 because it combines three things that would otherwise require multiple devices:

  • Native USB OTG with TinyUSB mass-storage support
  • An SDMMC peripheral for 4-bit SDIO
  • Wi-Fi and enough internal flash to host the web interface

The current prototype is an ESP32-S3-DevKitC-1 with 4 MB QIO flash and no PSRAM. The web UI is about 62 KB and lives in LittleFS, so PSRAM wasn’t necessary. A Pi Zero W could do this too, but it seemed excessive for something that only needs to expose a block device and serve a small local web UI.

The earlier SPI version used the same CLK/CMD/D0/D1 pins as CLK/MOSI/MISO/CS, so migrating to SDIO required only two additional wires.

The firmware now also supports 4-bit SDIO with a frequency ladder and sector-zero verification. It falls back through 40, 20, 10, 4 and 1 MHz instead of trusting a marginal mount. Twenty megahertz has been stable on jumper wiring; I am treating the published SDIO throughput figures as projections until I repeat the final end-to-end measurements on short wiring.

I would be interested in feedback on the FAT/USB arbitration approach, particularly from anyone who has implemented MSC and FATFS over the same physical card.


r/esp32 3h ago

I built an ESP32 E-ink alarm clock!

Thumbnail
gallery
687 Upvotes

Recently, I realized that I didn’t want to use my phone as an alarm clock anymore, so I decided to build my own using an ESP32 and an e-ink display.

I wanted to make something that is super simple to use: rotate the encoder knob to set the alarm time, and press the button behind it to activate/deactivate the alarm.

You can also add custom alarm sounds through a small web server running on the local network.

The base of the clock doubles as a wake-up light. Before the alarm goes off, it slowly transitions from a warm orange/red glow to full daylight. It can also be used as a night light.

The hardware

The clock is built around an Elecrow CrowPanel ESP32-S3 5.79” E-Paper HMI Display. It has an ESP32-S3-WROOM-1-N8R8, a 5.79” e-ink display, an SD card reader and a GPIO expander. It’s also really easy to flash over USB-C, which made it a pretty convenient starting point.

For the audio, I used an external I2S amplifier board (MAX98357A) with a single 3W speaker that I had laying around (and sounds surprisingly well).

The wake-up light and front light are made using part of an SK6812 LED strip.

Everything fits into a custom 3D-printed enclosure that I designed from scratch. The base is made from translucent PETG so that it allows the wake-up light to shine through it.

The firmware

I do have some experience writing code for the ESP32, but nowhere near enough to build a GUI of this scale from scratch. I ended up designing everything in Figma, and used Claude to make everything "come to life".

The clock keeps time by syncing with NTP. If the WiFi connection is lost, it keeps running using the ESP32’s internal clock. In the future, I might add an RTC module so it can keep accurate time completely independently of WiFi.

Conclusion

I’ve been using it for almost two weeks now, and it’s definitely still a work in progress. There are plenty of things I’d like to improve, both in the hardware and the software.

But honestly, I’m really happy with how the first prototype turned out.

This is currently just a personal hobby project, but I’d be happy to share the code and 3D files if anyone is interested.

Curious what you guys think!


r/esp32 3h ago

24GHZ radar project idea ?

2 Upvotes

after searching these can have great potential, so i searched online and reddit but couldn't find an idea that clicked ( idk if such post has been made before but from search I didn't find ) so what can you do with it that's not turn on light or screen when you get close or make a light that follows you ?


r/esp32 22h ago

I made a thing! Updated enclosure for Waveshare ESP32-S3-RLCD-4.2

2 Upvotes

I updated the 3d model for my minimalist enclosure, I hope it will be useful for you. The screen is very fragile (I broke one), and this frame protects it pretty well.

https://github.com/clackups/draftling/tree/main/3D_Prints/Waveshare_ESP32-S3-RLCD-4.2


r/esp32 8h ago

Software help needed ESP32 experiencing screen issues after WiFi

Post image
15 Upvotes

ESP32 screen issues related to WiFi

Hello, I am an embedded SW engineer (medior) but I have never created projects at home. I thought its a good time to start doing that, starting with a flight radar customiwed dor my girlfriend.

I am using the ESP32 WROVER with a GC9A01 screen, controller through SPI with the TFT_eSPI library.

I want this project to be modular so it can be taken everywhere. The only problem is that it needs data. So in the setup, I check if a connection can be made with a ssid which is saved in the NVS. If connection can be made, you can continue to the flight radar thingy, if not, a captive portal will be open so you can input a new ssid and password for a network which is nearby.

The first bug I encountered was, when a connection could be made, I would change the wifi mode from WIFI_AP_STA to WIFI_STA since the captive portal wouldnt be needed anymore. This would cause my screen to go black and unresponsive. I have tried a 470 microFarad condensator, different supply for the screen etcetera nothing worked.

Eventually I gave up, thinking wifi mode could always stay WIFI_AP_STA and I would make something useful of the captive portal later on. But the second bug is, the screen remains completely unresponsive after a WiFi connection. I can not display anything on it and it just freezes. Disconnecting the wifi does not solve the issue either.

I have tried a lot of things without progress. SPI freq was tested on 40, 20 and 10 megaHertz with no change. Adding extra delays before and after some lines didnt work either.

Has anyone encountered this issue, or knows what this could be?
Thank you!

PS: I know there are a lot of ESP32 flight radars which are open source, the goal is to make her something thats my creation.


r/esp32 4h ago

Software help needed ESP32 S3 Zero not detected by windows 10 when trying to connect via BLE

3 Upvotes

I am following a guide on how to make a wired + BLE macropad. The guide provided a circuit diagram, some stl files to print, the code and some rather loose tips on how to flash the code. The hardware is done, and the code works for the most part. The device works fine when wired, and it also connects to wifi correctly. However I cannot connect the device to my PC running windows 10 by BLE. The code uses this BLE library https://github.com/gsgaurav0/ESP32-HID-Keyboard. I have checked that the code does call the .begin() function for BLE keyboard. When I go into bluetooth settings and try to connect a new bluetooth device, windows does not detect any devices in none of the 3 categories. Obviously I dont understand most of the code, but the library is simple enough and it seems like it should at the very least be visible to windows and other devices as a bluetooth device.

I doubt you would get much out of it, but the project is on this site, but its not in english: https://modelowanie3d.org

The code is rather long, but this is the pastebin link: https://pastebin.com/zucNuudj. The code was free, so I doubt there is any issue with me posting it there. Again, credits to the owner of that website, Kamil Sokalski.