Skip to content

docs: add ESP32 module circuit design tutorial#593

Open
tungnguyentu wants to merge 2 commits into
tscircuit:mainfrom
tungnguyentu:esp32-module-circuit
Open

docs: add ESP32 module circuit design tutorial#593
tungnguyentu wants to merge 2 commits into
tscircuit:mainfrom
tungnguyentu:esp32-module-circuit

Conversation

@tungnguyentu
Copy link
Copy Markdown

Summary

  • Adds /docs/tutorials/esp32-module-circuit.mdx — a step-by-step schematic tutorial for designing a complete ESP32-WROOM-32 development board support circuit
  • Follows the same incremental format as the Arduino Uno schematic tutorial: each section has its own runnable <TscircuitIframe> followed by a complete schematic at the end
  • Covers six sections:
    1. ESP32-WROOM-32 module — full pin definition with left/right split layout
    2. AMS1117-3.3 LDO power supply — 5 V VBUS → 3.3 V with input/output decoupling caps
    3. CH340C USB-to-UART bridge — USB programming interface with auto-reset circuit using two MMBT3904 NPN transistors controlled by RTS/DTR
    4. Boot and Reset buttons — manual override with pull-up resistors
    5. Status LED — blue LED with 1 kΩ current-limiting resistor on IO2
    6. Complete schematic — all sections assembled with proper schX/schY placement

Notes

  • Uses <chip> for transistors (as <transistor> is not a standard tscircuit element) with explicit base/collector/emitter pin labels
  • CH340C uses the real SOP-16 16-pin pinout (the task spec listed 18 pins — corrected to match the actual datasheet)
  • All netlabels use net.GND, net.3V3, net.VBUS etc. for power rail connections

Test plan

  • Open the MDX file in the Docusaurus dev server and verify all five <TscircuitIframe> blocks render without errors
  • Confirm schematic view is the default (defaultView="schematic")
  • Verify the complete schematic iframe shows all components without overlap

/claim tscircuit/docs-old#47

Step-by-step schematic tutorial for the ESP32-WROOM-32 module covering
LDO power supply, CH340C USB-to-UART bridge with auto-reset transistors,
boot/reset buttons, and a status LED — all as runnable tscircuit JSX.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 14, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview, Comment May 15, 2026 4:35pm

Request Review

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@tungnguyentu
Copy link
Copy Markdown
Author

Update: Added a full components BOM table and cost estimate (~$3.62/unit at LCSC quantities).

This tutorial has 7 working TscircuitIframes — one per section — so readers can follow along with a live schematic at every step.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant