Hello everyone. so, i just started project to learn Magnetic Guide Sensor. i know i need to use RS485 from manual pdf for CCF-NS16-4M. But, until now, i still couldn't figure it out how to read the data from sensor to mega trough RS485. Is anyone know reference program code or tutorial to use it. i need it so much. thank you
Share links to your products and their data sheet
Posting in the wrong category
I moved your topic to an appropriate forum category.
In the future, please take some time to pick the forum category that best suits the subject of your topic. There is an "About the _____ category" topic at the top of each category that explains its purpose.
You should never post in the Uncategorised section.
It says so in the description of the section. Therefore I have moved your post here.
This is an important part of responsible forum usage, as explained in the "How to get the best out of this forum" guide. The guide contains a lot of other useful information. Please read it.
Thanks in advance for your cooperation.
You might want to look at this How to get the best out of this forum before you proceed any further. You had one chance to read this before you posted but you chose to ignore it. It is important that you read and understand it.
I'm sorry for my mistake. i appriciatee it
Search for "arduino rs-485" and see if you can find an adapter to interface between your Arduino and your sensor. Then the communications are just like any other serial communications.
i've tried it several times, modbus interface with rs485, but it seems doesn't work because i always end up with blank serial monitor. i was using Serial1 for the communication, and Serial for printing
You have failed to tell us that you already have the adapter.
So what sort of Arduino are you using?
RS485 is normally a half duplex circuit, that is at any one time it is either transmitting or receiving. So how have you wired your RS485 adapter to your sensor?
What software are you using to communicate down the RS485?
Did you read and understand that link I posted?
We can only know what you tell us.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.

