https://www.electrodragon.com/product/esp32-can-rs-485-wire-interface-shield/

Main functions:

  • general load switching - high-side-driver-dat
    • current driving capability is ~ 36V 5A
  • RS485 communication
  • CAN communication

Used ESP32-DevKitC Pins

  • CAN UART
    • IO23 = CAN0_TX
    • IO22 = CAN0_RX
  • UART1
    • IO17 = TXD1
    • IO16 = RXD1
  • UART0 (default used by USB-TTL bridge chip)
    • TXD0 = TXD0
    • RXD0 = RXD0
  • IO33 = Power_ADC
  • IO5 = LED

  • general load switching
  • please note one chip is not soldering default in case you don't need two to save cost
  • try IO12 or IO19
  • VBAT pin up to 36V, and OUTA or OUTB will be on/off when you digitalWrite it high or low
    • IO12 = CTRL1
    • IO19 = CTRL2
    • IO13 = STATUS1
    • IO18 = STATUS2

Schematic of peripherals

Dimension and pin definitions

  • Red pins for power supply
  • blue pins for serial interfaces
  • green pins IO22/IO23 for CAN BUS
  • the rest green pins and orange pins for power switch controls

  • back side selector for UART-0-main or UART1-alternative

removing tips

  • use a small driver to leverage in the between carefully

power supply

demo

https://www.youtube.com/shorts/TeaZ1xKcAqg

ref