raspberry pi can bus hat
CANopy README.md
3.4 kB
Markdown
at main

CANopy #

the main schematic the branch schematic

The canonical repo for this is hosted on tangled over at dunkirk.sh/CANopy

BOM #

Name Purpose Quantity Total Cost (USD) Distributor
2×20 40-pin stacking female header 15-16mm pin length to clear Pi 5 active cooler, hand solder 1 $9.90 Amazon
10kΩ 0603 MCP2518FD RESET pull-up and MCP2562FD STBY pull-down, PCBA 100 $0.18 LCSC
1kΩ 0603 EEPROM write-protect pull-up to 3.3V, PCBA 100 $0.16 LCSC
3.9kΩ 0603 EEPROM SDA/SCL pull-ups to 3.3V, PCBA 100 $0.16 LCSC
120Ω 0603 CAN bus termination resistors, one per channel, PCBA 100 $0.09 LCSC
10µF 0805 Bulk caps for 3.3V and 5V rails, PCBA 20 $0.43 LCSC
1µF 0603 X5R Decoupling caps for all ICs, PCBA 100 $0.56 LCSC
15EDGRC-3.5-02P (plug & header) PCB-side right-angle pluggable terminal block, 3.5mm pitch, 2-pin, hand solder 10 $3.21 LCSC
AT24C32D-SSHM-T 32Kbit I2C EEPROM for HAT ID, SOIC-8, hand solder 5 $1.48 LCSC
OVETGLJANF-40MHZ 40MHz active oscillator, 3.3V, SMD5032-4P, hand solder 11 $6.14 LCSC
MCP2562FDT-E/SN CAN FD transceiver with VIO pin, SOIC-8, hand solder 11 $12.87 LCSC
MCP2518FDT-H/SL CAN FD SPI controller, SOIC-14, hand solder 11 $27.07 LCSC

For use with the SystemCore the RSL can be emulated via the following

# pseudocode
gpio = /sys/class/gpio/gpioXX/value
while True:
  enabled = read("/sys/kernel/can_heartbeat/enabledro")
  gpio.write(enabled)
  # add blink pattern logic for disabled state
  sleep(0.05)

todo #

© 2026-present Kieran Klukas