Skip to content

Getting Started

OpenDTU-OnBattery supports the ESP32 family of microcontrollers. ESP32-S3 chips are preferred.

Flash Memory

Due to the growing size of the firmware images, ESP32(-S3) boards with a minimum of 8 MB of flash memory are required in order to utilize over-the-air firmware updates. Most ESP32 boards provide only 4 MB of flash memory.

Depending on the inverter to be addressed, different RF modules are required.

  • The HM series requires the NRF24L01+ module
  • The HMS/HMT series requires the CMT2300A module

Please see the inverter overview to see if your inverter is supported and to determine the required RF module.

For an easy start, acquire an OpenDTU Fusion board.

Steps to build your own DTU

Use of GPIOs

In general, ESP32 chips allow to use any function on any GPIO pin. There are a few restrictions, which are documented at the respective ESP32(-S3) DevKit subpages. Freely wire the logic pins between your ESP32(-S3) module and peripheral components. The important bit is to create and use a matching device profile.

  1. Determine the RF module(s) you need.
  2. Get an ESP32-S3 board.
  3. Use a power suppy with 5 V and 1 A. The USB cable connected to your PC/Notebook may be powerful enough or may be not. Also the quality of the used USB cable might have an impact.
  4. Wire the ESP32-S3 to the RF module(s).
  5. Wire a display (optional).
  6. Flash the firmware via USB.
  7. Create, upload, and select a matching device profile which describes your hardware (or look at a profile first and connect the logic pins accordingly).