
Leaf heat v7
ahdrage/leafy
DIY Wi-Fi climate-control prototype for Nissan Leaf: KiCad PCB, ESP32-C3 firmware, Blender enclosure and build notes. Inspired by OVMS.

DIY Wi-Fi climate-control prototype for Nissan Leaf: KiCad PCB, ESP32-C3 firmware, Blender enclosure and build notes. Inspired by OVMS.
Before router is an open-source printed circuit board by ahdrage, from the ahdrage/leafy repository on GitHub. It is a 4-layer board of 100 × 100 mm with 66 parts on 49 nets, routed with 226 tracks and 157 vias.
It is built around the ESP32-C3-WROOM-02-N4, TCAN3404DRQ1 and TPS3760A012DYYRQ1, with the USBLC6-2SC6, C1206C104K5RACTU and 0451001.MRL among its other parts. Its parts include 20 capacitors, 19 resistors, 6 ICs, 4 diodes and 2 connectors. It belongs with the ESP32 and RISC-V boards of this library.
Historical development record. The current release is Leafy G.5. Use this file for context, not current ordering or wiring instructions.
Current custom-board revision: UART programming, 41 components, four layers, 65 × 50 mm. Engineering prototype; not physically tested.
Open leaf-heat-v3.kicad_pro in KiCad 10, then open PCB Editor or Schematic Editor. Rev B is preserved in ../rev-b/.
The board receives heater commands over home Wi-Fi and communicates with the Leaf over CAN. It carries no heater current. Firmware, a verified vehicle cable, an enclosure, and prototype testing are still required.
There are 41 parts / 25 distinct MPNs, compared with Rev B's 47 / 29. All components are on top: 39 SMT and two through-hole connectors. The connector must be included in factory assembly.
Programming now needs a 3.3 V logic USB-to-UART adapter and a separate 12 V bench supply, connected through J1. J3 has no power pin. Follow the programming instructions; do not use a 5 V logic or RS-232 adapter.
Native KiCad electrical and layout checks pass with zero reported violations, unconnected items and schematic/PCB mismatches. A separate saved-file audit checks the pin map, preserved circuit connections, copper net assignments, power tolerances and BOM/placement consistency. The design review records the scope, one documented KiCad check limitation and the remaining physical tests. Passing CAD checks does not establish a working or automotive-qualified product.
The native project, .kicad_dru, Leaf.kicad_sym, Leaf.pretty/ and both library tables belong together. The Gerbers in exports/fabrication/ are for Rev C only. Existing PCBWay/JLCPCB quotation requests contain Rev B, so their files and totals must not be treated as Rev C quotes.
| Function | ESP32-C3 GPIO | Behavior |
|---|---|---|
| CAN transmit / receive | 4 / 5 | Internal TWAI controller |
| CAN standby | 1 | High = standby; external pull-up retained |
| Battery sense | 0 | ADC reads VPWR × 47/1047 after the input diode |
| Status LED | 7 | High lights LED |
| UART receive / transmit | 20 / 21 | Bootloader download and serial log |
| Reset / enable | EN | RESET button and 10 kΩ / 1 µF startup network |
| Boot straps | 2, 8, 9 | Pulled high; BOOT pulls GPIO9 low |
| Unused former USB pins | 3, 18, 19 | Explicit no-connect; no USB-presence detection |
Start with CAN in standby, require a fresh authenticated heat request after every reset, and implement a bounded heating interval, explicit stop handling, bus-error handling and low-battery behavior. Wi-Fi updates and recovery/rollback must be implemented in firmware; they are not provided by this hardware revision. The earlier development-board plan uses different GPIO assignments.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 8 | 100nF / 50V | Leaf:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder__Hand | C4, C10, C11, C12, C13, C14, C17, C20 |
| 6 | 10k | Leaf:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder__Hand | R3, R4, R5, R6, R10, R20 |
| 4 | 1uF / 25V | Leaf:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder__Hand | C3, C8, C18, C19 |
| 4 | MountingHole_2.7mm_M2.5 | MountingHole_2.7mm_M2.5 | H1, H2, H3, H4 |
| 3 | 1k | Leaf:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder__Hand | R9, R18, R19 |
| 3 | 22uF / 25V | Leaf:C_1210_3225Metric_Pad1.33x2.70mm_HandSolder__Hand | C5, C6, C7 |
| 2 | 100k / 1% | Leaf:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder__Hand | R1, R26 |
| 2 | 220nF / 100V | Leaf:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder__Hand | C2, C16 |
| 2 | 47k / 1% | Leaf:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder__Hand | R8, R23 |
| 1 | 10M / 1% | Leaf:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder__Hand | R24 |
| 1 | 10uF / 16V | Leaf:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder__Hand | C9 |
| 1 | 1A / 125V | Leaf:Fuse_Littelfuse-NANO2-451_453__Hand | F1 |
| 1 | 1M / 1% | Leaf:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder__Hand | R7 |
| 1 | 1R / 1.5W | Leaf:R_2512_Hand | R21 |
| 1 | 2.2uF / 100V | Leaf:C_1210_3225Metric_Pad1.33x2.70mm_HandSolder__Hand | C1 |
| 1 | 22uH / 3.3A sat | Leaf:L_Bourns_SRN6045TA__Factory | L1 |
| 1 | 3V3 | Leaf:TestPoint_3mm_Hole1.5mm | TP4 |
| 1 | 43.2k / 1% | Leaf:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder__Hand | R2 |
| 1 | 470k / 1% | Leaf:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder__Hand | R25 |
| 1 | 47uF / 63V | Leaf:CP_Radial_D6.3mm_P2.50mm__Hand | C15 |
| 1 | 680k / 1% | Leaf:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder__Hand | R22 |
| 1 | B1100 / 100V | Leaf:D_SMA__Hand | D1 |
| 1 | BOOT | Leaf:SW_PUSH_6mm_H4.3mm__Hand | SW2 |
| 1 | CAN_H | Leaf:TestPoint_3mm_Hole1.5mm | TP5 |
| 1 | CAN_L | Leaf:TestPoint_3mm_Hole1.5mm | TP6 |
| 1 | CAR_12V | Leaf:TestPoint_3mm_Hole1.5mm | TP2 |
| 1 | ESP32-C3-WROOM-02-N4 | Leaf:ESP32-C3-WROOM-02_0p3mm_Vias__Factory | U2 |
| 1 | ESP_EN | Leaf:TestPoint_3mm_Hole1.5mm | TP7 |
| 1 | GND | Leaf:TestPoint_3mm_Hole1.5mm | TP1 |
| 1 | GREEN / status | Leaf:LED_1206_3216Metric_Pad1.42x1.75mm_HandSolder__Hand | D6 |
| 1 | LMR36510ADDAR | Leaf:Texas_HTSOP-8-1EP_3.9x4.9mm_P1.27mm_EP2.95x4.9mm_Mask2.4x3.1mm_ThermalVias__Factory | U1 |
| 1 | NISSAN LEAF CABLE | Leaf:NorComp_182-009-113R561__Hand | J1 |
| 1 | PESD2CAN | Leaf:SOT-23_Handsoldering__Hand | D4 |
| 1 | RESET | Leaf:SW_PUSH_6mm_H4.3mm__Hand | SW1 |
| 1 | SMBJ24CA | Leaf:D_SMB__Hand | D3 |
| 1 | TCAN3404DRQ1 | Leaf:SOIC8_Hand_Access__Hand | U3 |
| 1 | TMUX1511PWR | Leaf:TSSOP-14_4.4x5mm_P0.65mm__Factory | U6 |
| 1 | TPS3760A012DYYRQ1 | Leaf:TI_DYY0014A__Factory | U5 |
| 1 | UART / 3.3V LOGIC | Leaf:PinHeader_1x03_P2.54mm_Vertical__Hand | J3 |
| 1 | USBLC6-2SC6 / UART ESD | Leaf:SOT-23-6__Factory | U4 |
| 1 | VPWR | Leaf:TestPoint_3mm_Hole1.5mm | TP3 |

