unable to retrieve data from a rs485 based flowmeter

The flowmeter contains a atmega 16 chip and i am trying to get flowrate and flow totalizer from it via rs485 to ttl converter using a arduino nano data related to the rs485 signal and data registers - 0x4001 to 0x4003 ---> flow rate value 0x4004-->flow rate value unit 0x4005 to 0x4007 -->totalizer value 0x4008-->totalizer value unit first digit is data bits which is 8b Second digital is Parity which you select as N for None, E for Even, O for Odd Third digit is stop bite which you can select as 1 / 2 bits device id - 025 ide using - arduino ide the code ---->
No description
No description
7 Replies
ZacckOsiemo
ZacckOsiemo6mo ago
Could you please put this on gist or provide a repo on github. It's going to be impossible to get help from Images
accur4te
accur4teOP6mo ago
okay , I will update this thread in an hour
accur4te
accur4teOP6mo ago
GitHub
GitHub - vedantjadhav44/flowmeter_data_extraction
Contribute to vedantjadhav44/flowmeter_data_extraction development by creating an account on GitHub.
accur4te
accur4teOP6mo ago
code repo - hey i have updated the post with github repo
ZacckOsiemo
ZacckOsiemo6mo ago
Cool someone with Arduino insight should be able to help.
Surfskidude
Surfskidude6mo ago
With RS485, you need an RS485 Transceiver Module such as ANMBEST MAX485. You can check out the diagram on the following page, which explains how to use RS485 and Modbus with Xedge32: https://realtimelogic.com/ba/ESP32/source/RTU.html
accur4te
accur4teOP6mo ago
yup i am using that module , check out my GitHub repo it contains the code .
Want results from more Discord servers?
Add your server