Example boards · built from one sentence

STM32 CAN-bus sensor node

“12 V CAN-bus sensor node: STM32G0, CAN transceiver, 3.3 V buck and a screw terminal”

A sensor node for a 12 V CAN bus: an STM32G0B1 with an SN65HVD230 transceiver, a 3.3 V buck converter, a protected power input and one screw terminal that carries both power and the bus. The kind of board that goes into a machine, a vehicle or a building controller, designed here from one sentence.

Top view of the STM32 CAN-bus sensor node, as KiCad renders it
Copper layers
2
Board size
50 × 50 mm
Parts
44
Connections routed
87 of 87
DRC errors
0
Unconnected items
0

What came out of the sentence

  • A KiCad schematic with stock library symbols and footprints
  • A placed and routed KiCad board: every net connected, zero design-rule errors
  • A bill of materials matched to Mouser and LCSC listings, priced at your quantity
  • Gerbers, drill files and the CPL (pick and place) for JLCPCB, released because the board passed Koppar’s checks

Sign in with Google or your email. Opening a sample is free and does not use a design; your first three designs are on us.

What this STM32 CAN-bus sensor node PCB is for

Design notes

How the STM32 CAN-bus sensor node PCB is put together, part by part.

Protected 12 V input

An SS36 Schottky in series blocks a reversed supply, an SMBJ24A TVS clamps transients, and an LMR51430 synchronous buck (4.5 V to 36 V in) makes the 3.3 V rail.

CAN physical layer

An SN65HVD230 3.3 V transceiver, a common-mode choke on CANH and CANL, a PESD2CAN ESD diode at the terminal, and a 120 Ω terminator behind solder jumper JP1.

Power and bus on one connector

A four-way screw terminal carries +12 V, ground, CANH and CANL, so a node daisy-chains on one cable.

Storage, expansion and programming

A W25Q32 32-Mbit SPI flash for buffering readings, a four-pin I²C header with 4.7 kΩ pull-ups for external sensors, an SWD header, a reset button and a status LED.

Schematic

The KiCad schematic, with stock library symbols. Open full size

Schematic of the STM32 CAN-bus sensor node

Both sides of the board

Top of the STM32 CAN-bus sensor node
Top
Bottom of the STM32 CAN-bus sensor node
Bottom

From schematic to Gerbers

What one sentence produced for this STM32 CAN-bus sensor node PCB, and what you take to a board house.

Schematic to PCB

The KiCad schematic, with stock library symbols and footprints, and the placed and routed board come from the same sentence: 87 connections on 2 copper layers, 50 × 50 mm, every net routed.

Design-rule clean before release

Koppar releases a board only when every net is connected, the KiCad design-rule check finds no errors, power traces are sized for the current they carry and every part has a footprint. This one: 0 DRC errors, 0 unconnected items.

Gerbers and assembly files

Gerbers and Excellon drill files, the CPL (pick and place) JLCPCB asks for, an assembly BOM with LCSC part numbers and IPC-2581: ready for a board house or an assembly service.

BOM with live pricing

27 lines matched to Mouser and LCSC listings, $10.16 of parts for one board at the last check. The studio re-prices them for your quantity and flags anything out of stock.

Bill of materials

27 lines matched to Mouser and LCSC listings: $10.16 of parts for one board. Prices and stock as of the last check; the studio refreshes them for your quantity.

