How can I use the Arduino to read the data from a Draw-wire displacement sensor

I have a draw-wire displacement sensor , like thishttps://www.youtube.com/watch?v=WbISZV1-my8.

I need my windows computer know the distance of the draw-wire displacement sensor in real-time.

I want to make something like this Multi-touch X-ray viewer of new Caterpillar excavator using AMD FirePro W9000 + Ventuz software - YouTube.

So I want to use the Arduino to read the data of draw-wire displacement sensor. And then send the data to computer in real-time.

But I don't how to use the Arduino to read data. How to compute the data. How to wiring。How convert the data.

So can you give me some advice.
thank you.

Post a link to the datasheet for the sensor you want to use.

…R

Here is one but it is very general: https://www.micro-epsilon.com/download/products/cat--wireSENSOR--en-us.pdf

These come with a variety of sensor options: rotary encoder / pulses per unit length / potentiometer etc. etc.

I'd check the prices before going too far. These look remarkably expensive.

Hi,
Welcome to the forum.

Please read the first post in any forum entitled how to use this forum.
http://forum.arduino.cc/index.php/topic,148850.0.html

What is the application that you want to use a draw wire unit?
Your Youtube link goes to a rather large X-Ray machine.

Thanks.. Tom... :slight_smile:

6v6gt:
Here is one but it is very general: https://www.micro-epsilon.com/download/products/cat--wireSENSOR--en-us.pdf

These come with a variety of sensor options: rotary encoder / pulses per unit length / potentiometer etc. etc.

I'd check the prices before going too far. These look remarkably expensive.

thank you so much.

I do not care about the price of the price.

My truly problem is I do not know how combine Arduino and seniors.

I want to use the Arduino to get the data from draw-wire displacement sensor.

Arduino is the only Single Chip Micyoco that I know.

Can you give me some instructions or tutorials?

My truly problem is I do not know how combine Arduino and seniors.

Our problem is that without an exact knowledge of the sensor you are using we can’t tell you how to wire it up and how to send the data to your computer.

Assuming you send a number to your computer over the serial port do you know how you will handle it at the computer end?

Arduino and seniors.

:smiley:

Jeremy_Zh:
My truly problem is I do not know how combine Arduino and seniors.

[…]

Can you give me some instructions or tutorials?

Did you read Reply #1 which was posted 6 days ago?

…R

Here's one page that tells something:

This is probably an incremental encoder. Connect A to one Arduino input pin and B to another. Connect GND to Arduino GND. Then reading A and B you can figure out how much the wire has pulled. I bet the best way would be to connect A or B or both to interrupt routines, which increment or decrement a global variable.

Grumpy_Mike:
Our problem is that without an exact knowledge of the sensor you are using we can’t tell you how to wire it up and how to send the data to your computer.

Assuming you send a number to your computer over the serial port do you know how you will handle it at the computer end?

thank you.
I want to use this one:
https://world.taobao.com/item/37558556577.htm

Or you can recommend a sensor.

Thanks but it is not that helpful I don't read Chinese. It seems their are three models, one with an open collector output, one with a push/pull output and one with a line driver. You need to know which one you have to know how to connect it up.

After that it looks like you have a pulsed data output with up to 5 different scales of output giving different mm per pulse sensitivity. I have no idea what determines what you have.

Also there are two quadrature outputs to tell you the direction. This is just like a rotary encoder and there are lots of examples of how to read those. Like this one:-
https://playground.arduino.cc/Main/RotaryEncoders

Looking at the datasheet I'd answer:

@#~€~€#~€€, €·$&%&/%&(/&%(&%/@#~€@#~€¬#~€¬#€~@€¬¬, ¬@~@#€#~€, "!·$/)/()/(), @#~€%&//(@#~€~€#~€€, €#~€¬#€~@€¬¬, ¬@~@#€#~€, "!·$/)#~€¬·"$%·$%€@€#4%&/((&/()/(), @#~€%&//(@#~€~€#~€€, €#~€¬#€~@€¬¬, ¬@~@#€#~€, "!·$/)/()/(), @#~€%&//(@#~€~€#~€€, €#~€¬#€~@€¬¬, ¬@~@#€#~€, "!·$/)/()/(), @#~€%&//(

But, having in mind that Mike has sent such a polite post, I'd limit to say that I've looking for similar sensor and found some of them connected to a multiturn potentiometer.
Depending on the service you intend for the sensor you have to choose one of another.
Regards.