Hardware: ESP32 DevKit V1 - dalathegreat/Battery-Emulator GitHub Wiki

ESP32 DevKit V1 hardware compatible with Battery-Emulator

The ESP32 DevKit V1 hardware can be used with Battery-Emulator, and has the following advantages:

  • 25 configurable GPIO pins, allowing the following features simultaneously:
    • 2x CAN
    • 1x CANFD (or 2 BMW I3 wakeup pins)
    • Emergency Stop Button
    • Inverter enable connection
    • Inverter allows contactor closing LED
    • 3x contactor pins for negative, pre-charge and positive contactors

Overview of features

Power

  • Power via USB
  • Supply voltage (+6.5VDC - +16VDC), if used with ESP32 DevKit V1 breakout board.

[!WARNING]
USB connection and simultaneous external power may not be supported. Ensure to disconnect the external power before connecting USB.

Communication

  • 1 x CAN channel using Texas Instruments SN65HVD230 breakout board
  • 1 x CAN channel using Microchip Technology MCP2515 breakout board
  • 1 x CAN-FD channel using Microchip Technology MCP2518FD breakout board
  • 1 x RS485 using Analog Devices MAX485 breakout board

Status LEDs

  • 1 x logic power indicator (Red)
  • 1 x output status indicator (Blue: GPIO 2), used to indicate if the inverter allows contactor closing.

Headers

  • 2 x 15 pins

Physical control / Interaction

  • 1 x micro USB OR USB-C power and data connector
  • 1 x BOOT button
  • 1 x EN button

Hardware connections

The pins to be used for the different breakout boards are defined in hw_devkit.h

Flashing settings

Set the following options in the top of the Arduino IDE, Tools section.

image

Make sure that HW_DEVKIT is set in the USER_SETTINGS.h file.

Where can I get one?

Google ESP32 DevKit V1 and you should be able to find plenty of resellers.

Google ESP32 DevKit breakout board, to also buy the breakout board. The DevKit and breakout board can sometimes also be purchased as a set.

References: