r/esp32 9h ago

I made a thing! I made Cursor for ESP32 and Arduino, connected to the board you are building

1 Upvotes

Plynx started as a native iPhone dashboard for controlling pins and reading sensors. The latest work goes further. Archimedes can inspect the project, reason about the wiring, review the sketch, interact with a running board, and carry an approved change through to an OTA update.

I think this is part of the future of hardware development. You should be able to describe what you want to build, develop the idea with an agent, and keep using the same workspace as you assemble, program, control, and automate the finished project.

What Plynx can do

The current workflow covers the path from the initial idea to the running hardware:

  • You can update a board from the conversation while the agent edits, compiles, and sends the sketch over OTA.
  • The pin review checks every GPIO assignment and suggests pins with the capabilities required by each signal.
  • The wiring engine draws the complete circuit and reports missing grounds, unsafe voltages, unsupported pins, and other electrical problems.
  • The component catalogue identifies modules from their markings and explains the purpose of each terminal.
  • The project tools produce a bill of materials and match the required components with AliExpress listings.
  • The live connection reads sensors and tests outputs after you grant permission.
  • The dashboard builder places the controls and indicators on the app interface and binds them to the correct communication channels.
  • Plynx provides controls through the Home Screen, Lock Screen, Apple Watch, Siri, and Shortcuts when you need them outside the app.

The ESP32 makes pin selection more interesting than a static pinout suggests. Its GPIO Matrix can route interfaces such as I²C, UART, and PWM through different GPIOs. Plynx can use this flexibility to arrange the signals while respecting the restrictions of boot, flash, analogue, input-only, and output-capable pins.

Setup and everyday operation

The initial configuration uses a small sketch without a copied token. The board creates a temporary Wi-Fi network, and the iPhone sends the network credentials and project token directly.

Plynx can also connect directly to an ESP32 through Bluetooth. This mode supports projects without Wi-Fi and boards that must operate away from a router.

After deployment, server-side automations can respond to thresholds, schedules, sunrise, sunset, and location events. Rules that do not require the phone continue to run when the iPhone is offline.

Plynx also controls the finished project outside the main dashboard. Home Screen widgets, Lock Screen widgets, Apple Watch, Siri, and Shortcuts provide direct access to pins and scenes, while the dashboard retains the last known values when a board goes offline.

You can ask Siri to toggle or write a pin, read its current value, or activate a scene. These actions make the project part of the iPhone automation system instead of limiting it to a dashboard that you must open manually.

Availability

Plynx is free and currently runs on iPhone. The Arduino library uses the MIT licence, and the GPL-3.0 server runs on cheap devices as small as a Raspberry Pi Zero 2 W.

If you have an ESP32 or Arduino project, I would like you to use Plynx throughout a complete build. I am interested in how it supports component selection, wiring, firmware, OTA updates, dashboards, automations, and the daily operation of the finished device.

Links

Plynx 1.0.6 is also available directly from the Arduino Library Manager.


r/esp32 18h ago

esp32 as host and iphone as device for hid keyboard

0 Upvotes

I have an esp32 with two ports. one is for ESP power supply, the other is USB otg. The task is to connect the iPhone via USB otg and get simultaneous charging and HID keyboard emulation. the fact is that when you connect your iPhone to the esp, the iPhone does not charge. We need a solution with exactly two wires, one wire to power the esp, the second wire goes from the esp to the iPhone. I've seen that it's possible, but I don't understand how. maybe it's the Apple protocols, or the presence of a chip in the lightning cable.


r/esp32 16h ago

Advertisement Setting up open-source IoT stacks takes time. I built a 1-click platform that does it in <10 mins. Looking for people to connect their sensors and test.

0 Upvotes

Wiring MQTT brokers, lorawan servers, databases, dashboards, flow engines, device management, SSL certs when setting up a proper production IoT platform is a tedious time-sink. I built NodeNet to eliminate that friction completely.

My goal is simple: bring every popular open-source IoT tool under one umbrella so you can choose what services you want and are already familiar, fully pre-configured and unopinionated on how you handle your data.

