Draw wire sensor

hello, may I ask for your help in making the Arduino code for the Draw Wire Displacement sensor, I don't have a datasheet but on this website there is a description of the sensor specifications. http://www.miransensor.com/english/cpzx/1633_367.html. has anyone ever tried this sensor or anyone understand?

Well it looks like an interesting product but there is nearly zero useful information on that site. It seems to have an RS485 electrical interface but there is nothing about the data protocol which is what is needed to interface it. From the limited information it appears to use a magnetic angle sensor internally - may be similar to these:

I suggest that you ask the supplier for the detailed protocol spec for the interface and if they can't supply it then forget about using it.

What is your application? There could be better ways to approach it.

1 Like

I'd never buy a sensor that does not come with Arduino library and example code.

This has some info: Shenzhen Miran Technology Co., Ltd., English website,linear position sensor,Displacement sensor for injection molding machine

image

Not having the sensor myself will make it difficult to advise. But their website has a chat service; have you tried that and asking for a datasheet / user manual?

I found no datasheet. There is no mention of its output type. Without knowing the output type, it's not possible to write an Arduino code.

Maybe if you posted some clear, closeup pictures of all the letters and numbers we could help find a datasheet. Like this:

The nice lady offers to chat - did you try her?

ask her for a datasheet, or a description of the output protocol(s).

It says it does analogue outputs - 0-5V; 0-10V; 4-20mA - and RS485 digital:

Not clear if all 4 are available from each unit, or if it's 4 different models - I would suspect the latter.

Do you know which model you have?

If it's a voltage output one, then it's simply a matter of measuring the voltage.

4-20mA is a very common industrial interface - a quick google should soon find you details & examples.

For the digital version, as already mentioned, you would need to know the protocol.

EDIT:

It does, indeed, seem that it's 4 different models:

So look at what's written on your unit to find which one you have!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.