reaper7/SDM_Energy_Meter

CRC ISSUE?

jayvdw13 opened this issue · 0 comments

i keep getting error 4 but i know for sure i have connected everything correctly.
04 00 06 00 02 91 CA 01 04 00 0C 00 02 B1 C8 01 04 00 46 00 02 90 1E 01 04 00 00 00 02 71 CB 01 04 00 06 00 02 91 CA 01 04 00 0C 00 02 B1 C8 01 04 00 46 00 02 90 1E 01 04 00 00 00 02 71 CB 01 04 00 06 00 02 91 CA 01 04 00 0C 00 02 B1 C8
this is the data that gets sent by the esp to the sdm i checked this using commix 1.4 and a usb-rs485 the only problem is that i dont get any response from the sdm.
when i disconnect the esp from the usb converter i can send data to the sdm directly i send this: 01 04 00 00 00 02 71 CB which is a voltage request. i get an immediate response but only when i turn of crc
image
here is a screenshot of the programm is use and the response i get.
image
and here is a screenshot of what happens when i enable crc again.
image
and this is what i get when i connect the esp again.
can anyone tell me what i am doing wrong
the esp i am using is a ESP32-WROVER-E and the converter that i use is a MAX485 TTL
Thanks in advance.