-
Notifications
You must be signed in to change notification settings - Fork 21
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
"Received nan" almost for all commands #50
Comments
On HA I can see only Controller Temperature, RSSI and Uptime |
I'll answer by myself - RX/TX was swapped between RS232 and M5 |
Try to reverse Rx and tx pins
…On Thu, Aug 15, 2024, 05:58 korishan ***@***.***> wrote:
I'll answer by myself - RX/TX was swapped between RS232 and M5
I'm getting this too. When you say swapped, do you mean on the left side
of this chip??
powmr_esp32_connection.png (view on web)
<https://github.com/user-attachments/assets/5bd9e8a8-955a-4ab9-ab0d-697218d86079>
Is this pinout diagram correct, or you had them soldered backwards?
—
Reply to this email directly, view it on GitHub
<#50 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA72A237JZ4EPIGEAQH2QYTZRQKMXAVCNFSM6AAAAABKDEWC5CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJQGQ2DQMJXGI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I've done that several times on the TTL/ESP32 side. nothing changed. I was wondering if the TTL/Inverter side that might need to be flipped |
Also very interesting, I use POW-HVM3.2K-24V and also get "unknown" for almost all values. I changed the wires, changed the TTL-RS converter. |
Has anyone managed to get anything? I'm in the same situation and I can't get it to communicate no matter what I do. |
I had same issue, but it was caused by uart-ttl module. if you soldered rx-tx wires from bottom side -- resolder on top, or vise versa. I noticed that on some modules VCC and GND pads are connected through the pcb, but rx and tx not. |
I am using the same converter and the same face as in the example photo, I am using the same face for input and output because I knew that in these converters the two faces are different channels but not that one was connected and the other was not. |
I have exactly visually the same as on photo, but it was not working with bottom soldering. after resoldering rx/tx to top pads it works like a charm :) |
I changed to a completely different adapter and it still didn't work, but I found another project that did work: https://github.com/syssi/esphome-smg-ii So I understand that it communicates in a different way than this project uses Thank you very much for trying to help. |
Can you help me to figure out the issue, please?
Invertor: POW-HVM6.2M
Microcontroller: M5 Atom lite + RS232->ttl
GPIO22+GPIO19
Config as in the example
this is the part of the log
The text was updated successfully, but these errors were encountered: