
Workcross ReverseCam
db8fs/Workcross-ReverseCam
ESP32-based pcb for providing ESD-safe power supply for a wireless Reverse Camera for an AODES Workcross UTV.

PCB to convert an analogue signal from a rheostat into a PWM signal for LEDs
B2500 cluster pwm dimmer is an open-source printed circuit board by TheTinkeringSquid, from the TheTinkeringSquid/RheostatPWM repository on GitHub. It is a 2-layer board of 94 × 62 mm with 38 parts on 20 nets, routed with 305 tracks and 10 vias.
It is built around the BAT54S, FQP27P06 and P6KE24CA. Its parts include 11 resistors, 6 diodes, 5 capacitors, 2 ICs and 2 transistors. It belongs with the RP2040 boards of this library.
Small RP2040-based PWM dimmer board for a 1996 Dodge B2500 instrument cluster LED conversion. It reads the factory headlight rheostat as an analog input and drives the cluster illumination feed with a protected high-side 12 V PWM output.
Cluster illumination only. This board is not for exterior lighting, brake lights, turn signals, airbags, engine controls, or any safety-critical circuit.

factory full 12 V illumination/headlamp-switched feed -> J1 VIN_RAW
factory dimmer/rheostat analog output -> J1 DIM_IN (sense only)
board high-side 12 V PWM output -> J1 PWM_OUT -> cluster LED +
cluster/chassis ground -> J1 GNDThe factory rheostat no longer powers the cluster lamps. It is read as a low-current analog control signal through a high-impedance divider into the XIAO RP2040 ADC. Firmware maps that voltage through a gamma curve to a high-side PWM output (P-channel MOSFET Q1 driven by N-MOSFET Q2), so the lamp grounds stay factory.
| Pin | Net | Description |
|---|---|---|
| 1 | VIN_RAW | Fused full 12 V illumination/headlight-switched feed |
| 2 | GND | Chassis/cluster ground |
| 3 | DIM_IN | Factory rheostat output, sense only |
| 4 | PWM_OUT | PWM +12 V output to cluster LED illumination feed |
| 5 | IGN_SENSE | Optional lights-on signal (future firmware; DNP parts) |
DIM_IN.PWM_OUT.Do not power the microcontroller from
DIM_IN; it may brown out when the rheostat is turned down.If the factory dimmer turns out to be low-side, already-PWM, or multiplexed rather than a simple variable positive voltage, stop and revise the input circuit instead of forcing this design.
.
├── README.md
├── firmware/ PlatformIO project (Seeed XIAO RP2040)
│ ├── platformio.ini
│ └── src/main.cpp
└── hardware/
├── kicad/
│ ├── b2500_cluster_pwm_dimmer.kicad_pro / .kicad_sch / .kicad_pcb
│ ├── b2500_cluster_pwm_dimmer_schematic.pdf
│ ├── pcb_top.png
│ └── symbols_and_footprints/b2500.pretty/ (XIAO + Pololu module footprints)
├── scripts/ generators (re-create the design deterministically)
│ ├── netlist.py single source of truth for the netlist
│ ├── gen_sch.py -> kicad_sch
│ ├── gen_pcb.py -> kicad_pcb
│ ├── gen_bom.py -> BOM CSV
│ └── export_fab.py -> gerbers + drill + BOM (run after routing)
├── gerbers/ fabrication output (generated after routing)
├── fabrication_notes.md
└── b2500_cluster_pwm_dimmer_bom.csvThe KiCad schematic, board, and BOM are generated by the scripts in
hardware/scripts/. They share netlist.py so the schematic and board can
never drift apart. Regenerate with:
python hardware/scripts/gen_sch.py # schematic
& "C:/Program Files/KiCad/10.0/bin/python.exe" hardware/scripts/gen_pcb.py # board (needs KiCad's Python)
python hardware/scripts/gen_bom.py # BOM CSVBuilt with PlatformIO for the Seeed Studio XIAO RP2040 (Arduino / Earle Philhower RP2040 core).
cd firmware
pio run # build
pio run -t upload # flash (board in UF2 bootloader, or via USB)
pio device monitor # 115200 baud serial debugKey calibration constants live at the top of firmware/src/main.cpp
(ADC_OFF_THRESHOLD, ADC_MIN_INPUT, ADC_MAX_INPUT, DUTY_MIN, GAMMA,
PWM_FREQ_HZ, plus REVERSE_DIMMER_DIRECTION). Tune them on the bench against
the real dimmer using the serial output. PWM defaults to 976 Hz (in the
500 Hz–2 kHz target band).
The board is fully routed and DRC-clean (0 violations, 0 unconnected) —
2 layers, 94 × 62 mm, ground pour on both. hardware/scripts/gen_pcb.py
places every part, pours ground, and routes all nets with a built-in
collision-aware router (Manhattan + maze fallback): high-current nets
(VIN_RAW, PWM_OUT, VIN_PROT) at 1.5 mm, signals at 0.4 mm. The gerbers and
drill files in hardware/gerbers/ are ready to send to a fabricator.
You don't need to touch KiCad to get the board made. If you want to inspect or tweak it:
Open hardware/kicad/b2500_cluster_pwm_dimmer.kicad_pro in KiCad 10.
Make changes, run DRC, then regenerate fabrication output:
python hardware/scripts/export_fab.pyThis runs DRC, writes gerbers + Excellon drill to hardware/gerbers/, and
regenerates the BOM. (Re-running gen_pcb.py regenerates the whole board
from scratch and will discard manual KiCad edits.)
Zip the contents of hardware/gerbers/ and upload to any PCB fab (JLCPCB,
PCBWay, OSH Park, Aisler, etc.): 2-layer, 1.6 mm, 1 oz copper (2 oz is a nice
upgrade for the power path), HASL or ENIG. See
hardware/fabrication_notes.md for the full
spec, assembly notes, and the bench/in-vehicle test procedures.
PWM_OUT — both for a cleaner, better-defined
high-side switching edge with less ringing/EMI. Fit the snubber only if the
bench scope shows ringing.VIN/GND/VOUT). A footprint audit against the Pololu module
showed its on-board land is easy to get wrong (6 pins incl. an offset PG, two
GNDs); a wired connection is order-proof and far safer to assemble by hand.VIN_RAW (inline blade fuse in the harness — F1 is not on the
board). Size it to the measured LED cluster current.| Qty | Value | Footprint | References |
|---|---|---|---|
| 2 | 100R | R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R7, R8 |
| 1 | 100R (DNP) | R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R10 |
| 1 | 100k | R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R9 |
| 1 | 100k (DNP) | R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R1 |
| 1 | 100k 1% | R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R3 |
| 1 | 100nF | C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C3 |
| 1 | 100nF 50V | C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C2 |
| 1 | 10k | R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R6 |
| 1 | 10nF 100V (DNP) | C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C5 |
| 1 | 10uF | C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C4 |
| 1 | 1N5242B 12V | D_DO-35_SOD27_P7.62mm_Horizontal | D5 |
| 1 | 1N5819 | D_DO-41_SOD81_P10.16mm_Horizontal | D3 |
| 1 | 1N5822 | D_DO-201AD_P15.24mm_Horizontal | D1 |
| 1 | 1k | R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R5 |
| 1 | 22k (DNP) | R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R2 |
| 1 | 22k 1% | R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R4 |
| 1 | 2N7000 | TO-92_Inline_Wide | Q2 |
| 1 | 3.3k | R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R11 |
| 1 | 47uF 50V | CP_Radial_D6.3mm_P2.50mm | C1 |
| 1 | 5V_LINK | PinHeader_1x02_P2.54mm_Vertical | JP1 |
| 1 | BAT54S | SOT-23 | D4 |
| 1 | CAL | SW_PUSH_6mm | SW1 |
| 1 | FQP27P06 | TO-220-3_Vertical | Q1 |
| 1 | Green LED (PWR) | LED_D3.0mm | D6 |
| 1 | P6KE24CA | D_DO-15_P10.16mm_Horizontal | D2 |
| 1 | Phoenix MKDS-1,5-5-5.08 | TerminalBlock_Phoenix_MKDS-1,5-5-5.08_1x05_P5.08mm_Horizontal | J1 |
| 1 | Pololu D36V28F5 (off-board, wired) | PinHeader_1x03_P2.54mm_Vertical | U2 |
| 1 | TP_3V3 | TestPoint_THTPad_D1.5mm_Drill0.7mm | TP3 |
| 1 | TP_5V | TestPoint_THTPad_D1.5mm_Drill0.7mm | TP2 |
| 1 | TP_DIM_ADC | TestPoint_THTPad_D1.5mm_Drill0.7mm | TP4 |
| 1 | TP_GND | TestPoint_THTPad_D1.5mm_Drill0.7mm | TP7 |
| 1 | TP_PWM_GATE | TestPoint_THTPad_D1.5mm_Drill0.7mm | TP5 |
| 1 | TP_PWM_OUT | TestPoint_THTPad_D1.5mm_Drill0.7mm | TP6 |
| 1 | TP_VIN | TestPoint_THTPad_D1.5mm_Drill0.7mm | TP1 |
| 1 | XIAO RP2040 | XIAO_RP2040_THT | U1 |
The 36 most common of 38 parts.

