opendps
opendps copied to clipboard
Add MPPT, Original CC/CV, Reduce ADC Jitter and fix LCD freeze on DPS5020
Hi, Please find a pull request for the following changes:
- Apply the LCD freeze workaround to the DPS5020 model.
- Reduce jitter by using ADC oversampling
Oops, sorry - the pull request was only supposed to be for the first 2 commits. The rest are entirely optional, but CC/CV makes the unit behave much more like the original :)
I can confirm its working, flashed on dps5020 v2.6. nO BUGS yet. I build from your master branch and i wonder how you would use mppt? Any documentation? Its a bad decision to start in mppt mode! Couldnt we set cc/cv mode as default instead? I created pull request to your fork!
Hi @art103,
Does your re-implementation of the cc/cv mode work with control over serial?
Hi @art103,
Does your re-implementation of the cc/cv mode work with control over serial?
It was a long time ago and I haven't tried it, but looking back through the code changes, I think it should...
I can confirm its working, flashed on dps5020 v2.6. nO BUGS yet. I build from your master branch and i wonder how you would use mppt? Any documentation? Its a bad decision to start in mppt mode! Couldnt we set cc/cv mode as default instead? I created pull request to your fork!
Sorry - it's been a while! I agree that for normal use cases, starting in MPPT is a bad idea. For my use case, the unit would power down when there was no solar input, and I wanted it to come up in MPPT mode. I ended up modifying one of my units to have HW controlled PWM based on Input Voltage instead of Output Current. This allows much better (and faster) MPPT control targeting a particular solar panel voltage after doing a MPPT sweep.