opensolarproject / OSPController

ESP32 Smart Solar Charger - the Open Solar Project
https://github.com/opensolarproject/OSPController/wiki
254 stars 26 forks source link

Connection of ESP32 unclear #2

Open labroid opened 5 years ago

labroid commented 5 years ago

Great project! Unfortunately, I was unable to gather how the ESP32 is connected to the converter. You mention for labeled pins on the converter, but not how they connect to the ESP32. It would be great to have a sentence on that.

While I'm here, I am an EE with power conversion experience and I agree this is an MPPT despite comments from others. It seems you achieve MPPT because you are controlling for input peak, and output regulation suffers - which is a fine approach if the load can tolerate it. I'd like to throw my support into the hack-a-day comments and first would like to better understand the connection to the converter, and also to confirm what you are controlling (by the code it seems you are changing the load current) Is there an API to the converter UART you can point us to? Thanks!

labroid commented 5 years ago

Saw your Amazon comment and found the control library. To make it easy for others: https://benjames.io/2018/06/29/secret-uart-on-chinese-dcdc-converters/ is the article, and the library is at https://github.com/bengineer19/BuckPSU

t413 commented 4 years ago

Re, connections: I'll get right on that and will post about it here!

Re, links: Nice job finding the DC-DC things. 😊 You can also find it in the about page in the wiki.

I had some issues with that library and wrote my own, it's pretty simple and modular if you'd like to use it elsewhere. Here's where it is in the code.

labroid commented 4 years ago

Excellent. Many thanks!

On Thu, Nov 14, 2019 at 11:23 PM t413 notifications@github.com wrote:

Nice job finding the links there. 😊 You can also find it in the about page in the wiki https://github.com/opensolarproject/OSPController/wiki/About#supplying-the-power .

I had some issues with that library and wrote my own, it's pretty simple and modular if you'd like to use it elsewhere. Here's where it is in the code https://github.com/opensolarproject/OSPController/blob/master/lib/MPPTLib/utils.h .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/opensolarproject/OSPController/issues/2?email_source=notifications&email_token=AAJOQT6WVS7YPDJOIQXGUMLQTYP5PA5CNFSM4JJCWVJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEEIGUY#issuecomment-554206035, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJOQTZ2MOM66HTYFIY7S4LQTYP5PANCNFSM4JJCWVJQ .

mrstuff commented 4 years ago

Have all parts and even uploaded the platformio of this project. I have been trying at this for ages and I just cant be sure what pins the uart gets on the esp32s, would love a clear labeling. I have a nodemcu-32s Much appreciated

austrisv commented 4 years ago

On my esp32 devkitc this did work psu | esp32 R | 16 T | 17 G | gnd V | not connected

mrstuff commented 4 years ago

thanks much !