-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Esp8266 power pins #8
Comments
Hey, |
Thank you |
Apology for delayed follow up from my end. didn't had time to re-visit on this last week. so on esphome project, it appears 12v positive pin was not connected. and no logic converter was used. (esp8266 is powered by other source). it only used rs232 to ttl converter and directly connected PowMr to ESP32 (in our case esp8266). I tried the same setup, and i found no activity on the serial communication. Maybe im missing something here, or maybe serial communication need to be "turned on" on the inverter. or Indeed a logic converter is needed on the PowMr side in addition to RS232<->TTL converter as my original question. Bit off topic, but just fyi, My inverter is POW-HVM55.k-48v-N. I also tried using a USB-to-RJ45-Cable-for-RS232 and tried to read it using a windows laptop directly. I did not detect any data on serial port either, the adapter cable on the usb end got supper hot! |
The inverter will only respond to a valid modbus frame request. You can also use some kind of external software to request data from inverter as long as you can send a valid modbus request via rs232 interface. |
Thanks for following up. unfortunately im still stuck. So at this point im trying to get some (any) response from the inverter. your main.cpp is large. as it has many features. I strip it down to a hello world type would you please have a quick look and let me know if you spot that i have missed anything.
As mentioned the goal is to "get some response". and maybe print out data array. i tried that with esp8266 as well as a D1 Mini. in both case, always get "Node not success" I tried two Max3232 board from the same packet. i can't say for certain that they are good. so there is that. Here is the setup. As mentioned its a POW-HVM55.k-48v-N inverter. |
The code looks valid. Take a look here: You might want to send QPI command and see if you get any response. |
I contacted to powmr support. they confirmed it is modbus. |
It's really hard to diagnose what is the issue, You might want to check this project for your inverter as well: |
Hi thank you for this great project.
i just want to clarify the hardware part little bit. you mentioned
But what about v & ground pins? As i understand V pin (blue) on the RJ45 is 12v. have you used a step down circuit to make it compatible with esp8266? Also for the TX/RX do we need a logic converter?
Thanks again.
The text was updated successfully, but these errors were encountered: