Getting Started
Ready to Use
If you can afford it and assembling the parts from scratch is not utterly important to you, you are encouraged to acquire an OpenDTU Fusion board. It integrates both types of RF modules together with one of the more powerful supported microcontrollers onto a single ready-to-use board.
Parts
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.
Please see the inverter overview to see if your inverter is supported and to determine the required RF module.
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.
- Determine the RF module(s) you need.
- Get an ESP32-S3 board.
- Use a power supply with 5 V and 1 A. The USB cable connected to your PC or laptop may or may not provide sufficient power. Also the quality of the USB cable in use might have an impact.
- Wire the ESP32-S3 to the RF module(s).
- Wire a display (optional).
- Flash the firmware via USB.
- Create, upload, and select a matching device profile which describes your hardware (or look at a profile first and connect the logic pins accordingly).