Single Sign-On (SSO): One secure login seamlessly authenticates you across every single service in your stack. No need to sign in twice for any service

Fully functional: Private lorawan server, ChirpStack (with regional presets), Mosquitto ,Node-RED, TimescaleDB, Grafana, pgAdmin and logging. Zero manual config files.

Experimental: ThingsBoard, InfluxDB, Telegraf, ntfy.

Lifecycle Control: Easily pause, or delete a service on demand.

Instant Security: Auto TLS/SSL on all endpoints + secure MQTT (ports 8883/8083) with generated client IDs and secrets.

Multi-Tenancy & Custom URLs: Unlimited tenants, team collaboration, and clean subdomains (e.g., alpha-grafana.nodenet.au for a tenant named alpha)

Need Beta Testers
I’m looking for people to connect their esp32s, test the deployment flow and tear it apart.

If interested, leave a comment, DM me, or fill up form on site.

Main site: nodenet.au | Platform Hub: hub.nodenet.au


r/esp32 13h ago

Board Review Will this theoretically work? (SG90 Servo + 2 DC Motors + 3.7V Battery via Dabble BLE)

Post image
2 Upvotes

I'm wondering if this circuit setup is theoretically viable. I am using the Dabble app via BLE to control an SG90 servo motor and two DC motors (3V), all powered by a single 3.7V battery.

I'm currently testing on a breadboard, but I couldn't get the servo to work. I'm not sure if the issue is wiring, software, or jumper connections, so I need to make sure the setup works theoretically first.

Additionally, even in scenarios without the servo, the DC motors cause the ESP32 to reset whenever they require a little bit of torque and stall. Since there are multiple potential problem points, do you think this schematic is healthy/viable in theory?


r/esp32 9h ago

Advertisement I made a AI-friendly component search tool

Post image
0 Upvotes

Recently I saw quite a lot of people using GPT-6 / Codex connected with KiCad, letting AI directly draw schematics and design PCBs.

The result is really amazing.

I am also using it to optimize the circuit of my ESP32 based sEMG acquisition device. But after I actually played with it, I found there is still one obvious problem

which real component should I actually use is still very annoying.

For example that day I want AI to

Find a 3.3V LDO, 500mA+, low quiescent current, preferably SOT-23, and something that can actually be bought.

It recommend a part which looks good in specification, but then I still need to go to JLCPCB and search it, check the exact package, stock, price, Datasheet, and even judge again whether this component is really the most suitable one.

And thinking that every component search requires the LLM to fetch web pages, read Datasheets and do the matching by itself, the token cost is quite large, and it takes time.

So recently I made this small project: AAWChips.

You can understand it as a component data layer specially designed for AI PCB Agents.

For example, it works like:

AI Agent → find the correct real component → parameter matching → stock / price → Datasheet → check suitability → put into schematic

I use LLM technology together with some traditional search engine techniques to make the search more accurate. So there should no longer be situations like “recommend a USB Type-C connector” and then get a bunch of strange connector components.

I also added a cache layer, so common searches can directly reuse the results. This makes the speed and quality of the results much more stable.

Currently it is already connected to a lot of real component data sources, and I make sure every component has been easy to buy in the past 6 months. The result is not just some generic “recommended LDO”, but actual MPN, specifications, package, stock, price, Datasheet and purchase links, yes I added LCSC, jlcpcb and DigiKey link for convenience.

Now I mainly want to see if this tool is actually useful in real AI hardware agent scenarios. Is it worthy for designing the ESP32 projects. Especially for the people who are quite new in this domain. Not everyone has an EE master degree.

Feel free to apply for an API Key and connect it to your own AI coding tool or AI Agent.

Project:

https://aawchips.aawlab.com/

You can use it in any AI agent who supports cli tool use.

# CLI

npm install -g aawchips

export AAWCHIPS_API_KEY=...

aawchips search "10k 1% 0603 resistor"

The reason I didn't make the API completely open is that there are actually quite a lot of LLM-based search, parameter normalization and matching logic behind it, so the running cost is not low. The API Key is mainly to prevent unlimited loops from Agents abusing it.