RefsQtyValuePartSourceStockUnit
C1, C2, C3, C5, C6, C7, C87100nF0603CC0603KRX7R9BB104YAGEOLCSCC1466331.9M$0.011
C41100nF 50V X7R0603CC0603KRX7R9BB104YAGEOLCSCC1466331.9M$0.011
C91GRM31CR71H106KA12L 10uF 50V X7R1206CL31A106KBHNNNESamsung Electro-MechanicsLCSCC135852.3M$0.255
C101100nF 16V0603CC0603KRX7R9BB104YAGEOLCSCC1466331.9M$0.011
C11, C122GRM32ER71A476KE15L 47uF 10V X7R1210GRM32ER61C476KE15LMurata ElectronicsLCSCC7710188,293$0.21
C13110nF06030603B103K500NTFH (Guangdong Fenghua Advanced Tech)LCSCC571125.5M$0.01
D11SMBJ24ADSMBJ24ADOWOLCSCC2840111,593$0.042
D21SS36 3A 60VDSS36Shandong Jingdao MicroelectronicsLCSCC11671264,787$0.035
D31PESD2CAN,215SOT-23-3no orderable part identity
D41GREEN0805KT-0805GHubei KENTO ElecLCSCC22972.7M$0.016
J11POWER_CANTerminalBlock39531-0004MolexMouser538-39531-00041,525$0.85
J21SWDPinHeader254PZ-1x5P-VLXWCONNLCSCC530556753,918$0.017
J31I2C_EXPANSIONPinHeaderPZ2.54-1X4P-H25JXTCONNLCSCC4243178715,138$0.021
JP11CAN_TERM_ENABLESolderJumper-2not sourced
L11XAL7030-682ME 6.8uHLCD73-6R8M 6.8UHDMBJLCSCC282667932$0.049
L21CAN_CMCLunparseable value
R11100k06030603WAF1003T5EUNI-ROYAL(Uniroyal Elec)LCSCC2580319.4M$0.003
R2122.1k0603RCA0322K1FLFHKR(Hong Kong Resistors)LCSCC22369889123K$0.001
R3, R8, R9310k06030603WAF1002T5EUNI-ROYAL(Uniroyal Elec)LCSCC2580431.2M$0.002
R41120R06030603WAF1200T5EUNI-ROYAL(Uniroyal Elec)LCSCC227872.1M$0.002
R5, R624.7k06030603WAF4701T5EUNI-ROYAL(Uniroyal Elec)LCSCC2316218.7M$0.003
R711k06030603WAF1001T5EUNI-ROYAL(Uniroyal Elec)LCSCC2119023.3M$0.003
SW11RESETSWB3S-1000Omron ElectronicsLCSCC27336555,865$0.362
U11STM32G0B1KBT6LQFP-32STM32G0B1KBT6STMicroelectronicsLCSCC5270165243$4.90
U21SN65HVD230SOIC-8SN65HVD230DRTexas InstrumentsLCSCC12084183.4K$0.571
U31LMR51430SOT-23-6LMR51430XDDCRTexas InstrumentsLCSCC51858638,375$0.789
U41W25Q32JVSSSOIC-8W25Q32JVSSIQWinbond ElecLCSCC17917318,185$1.70

Files

Released because the board passed Koppar’s checks: every net connected, zero design-rule errors, power traces sized for their current. Sign up to download them or open the project in the studio.

Questions about the STM32 CAN-bus sensor node PCB

Does it support CAN FD?

The STM32G0B1 has FDCAN controllers, but the SN65HVD230 is specified for classic CAN up to 1 Mbit/s. For CAN FD, ask for an FD-rated transceiver when you describe your board.

How do I terminate the bus?

Close solder jumper JP1 on the two nodes at the ends of the bus: it connects the 120 Ω resistor across CANH and CANL. Leave it open on every node in between.

What supply voltage does it take?

It is built for a 12 V bus. The LMR51430 accepts 4.5 V to 36 V, but the SMBJ24A starts to conduct above its 24 V stand-off, so keep the supply under 24 V.

Can I manufacture this STM32 CAN-bus sensor node PCB?

Yes. The Gerbers, drill files, CPL (pick and place) and an assembly BOM with LCSC part numbers were released with the board. Open it in the studio to download them and send them to a board house, with or without assembly.

Can I edit it in KiCad?

Yes. The schematic and the board are standard KiCad files with stock library symbols and footprints. Download the project from the studio, or describe a change there and Koppar designs the new version.

What do the parts cost?

$10.16 for one board at the last price check, 27 lines from Mouser and LCSC. Prices fall with quantity; the studio re-prices the BOM for yours and flags anything out of stock.

More boards from one sentence