hoylabs / OpenDTU-OnBattery

Software for ESP32 to talk to Hoymiles/TSUN/Solenso Inverters, VE.Direct devices, battery management systems, and related peripherals
GNU General Public License v2.0
317 stars 66 forks source link

Alternative adjustable AC charger with MeanWell HLG-600H-54AB #598

Open Linos88 opened 10 months ago

Linos88 commented 10 months ago

Is your feature request related to a problem? Please describe.

Sorry, I didn't manage to create a request...

Describe the solution you'd like

First of all, I would like to thank all the developers for this project and the time they have invested. It fits perfectly into our time.

About the proposal: A popular power supply manufacturer offers an adjustable AC / DC power supply that can be used to charge batteries. This is available with different voltages and power. The identifier "AB" stands for I and V adjustable with potentiometer and 3in1 dimming function.

As an example for 48V LiFePO4 the MeanWell HLG-600H-54AB with an adjustable voltage of 45.9V - 56.7V and an adjustable power of 0W - 600W with a control voltage of 0-10V.

The control voltage could be generated by the Shelly Plus 0-10V Dimmer and receive its commands directly from OpenDTU_onBAT.

or alternatively

ESP32 with PWM 0-3.3V and a PWM digital-to-analog converter to 0-10V.

Describe alternatives you've considered

No response

Additional context

No response

DaBaBW commented 7 months ago

I like to use a HLG, too. For the adjustment it would be easier to simply PWM an optocoupler on the DIM port of the HLG. No need of 0-10V

fellpower commented 5 months ago

i have all that components - and here for testing, if the code is ready.