
Bldc&foc motor controller
bejaouihamza/bldc-foc-pcb
This open-source hardware project is a compact, single-board FOC (Field-Oriented Control) motor driver designed for precision robotics, drones, CNC machines, and automation systems.

A PCB for controlling Deepsea Lights
Deepsea light pcb is an open-source printed circuit board by keenanjohnson, from the keenanjohnson/deepsea-light-pcba repository on GitHub. It is a 4-layer board of 124.5 × 56.8 mm with 13 parts on 61 nets, routed with 110 tracks and 1 via.
It is built around the HC-JXDZFH-5.0-4P and XT60PW-M. Its parts include 7 ICs and 6 connectors. It belongs with the RP2040 boards of this library.
A PCB for controlling Deepsea Lights

| Top | Bottom |
|---|---|
![]() | ![]() |
The 3D views come from scripts/render.py, which drives KiCad's ray tracer
(kicad-cli pcb render) and stitches the turntable frames with ffmpeg. The
same script exports the schematic below. The
Renders workflow re-runs it, and the connector
overview, whenever the board or schematic changes and commits the results to
docs/.


Rendered automatically by kicad-callouts via GitHub Actions whenever the board changes.
Generate everything needed to order the board from JLCPCB:
scripts/generate_fab.pyThis writes to fab/ (gitignored): a flat *-gerbers.zip to upload, the same
gerbers and Excellon drill files loose for inspection, a BOM with LCSC part
numbers, a position file for assembly, a schematic PDF, and the DRC/ERC
reports.
The BOM and position file are produced by
Fabrication-Toolkit, which
applies JLCPCB's part rotation conventions. The script fetches it at a pinned
release into .fabrication-toolkit/ (gitignored) on first run. It needs a
Python that can import pcbnew; on macOS the script finds KiCad's bundled one.
If a part still arrives rotated, add an FT Rotation Offset field (degrees,
counter-clockwise) to that symbol and regenerate.
The Pico (U1) and the SparkFun RS-485 breakout (U7) are off-the-shelf modules
that plug into female 2.54 mm headers, so they are excluded from the BOM and
position file. The headers themselves are J1–J4: pad-less footprints
(Socket_1x*_P2.54mm_NoPads) placed over the module pin rows, carrying the
LCSC numbers so JLCPCB solders the sockets and the modules are fitted by hand.
J5 is a 4-pole 2.54 mm screw terminal on the right edge carrying I2C1 (GP14 SDA, GP15 SCL) plus 3.3 V and ground, for an external INA238 power monitor module such as the Adafruit breakout. The firmware expects that sensor at address 0x40 and tolerates its absence.
Design rule and unrouted-connection errors abort the export. ERC errors are
reported but do not, since the remaining ones are annotation issues such as
missing power flags; pass --strict to block on those too. Silkscreen warnings
are expected: several footprint libraries use legend text below JLCPCB's 1.0 mm
minimum height and 0.15 mm minimum stroke.
Order settings that match the design rules in deepsea-light-pcb.kicad_pro:
4 layers, 1.6 mm thick, 1 oz outer copper. The Fab files
workflow builds the same package in CI and attaches
it to release tags.
| Layer | Net | Purpose |
|---|---|---|
| F.Cu | GND | Logic ground, 0.1 mm above the signal layer so the PWM input and UART reference a quiet plane |
| In1.Cu | GND | Logic ground, carries most of the signal routing |
| In2.Cu | +24V | Light supply |
| B.Cu | LIGHT_GND | Light return, tightly coupled to the 24 V plane above it |
GND and LIGHT_GND are deliberately separate on the board. The Pico and the
RS-485 transceiver run from the Navigator's 5 V supply, with 24 V reaching only
the light connectors, following the bench testing in
CCR_development#34
that traced light flicker to shared power. There are no ground stitching vias:
JLCPCB does not offer blind or buried vias, so stitching would have to punch
both power planes and put GND within clearance of LIGHT_GND at every drop.
The two ground pours meet at the through-hole ground pins instead.
The Power netclass gives +24V and LIGHT_GND a 0.5 mm clearance, wider than
the 0.09 mm JLCPCB allows, because those nets land on hand-soldered terminal
blocks where a bridge to the ground pour would put 24 V on the Pico.
This board is designed to run micropython from this repo: https://github.com/Seattle-Aquarium/CCR_ROV_survey_methods/tree/main/lighting/code
I usually use this project to get parts / footprints:
https://github.com/TousstNicolas/JLC2KiCad_lib
JLC2KiCadLib C3818565 -dir Deepsea_light_lib
-model_dir Deepsea_light_dir
-footprint_lib Deepsea_light_lib
-symbol_lib_dir Deepsea_light_dir
-symbol_lib Deepsea_light_lib
| Qty | Value | Footprint | References |
|---|---|---|---|
| 4 | HC-JXDZFH-5.0-4P | Deepsea_light_lib:CONN-TH_2604-1104 | U2, U3, U4, U5 |
| 2 | PinSocket_1x20_P2.54mm | Deepsea_light_lib:Socket_1x20_P2.54mm_NoPads | J1, J2 |
| 1 | 250-104 | Deepsea_light_lib:CONN-TH_4P-P3.50_250-104 | J5 |
| 1 | 2604-1103 | Deepsea_light_lib:CONN-TH_2604-1103 | U6 |
| 1 | Pico | MCU_RaspberryPi_and_Boards:RPi_Pico_SMD_TH | U1 |
| 1 | PinSocket_1x03_P2.54mm | Deepsea_light_lib:Socket_1x03_P2.54mm_NoPads | J4 |
| 1 | PinSocket_1x05_P2.54mm | Deepsea_light_lib:Socket_1x05_P2.54mm_NoPads | J3 |
| 1 | SparkFun_RS485_Breakout | Deepsea_light_lib:SparkFun_RS485_Breakout | U7 |
| 1 | XT60PW-M | Deepsea_light_lib:CONN-TH_XT60PW-M | CN1 |

bejaouihamza/bldc-foc-pcb
This open-source hardware project is a compact, single-board FOC (Field-Oriented Control) motor driver designed for precision robotics, drones, CNC machines, and automation systems.

BenjamimKrug/robo_humanoide
Repositorio para arquivos gerais necessários para o desenvolvimento do Robô humanoide





danielwilczak101/EasyControls
Originally part of the NASA Asteroid flyer program has been repurposed by the EPPL to allow anyone interested in controls to go online and connect with a real working device and test their own control algorithms on a…

IITB-Rocket-Team-Avionics/Ember
Experimental Flight Computer with potential mitigations of previous issues faced by FLYTE and a testbed for new systems.
It measures 124.5 × 56.8 mm and has 4 copper layers, 1.6 mm thick.
13 parts, built around the HC-JXDZFH-5.0-4P and XT60PW-M. 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 keenanjohnson/deepsea-light-pcba repository on GitHub, at the commit this page was made from: the board is deepsea-light-pcb.kicad_pcb and its schematic deepsea-light-pcb.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 keenanjohnson before reusing the design.