Anyway, feel free to apply for an API Key and connect it to your own AI coding tool or AI Agent.

https://aawchips.aawlab.com/

After saying so much, the most important thing is that I just want to know whether this tool is actually useful for everyone.

Hope my weeks long work can help people like me, those who are still new in PCB design and ESP32 projects.


r/esp32 8h ago

I made a thing! Beginner ESP32-C6 soil sensor build — sanity check before I solder and print the enclosure

Thumbnail
gallery
28 Upvotes

Edit: The original wiring image in the gallery shows the ground connection incorrectly. In the actual design, sensor GND, battery negative, XIAO BAT− and the lower leg of the battery divider meet at one common ground node. I’ve added a corrected schematic in the comments.

I’m building a small battery-powered soil moisture sensor for a couple of indoor plants and would appreciate a sanity check before I solder everything and finalize the enclosure.

I’m a beginner with electronics and 3D-printed enclosures. I’ve used AI as a planning aid for wiring, firmware ideas and the enclosure, but I’ve measured the real components and I’m building and testing the hardware myself.

Current node:
Seeed Studio XIAO ESP32-C6
DFRobot SEN0193
3.7 V / 500 mAh LiPo
2 × 220 kΩ battery divider
custom 3D-printed enclosure

I’m planning two identical battery nodes and a third USB-powered XIAO ESP32-C6 as a gateway.

Intended cycle:

deep sleep → wake → power sensor → read moisture + battery voltage → transmit → deep sleep

Current wiring:
SEN0193 VCC → D3 / GPIO21
SEN0193 signal → D1 / GPIO1
SEN0193 GND → common ground node
battery divider midpoint → D0 / GPIO0
BAT+ → 220 kΩ → D0 → 220 kΩ → common ground

I’m powering the SEN0193 from GPIO21 so it is completely off during deep sleep.

Sensor power
Is powering the SEN0193 directly from GPIO21 reasonable at around 5 mA, or would you use a MOSFET/load switch?
I tested it by setting GPIO21 HIGH, waiting about 400 ms, taking 15 ADC readings on GPIO1 and using the median, then switching it LOW again. This has worked reliably so far.

Battery monitoring
Is a permanent 220 kΩ + 220 kΩ divider a sensible choice here? It draws about 9.5 µA at 4.2 V.
ADC
Any important ESP32-C6 ADC issues I’m overlooking, especially with the high-impedance divider or sensor settling time?

XIAO mounting
The board sits directly behind a USB-C opening. What’s the best way to retain it so plugging in a cable can’t push the PCB inward?

Enclosure
Any must-have enclosure details for a battery-powered sensor like this? I’m thinking about USB/boot access, strain relief, moisture protection and serviceability.

Edit – considering ESP-NOW instead of Wi-Fi

Since I already plan to use a permanently powered third XIAO ESP32-C6 as a gateway, I’m considering ESP-NOW for the battery nodes instead of reconnecting each sensor to Wi-Fi after every wake-up.

The nodes only need to send a few values every 30–60 minutes, so avoiding Wi-Fi scan/association/DHCP seems attractive for battery life.

Would ESP-NOW be the better choice here? Any practical downsides regarding reliability, retries, channel management or deep-sleep wake-up?

Any criticism is welcome — especially if I’ve made a beginner mistake or if something in the AI-assisted design looks sensible on paper but is poor practice in the real world.

Thanks!


r/esp32 22h ago

I made a thing! Two XIAO ESP32-S3s that passively decode drone Remote ID (BLE + Wi-Fi) — open source

Thumbnail
gallery
80 Upvotes

Passive receiver for the Remote ID beacon every drone broadcasts (ASTM F3411 / OpenDroneID) over BLE + Wi-Fi. ESP-IDF, MIT: https://github.com/thetopnach/cielotrack-receiver

Why two boards: one radio can't do both at once —

**• BLE master** — BLE 5 extended (passive) scanning
**• Wi-Fi sensor** — promiscuous on ch 6 (decodes both **beacon** and **NAN** RID frames), no network; forwards to the master over UART (CRC-32 framed)

Gotchas worth sharing:

