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
ZacckOsiemo3w 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
accur4te3w ago
okay , I will update this thread in an hour
accur4te
accur4te3w ago
GitHub
GitHub - vedantjadhav44/flowmeter_data_extraction
Contribute to vedantjadhav44/flowmeter_data_extraction development by creating an account on GitHub.
accur4te
accur4te3w ago
code repo - hey i have updated the post with github repo
ZacckOsiemo
ZacckOsiemo3w ago
Cool someone with Arduino insight should be able to help.
Surfskidude
Surfskidude3w 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
accur4te3w 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
More Posts
Qt vs. Flutter: Which Framework is Right for Your Embedded Project?Choosing between Qt and Flutter for embedded project development depends on specific project needs: how do I use the requests library to send data to an HTTP endpoint in MicroPython on an ESP8266?Hello guys, how do I use the requests library to send data to an HTTP endpoint in MicroPython on an Why Isn't the Touch Screen Working on My Qt Application Deployed to BeagleBone Black?@Middleware & OS Hello guys I configured a Qt development environment to develop applications for Aworking on a project which involes esp32 works as an Audio source, connects to BluetoothHello everyone, I'm working on a project which involes esp32 works as an Audio source, connects to Comparing ISR Handling in FreeRTOS, ChibiOS, and CooCox CoOS for ARM Cortex-M Projects?Hey guys, I'm evaluating open-source RTOS options for an ARM Cortex-M project. While FreeRTOS, ChibHow to Safely Flash USBMIDIKLIK Bootloader on a Mega Using an Uno on Linux Mint?Good morning guys 👋🏻👋🏻 I'm diving into a project for a USB MIDI controller with a Mega (interfacIs the Built-In TCP/IP Stack in GPRS Modules Redundant for Embedded Linux, or Are There Benefits?Good day everyone, I'm exploring GPRS modules for embedded Linux. Many vendors offer modules with buAny guides for compiling OpenCV on resource-constrained ARM Cortex-A7?Hey guys, I'm working on an image processing application for an embedded Linux system using an ARM-bHow to Implement PID Control on STM32F4 to Maintain 1500 RPM for an ECU?Hey guys, working on a project in which I have used STM32F4 to control an old ECU (which intended tohow are local variables declared within the ISR handled?Hi @Middleware & OS , When using FreeRTOS each thread has its own stack space it is dedicated to. S