All,
I want to convert two 90 degrees apart square waves into a analog signal.
Here is the data sheet over the part:
Any idea how to do this?
All,
I want to convert two 90 degrees apart square waves into a analog signal.
Here is the data sheet over the part:
Any idea how to do this?
0 volts is an analog signal and is easily available at the pin marked GND.
What is it you really want to do?
By the way, the outputs are square if and only if the capstan rotates at a constant rotational velocity.
The device is a standard quadrature encoder and its output can be read using two pins on the Arduino.
Once you have that output, you could convert it into an analog signal, but not very accurately.
So its better to just used arduino to read the digital input instead of converting it?
Any suggestion how to read the digital input, how to convert it to anything human can understand?
Would this work without loosing accuracy?
That datasheet is for different models . Which model do you have ? Post a photo of the Model name plate of your unit.
I got the EP-10
I don't see the pinout for the connector.
This came with it:
Would this work without loosing accuracy?
Yes, but you must be absolutely certain that the output voltages do not exceed 5V (for a 5V Arduino).
I don't see EP-10 in the data sheet you linked. What is the complete model name?
Yes, but you must be absolutely certain that the output voltages do not exceed 5V (for a 5V Arduino).
I think the Vin for the device is also 5V.
If your intention is to feed the analog into the Arduino don't bother. Simply feed one channel of the encoder into a digital input of the Arduino (with appropriate voltage divider if necessary) then use the modulo function to generate ticks at, say .1 second intervals and count pulses between ticks then do a bit of arithmetic to get RPM, RPS or whatever. If you need direction information look at the other channel also. Its pulses will be 90 degrees leading or lagging and you infer the direction by whether it is leading or lagging.
Hi,
What is the application?
What do you want to do with the output of the encoder.
Is it to be used as an input to some sort of machine or do you just want to display speed?
Tom... ![]()
I'm going to measure pipe yielding. I just want raw data and I calculate the movement.
I'm going to measure pipe yielding. I just want raw data and I calculate the movement.
Although you are measuring something that's analog, your sensor/encoder is putting-out a digital signal.
If you are going to use an Arduino (or computer, or anything digital) there's no probably reason to convert to analog.
For example, [u]digital calipers[/u] measure real-world "analog" dimensions, but the measurement is immediately digitized and it's never converted to analog.
If REALLY want some kind of analog output, you'll need a digital-to-analog converter. (The basic Arduino has an analog-to-digital converter, but it does not have a digital-to-analog converter.)
Hi,
So do you want position or speed data?
Tom.. ![]()
Just position