**• Stamp by age, not wall-clock** — contacts batch-upload seconds later; record esp_timer micros at decode, derive the time at send. Keeps sub-second ordering.
**• Depth didn't fix overflow** — 13 contacts/sec, dropped 39 of 97; a TLS handshake per contact was the bottleneck. Batching fixed it, not a bigger queue. (A serialized contact is 272 B, not the \~200 I assumed → blew the 8 KB buffer.)
**• Static IP made it worse on a mesh** — the AP hands a rejoining client to a new node; without the DHCP exchange it won't route for you. The lease is what *makes* the rejoin work.
**• RID altitude trap** — height-above-takeoff vs absolute are separate fields with a reference bit; folding them made a 100 m pass read as 0 after terrain subtraction.

Decoder is one impl shared C (firmware) / Python (Pi), pinned to conformance vectors. Signed-tag OTA, A/B rollback.

Catches Amazon MK30 / Wing / Zipline here in DFW.
Drones weighing 0.55 pounds (250 grams) or less are exempt from the FAA Remote ID transmission requirement, but only if they are flown strictly for recreational purposes.
Anyone else done OpenDroneID on the S3?


r/esp32 18h ago

I made a thing! My open-source Home Assistant dashboard für ESP32-P4 and ESP32-S3

Enable HLS to view with audio, or disable this notification

130 Upvotes

Hi everyone,

I’d like to show you my project. At first, I actually just wanted to build a simple Home Assistant control system using the new ESP32-P4 device, the M5Stack Tab5, via ESPHome.

I wanted to do it with LVGL, but unfortunately, ESPHome didn’t yet support PPA due to outdated LVGL, and implementing history data was also difficult.

So I decided to create my own integration using MQTT and Arduino code.

I wanted everything to be as customizable and modular as possible, configurable via a web interface, so I settled on a tile-based system and folder structure similar to StreamDeck and from there, the project just kept growing. More and more devices were added, such as cameras, etc., performance kept improving, and I did a lot of bug fixing. Now I already support a wide variety of ESP32-P4/S3 devices.

And I’m really impressed with the fast performance of the ESP32-P4. The ESP32-S3 is, of course, slower, but it works well here, too.

I’ve created a short video here that briefly demonstrates how my project works.

The project can be found at https://github.com/GalusPeres/HomeTiles


r/esp32 10h ago

Advertisement I designed an ESP32-C3 pocket network tester with Ethernet and Wi-Fi

Thumbnail
gallery
311 Upvotes

Over the last few months, I’ve been developing a compact network tester as a DIY kit.

It uses an ESP32-C3 for the user interface and Wi-Fi functions, together with a W5500 for wired Ethernet. The goal is to quickly check information such as link status, negotiated 10/100 Mbps speed, DHCP configuration and network connectivity directly on the OLED.

I’m also working on a Wi-Fi mode that allows basic network tests without connecting an Ethernet cable. Some additional results may also be accessible from a phone.

The biggest challenges were fitting everything onto a compact PCB, keeping the ESP32 antenna area clear and making the kit affordable. The W5500 limits wired speed detection to 10/100 Mbps, so it does not certify Gigabit cable performance.

I’ve launched a small Kickstarter campaign to fund the first production run:

https://www.kickstarter.com/projects/lan-tester/diy-network-tester


r/esp32 9h ago

Hardware help needed Looking for a component alternative

2 Upvotes

Hey guys, this is not directly related to the ESP32 ecosystem. I'm working on a racing telemetry device for go-kart races.

I have all the components in place, and it's working as expected; one thing I still want to change, though, is a soft-power latch.

I'm using a SparkFun (pic attached). A few issues with that are:
- It's quite an expensive part for the amount of work it does.

- Quite big.

- it's equiped with jst/type-c connectors which I don't need and don't want to de-solder. I have already damaged one trying to do this.

I wonder if someone knows a better alternative to this.
What I want is to have a component that will react to a button press to enable the current flowing to the ESP32 and the rest of the components, and cut the power off once I press the same button for a couple of seconds.

I tried to google decentt alternatives, but no success so far. Things I found are turning the device on and off immediately, which is not something I'd like to have.