db8fs/Workcross-ReverseCam
ESP32-based pcb for providing ESD-safe power supply for a wireless Reverse Camera for an AODES Workcross UTV.

paulovitorbal/coruja_gps
Detector de radares GPS embarcado em Raspberry Pi Pico 2 W — requisitos, esquemático, formato de dados e revisão técnica. Projeto pessoal de estudo.


nmatic00/max1491-4wire-ohmmeter
My first KiCAD project. 4 Wire Kelvin Ohmmeter based on MAX1491 ADC.

mattronix/battery-board
KiCad hardware project for the battery-to-radio interface of an AN/PRC‑152(A) reproduction radio. It contains two small PCBs that mate through spring‑loaded pogo‑pin contacts, plus a shared custom KiCad footprint…

mattwach/portable_led_lamp
Contains firmware, schematics and 3D models for a LED lamp that can accept a wide range of voltages.

pietwauters/esp32_scoring_device_hardware
Hardware files for the scoring device

xHain-hackspace/xDoorPiHat
Schematics and Boardfiles for PiHat that opens and closes the xDoor
It measures 94 × 62 mm and has 2 copper layers, 1.6 mm thick.
38 parts, built around the BAT54S, FQP27P06 and P6KE24CA. 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 TheTinkeringSquid/RheostatPWM repository on GitHub, at the commit this page was made from: the board is hardware/kicad/b2500_cluster_pwm_dimmer.kicad_pcb and its schematic hardware/kicad/b2500_cluster_pwm_dimmer.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 TheTinkeringSquid before reusing the design.