-
Notifications
You must be signed in to change notification settings - Fork 269
Hardware: ESP32 DevKit V1
Warning
The Devkit is for advanced users that are OK with troubleshooting wiring and complex software setups. For easy use of Battery-Emulator, consider using LilyGo or Stark CMR
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
- 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.
- 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 MAX13487E breakout board
- 1 x logic power indicator (Red)
- 1 x output status indicator (Blue: GPIO 2), used to indicate if the inverter allows contactor closing.
- 2 x 15 pins
- 1 x micro USB OR USB-C power and data connector
- 1 x
BOOTbutton - 1 x
ENbutton
The pins to be used for the different breakout boards are defined in hw_devkit.h
Set the following options in the top of the Arduino IDE, Tools section.

Make sure that HW_DEVKIT is set in the USER_SETTINGS.h file.
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.
- Hardware documentation: lastminuteengineers.com