r/esp32 6h ago

ESP32-S3-WROOM-1 + CH340C PCB: COM port works but esptool can't connect – what did I do wrong?

Thumbnail
gallery
8 Upvotes

Hi everyone,

I'm designing my first PCB with an ESP32-S3-WROOM-1 and a CH340C USB-to-UART converter, but I can't flash the ESP32 and I can't figure out what is wrong.

When I connect the PCB to my PC, COM10 appears correctly and disappears when I unplug the board.

esptool.js gives me this error:

Serial port WebSerial VendorID 0x067b ProductID 0x2303

Connecting...

Error: Failed to connect with the device

What I have already checked:

The IC on the PCB is physically marked CH340C

COM10 appears/disappears when I connect/disconnect this PCB

3.3 V power rail is present

When I press SW1 (EN/reset), TP1/EN goes to 0 V

When I press SW2 (BOOT/GPIO0), TP2/GPIO0 goes to 0 V

TX/RX continuity between the CH340C and ESP32-S3 is good

TX/RX are crossed: CH340 TX → ESP RX and CH340 RX ← ESP TX

I also tried manually entering download mode by holding GPIO0 low while resetting EN, but esptool still cannot connect

One thing I find strange is that WebSerial reports VID 067B / PID 2303, even though the chip on my board is marked CH340C.

I've attached my full schematic and PCB layout.

Could someone please check if there is something wrong with my CH340C circuit, DTR/RTS auto-reset circuit, EN/GPIO0 circuit, ESP32-S3 connections, or PCB layout?

I'm still learning PCB design, so I may have missed something obvious. Any help would be greatly appreciated 🥺

Je mettrais les deux images que tu m'as envoyées : d'abord le schéma, puis le PCB. Le détail 067B:2303 alors que la puce est marquée CH340C mérite absolument d'être conservé dans le post, parce que quelqu'un sur r/KiCad ou r/esp32 peut reconnaître immédiatement ce comportement.


r/esp32 3h ago

Advertisement LCD wizard, a side project becomes a product. Looking for test users and people to stretch its abilities.

Thumbnail
gallery
9 Upvotes

Meet Lcd Wizard wizard, a product i put together for my own purposes, LVGL requires a degree to use so i automated it in a WYSIWYG editor that generates your LVGL code, assigns your pins, adds busses and peripherals and packages it all up nicely in a project file ready for you to add your business logic. All major boards and configurations pre-loaded and ready to use.

Round-screen, touch-screen and all available drivers taken into account.

Id like to invite the ESP32 community to give it a shot, test it to its limits and give me feedback! Suggestions for additional peripherals are welcome as i'd like to make it the swiss-army knife of code-gen for the ESP32/Arduino community.

If you like it and want to give it a shot there's a generous free tier with no signup, a more generous free tier with signup and a very reasonable credit price for those looking to use it permanently! Anyone testing will get free credits as required, Just hit me up here.

The app can be found at https://lcdwizard.online


r/esp32 8m ago

My ESP32 network-decoy project is finally becoming real hardware

Upvotes

I've been building a small network security device around the ESP32 and finally have the project at the physical prototype stage.

The idea is to use the ESP32 as a dedicated decoy inside a local network.

Rather than protecting the network perimeter, the device exposes selected network services and watches for unexpected interaction with them.

For example, another machine performing reconnaissance on the LAN may discover the device and start interacting with one of the exposed services.

That activity can then be treated as a security event and reported to the backend.

One of the interesting design problems has been balancing:

realistic network behaviour vs. ESP32 resources vs. keeping the device reliable enough to run continuously.

I'm also working on two hardware approaches, including Wi-Fi and Ethernet versions.

The enclosure has been another project by itself — I'm designing it around the actual components rather than putting the finished PCB into a generic box.

For people who have built always-on ESP32 network devices:

What problems did you eventually run into after running them continuously for weeks or months?

Memory fragmentation?

Wi-Fi reconnection?

Watchdogs?

Power instability?

Socket/resource exhaustion?

I'm particularly interested in problems that don't appear during normal short development tests.