I am just getting started with ESP32 development for HA. What frameworks do people use? I have VSCode loaded with C++ extensions and platformIO. I have programmed C++ professionally for over 30 yrs. My first project is to control 4 12 vDC motors through 2 Toshiba motor drivers. I think that I will have to write a HA integration. Are there some examples that I can learn from?
Firstly, basic ESPHome do not requires programming knowledge: an ESPHome project is a “meta” descriptive configuration file with a YAML syntax.
ESPHome will then generate the actual C++ code at compilation time.
Secondly, you shouldn’t need to write an HA integration, either. The api: integration from ESPHome generates the code to integrate with HA basic entities.
I initially considered a L298N, but learned that it is very inefficient and generates a lot of heat. I am considering a Toshiba TB67H400A now, which uses logic MOSFETs.