I created the project spec and started the schematic for the jumper-fallback ESP32 24 V LED controller. The schematic now includes the ESP32 38-pin socket, 24 V/I2C in/out terminal blocks, buck-module header, optional I2C pull-up jumpers, external MT-301R4P-N fallback header, and three onboard opto + P-channel MOSFET high-side output channels; the latest check returned no open ERC warnings/errors.
I’m blocked from making more edits right now because the account has no available ACUs.
I still need to update the spec with the final schematic details and cleanly mark my last verification todo complete.
We still need your LED current rating and eventual enclosure dimensions before PCB layout.
Optional I2C pull-up jumper explanation: I2C needs SDA/SCL pull-up resistors, but in a daisy chain you usually only want one set enabled. JP7 enables/disables the SDA pull-up and JP8 enables/disables the SCL pull-up; install the shunts on only one board/master location, and remove them on the other slave boards.
Device: Through-hole-friendly carrier PCB for a 38-pin NodeMCU ESP-32S development board.
Purpose: Convert the working prototype into one easier-to-wire PCB for controlling a 24 V industrial LED/light using I2C commands.
Intended Use
Installed inside daisy-chained slave boxes.
A master controller sends commands over I2C.
Each slave box receives 24 V, GND, SDA, and SCL, passes them onward, and controls one 24 V LED with red/yellow/green channels.
Prototype/learning build first; later enclosure constraints will guide layout.
What the Device Should Do
Accept 24 V DC and GND from an incoming terminal block.
Pass 24 V, GND, SDA, and SCL to an outgoing terminal block.
Power a plug-in 38-pin NodeMCU ESP-32S board from the 24 V input through a regulator.
Connect ESP32 GPIO21 to I2C SDA and GPIO22 to I2C SCL.
Use GPIO25, GPIO26, and GPIO27 as red/yellow/green control outputs.
Drive 24 V LED color wires where each active color wire receives +24 V.
Provide jumper-selectable fallback so each color output can use either an external MT-301R4P-N isolator module or an onboard opto/high-side driver circuit.
Main Features
38-pin ESP32 dev-board socket using through-hole female headers.
24 V/I2C input and output terminal blocks.
Through-hole/solder-in 24 V to 5 V buck regulator module footprint.
Optional I2C pull-up resistors enabled/disabled by jumpers.
Three selectable output paths: external isolator module input or onboard opto driver.
LED output terminal block for black/+24 V, red, yellow, and green.
A jumper per channel selects which path receives the ESP32 GPIO signal.
Interfaces and Connections
Table
Interface
Pins / Signals
Notes
24 V/I2C input terminal
24V_IN, GND, SDA, SCL
From master/upstream box
24 V/I2C output terminal
24V_OUT, GND, SDA, SCL
To downstream box
ESP32 socket
38-pin NodeMCU ESP-32S
Through-hole female headers
Regulator module
VIN+, VIN-, VOUT+, VOUT-
Solder-in buck module preferred
External isolator header
3.3V, GND, IN1-IN4, 24V-side terminals as needed
Supports known-working MT-301R4P-N fallback
LED terminal
+24V/black, red, yellow, green
Color wires need +24 V when active
Power and Runtime Expectations
Input source: nominal 24 V DC.
Runtime: continuous when powered.
No battery charging or low-power sleep requirement currently specified.
ESP32 WiFi/BLE use not currently required; I2C is the command interface.
Power Tree and Power Budget
Diagram
Initial sizing assumptions until exact LED and regulator details are known:
ESP32 dev board peak current: design regulator for at least 500 mA available at 5 V.
Opto input channels: estimate 5–10 mA each when active.
LED 24 V current: TBD from LED product; terminal blocks and output drivers must be sized after the LED current is known.
Recommended buck module target: 24 V input capable, 5 V output, at least 1 A output for margin.
Manufacturing and Assembly Expectations
User prefers through-hole soldering.
Use through-hole terminal blocks, headers, jumpers, DIP optocouplers, axial resistors, and radial/disc capacitors where practical.
Solder-in buck converter module preferred over a tiny SMD switching regulator for rev 1.
PCB layout will wait for enclosure and mechanical constraints.
Firmware-Relevant Hardware Requirements
ESP32 I2C pins:
GPIO21 = SDA
GPIO22 = SCL
ESP32 output pins:
GPIO25 = red
GPIO26 = yellow
GPIO27 = green
Firmware should allow OFF, red, yellow, green, and mixed/intermediate colors by controlling the three outputs.
I2C addressing strategy is TBD.
Physical Design Expectations
Board should accept a 38-pin NodeMCU ESP-32S dev board.
Terminal blocks should be accessible at board edges.
Enclosure dimensions and mounting details are TBD and will be added later.
Keep the ESP32 antenna area clear during layout if the dev board antenna remains onboard.
Important Design Decisions
Use a plug-in NodeMCU ESP-32S dev board instead of a bare ESP32 module for rev 1.
Feed the dev board from 5 V/VIN rather than directly into 3.3 V.
Add jumper fallback for output-driver experimentation.
Include optional, jumper-enabled I2C pull-ups so pull-up strength can be controlled across the daisy chain.
Prefer through-hole assembly for learning/debugging.
Assumptions
The NodeMCU ESP-32S board exposes usable VIN/5V, GND, 3V3, GPIO21, GPIO22, GPIO25, GPIO26, and GPIO27 pins on its 38-pin headers.
The LED color wires require +24 V to activate.
The external isolator module is an MT-301R4P-N family 3.3 V-to-24 V 4-channel optocoupler/PLC converter.
The I2C daisy-chain cable length is short enough for I2C to be acceptable for a prototype. If the cable length grows, RS-485 or CAN should be considered.
Change Notes
Initial specification created from user requirements.
Added jumper fallback architecture for each color output.
Assets are files uploaded to this project which can be used in various ways.
Carrier PCB for a 38-pin NodeMCU ESP-32S controlling a 24 V industrial RGB stack light over I2C, with 24 V power input, daisy-chain terminals, 24 V-to-5 V regulation, and jumper-selectable external/onboard opto output drivers.
Properties
Properties describe core aspects of the project.
Pricing & Availability
Distributor
Qty 1
Arrow
$4.56–$9.31
Digi-Key
$4.92–$8.76
HQonline
$0.10
LCSC
$6.99
Mouser
$11.55
TME
$12.66
Verical
$2.85–$9.94
Controls
Welcome 👋
Flux helps you build PCBs faster with an AI teammate!
Create your account to collaborate, stay updated, fork your own version, and get instant answers from our AI agent.