
Emc flyback
ChengminLi/AI-PCB-layout
AI agent skill for designing and reviewing power-electronics PCBs, with a human review gate after every step

Design goals: 1. A single ESP8266 governs up to 4 LEDs + 4 PIR sensors (+4 virtual signals). 2. Any LED can trigger on/off with any grouping of PIR sensors/virtual signals. - Note, logical OR with each other hard-coded.
Pirled is an open-source printed circuit board by mwalsh161, from the mwalsh161/pirled repository on GitHub. It is a 2-layer board with 8 parts on 24 nets, routed with 62 tracks and 1 via.
It is built around the WEMOS D1 MINI, LM2596S-5.0 and RJ45, with the IRF520NPBF among its other parts. Its parts include 3 connectors, 2 ICs and 1 diode. It belongs with the ESP8266 boards of this library.
Design goals:
TODO:
Stretch TODO:
This project uses a repo-local PlatformIO core directory at .platformio-core/ so VS Code builds and CLI builds can share the same cache and incremental build context.
If you already have PlatformIO packages installed globally in ~/.platformio, you can optionally symlink these into .platformio-core/ to avoid re-downloading toolchains and frameworks:
ln -s ~/.platformio/packages .platformio-core/packages
ln -s ~/.platformio/platforms .platformio-core/platformsThis is optional. If the symlinks are absent, PlatformIO can manage .platformio-core/ directly.
The API server can be built as a single production image that also contains the built frontend bundle. Build from the repo root so the Docker build can access both api/ and frontend/:
docker build -f api/Dockerfile -t pirled:latest .Run it with a bind mount or named volume for persistent app state at /data and publish port 8082:
docker run --rm \
-p 8082:8082 \
-v "$(pwd)/api-data:/data" \
pirled:latestNotes:
frontend/dist during docker build; no prebuilt frontend artifact is required./data so host backup/restore jobs can access it.PIRLED_DATA_DIR; local non-Docker runs default to api/data./app/api/data can either move that host directory to the /data mount or set PIRLED_DATA_DIR=/app/api/data.For a homelab deploy repo, the expected invocation is:
git clone <this-repo>
cd pirled
docker build -f api/Dockerfile -t pirled:latest .
docker run -d \
--name pirled \
--restart unless-stopped \
-p 8082:8082 \
-v /path/to/persistent/pirled-data:/data \
pirled:latest| Qty | Value | Footprint | References |
|---|---|---|---|
| 3 | RJ45 | Connector_RJ:RJ45_breakout | J1, J2, J3 |
| 1 | Barrel_Jack | Connector_BarrelJack:BarrelJack_SwitchcraftConxall_RAPC10U_Horizontal | LED1 |
| 1 | Conn_01x03_Pin | Connector_PinHeader_1.00mm:PinHeader_1x03_P1.00mm_Vertical | PIR1 |
| 1 | IRF520N | Package_TO_SOT_THT:TO-220-3_Vertical | PWM1 |
| 1 | LM2596S-5 | Converter_DCDC:Converter_DCDC_LM2596 | U2 |
| 1 | WEMOS_D1_mini | RF_Module:WEMOS_D1_mini_light | U1 |
8 parts, built around the WEMOS D1 MINI, LM2596S-5.0, RJ45 and IRF520NPBF. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the mwalsh161/pirled repository on GitHub, at the commit this page was made from: the board is kicad/pirled/pirled.kicad_pcb and its schematic kicad/pirled/pirled.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask mwalsh161 before reusing the design.

ChengminLi/AI-PCB-layout
AI agent skill for designing and reviewing power-electronics PCBs, with a human review gate after every step



spiwocoal/547452
Convertidor DC/DC topología SEPIC para ramo Taller de sistemas electrónicos



jibonaronno/documentsA
It is required to change settings using SCLManager.exe when required for new setup.