ahdrage/leafy
DIY Wi-Fi climate-control prototype for Nissan Leaf: KiCad PCB, ESP32-C3 firmware, Blender enclosure and build notes. Inspired by OVMS.

ahdrage/leafy
DIY Wi-Fi climate-control prototype for Nissan Leaf: KiCad PCB, ESP32-C3 firmware, Blender enclosure and build notes. Inspired by OVMS.

ahdrage/leafy
DIY Wi-Fi climate-control prototype for Nissan Leaf: KiCad PCB, ESP32-C3 firmware, Blender enclosure and build notes. Inspired by OVMS.

ahdrage/leafy
DIY Wi-Fi climate-control prototype for Nissan Leaf: KiCad PCB, ESP32-C3 firmware, Blender enclosure and build notes. Inspired by OVMS.


JaredGarza/Osiris_PDB_RevA
This repository contains the current KiCad 10 power distribution board project. Open OsirisPDBRevA.kicadpro to edit the schematic and PCB.

Atif6894/automotive-ble-can-pcb
A small 4-layer board that sits on a vehicle's 12/24 V harness, talks CAN FD through a TCAN4550-Q1, and exposes it over Bluetooth LE through a CC2340R5-Q1.

ThatguyCplus/throttleECU
STM32F411CE Throttle ECU — PID position control with AS5048A encoder, H-bridge motor, safety module


Tuskar-Marine/hardware
All tools for the Mermaid's Rest open sailing tools

magnus188/aegir
Open-source ESP32-P4 trimix analyzer prototype for technical diving,
It measures 100 × 100 mm and has 4 copper layers, 1.6 mm thick.
66 parts, built around the ESP32-C3-WROOM-02-N4, TCAN3404DRQ1, TPS3760A012DYYRQ1 and USBLC6-2SC6. 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 ahdrage/leafy repository on GitHub, at the commit this page was made from: the board is hardware/rev-g/exports/before-router.kicad_pcb and its schematic deliverables/leaf-heat-rev-a/leaf-heat-v1.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 ahdrage before reusing the design.