DC 5-28 volt Encoder with Arduino Uno (Sweep) (Not a Servo)

Thread Starter

thebroman

Joined Sep 2, 2013
7
Hello Everyone, this is my first posting!

I'm a newbie trying to attach a 5-28 volt dc encoder with armature (If that is what its called in this case)
http://www.beisensors.com/pdfs/H25-optical-incremental_encoder.pdf

I just purchased the Arduino Uno in the hopes that I could make the armature sweep 360 degrees right then 360 degrees left with little to no pause.

I understand that for what I'm using it for that i would at least require 12volts dc and 100mA of current.

1. Is this task possible with the components mentioned above?
2. Can the voltage be applied to the UNO or is it connected directly onto the encoder pin out itself?
3. If the required motor voltage gets applied to the UNO then do I use the usb cable for UNO power too?
4. Is there any open source code available to command the UNO for such a task mentioned above?
5. What would the pinout allocations be from the UNO to the Encoder? (Encoder Pin options below)

Single Channel A
Dual Quad B
Dual w/index Z
Supply Voltage
Common ground
Case Ground
-A
-B
-Z
(Maybe not all the pin options are used, but I'm not sure)

summary:
So I would like to just have the armature of the encoded "sensor" to move in the direction(s) I mentioned above.

I have applied small voltage to the proper pins of the encoder/sensor and the armature moved just like a regular motor armature would, now I just need to control its movement(s)

I'm not moving anything else with it. If what I have is not made for what I need it to do, well, I am asking for help anyways. (even if the encoder/sensor/motor is not made for the task at hand)

I'm hoping someone will help me use the UNO to perform the task regardless.

Is it possible? If it is then I am all ears!

Well, Hope there is a brave UNO specialist out there willing to break this all down for a guy just starting out.
Cheers
 

MaxHeadRoom

Joined Jul 18, 2013
28,696
5. What would the pinout allocations be from the UNO to the Encoder? (Encoder Pin options below)

Single Channel A
Dual Quad B
Dual w/index Z
Supply Voltage
Common ground
Case Ground
-A
-B
-Z
(Maybe not all the pin options are used, but I'm not sure)

summary:
So I would like to just have the armature of the encoded "sensor" to move in the direction(s) I mentioned above.

I have applied small voltage to the proper pins of the encoder/sensor and the armature moved just like a regular motor armature would, now I just need to control its movement(s)
That is a standard single ended quadrature encoder.
I take it you want to interface with a micro? I have not used the Arduino so I am not sure how it compares to a PICmicro.
But in most cases, the single ended 5-28v variety are open collector.
You should be able to confirm it with the actual part No.
You obviously require power to the encoder and you don't have the option of differential out, so you are probably going to need A & B if you want direction indication, and if you require the once-per-rev marker, this is the Z out.
The output level will depend on what supply voltage you use for the encoder.
Max.
 

Thread Starter

thebroman

Joined Sep 2, 2013
7
I will buy a pic micro if it is easier to work with...
Its cheaper than arduino uno. what would the pic micro specs be then for the task I am trying to accomplish?
 

MaxHeadRoom

Joined Jul 18, 2013
28,696
I have applied small voltage to the proper pins of the encoder/sensor and the armature moved just like a regular motor armature would, now I just need to control its movement(s)
I am not sure of this sentence?
The encoder requires to be driven somehow?
What are you using to rotate it?
What is the voltage requirements of the version you have?
Can you use 5v?
Did you confirm which of the output configurations it has? O.C.? Line Driver? etc.
Max.
 

Thread Starter

thebroman

Joined Sep 2, 2013
7
your the only one in the forums willing to reply and so I first want to thank you for that!

I called BEI technologies and they said I have a motor with encoder built in. And that I could use a OL7272 IC in line driver to drive it.

What I need to relate to you is that all these terms are new to me and so some of my questions are not going to make any sense.

I'm glad to have contact with you and to go through some of the missing puzzle pieces in this project I am hoping to accomplish.

I just know that it can work because BEI said that it could, but I didn't want to spent tons of money for a controller to make it work.

Do I still have a chance of getting my idea to work? The voltage min/max for the encoder/motor is 5-28 volts dc

BEI say I need at least 12vdc @ 100mA to make do with my application requirements!

Hope this additional info helps. And thanks again for your help.
 
Last edited:

MaxHeadRoom

Joined Jul 18, 2013
28,696
I have worked with BEI encoders as in the link you posted and these show the standard Incremental optical encoder.
This type is the shaft type which normally require a coupling to the motor, as opposed to the through-hole type that fits over a shaft.
So I don't know where the motor comes in, unless your encoder is attached to it?
Do you have pic of your actual unit?
I would be interested in what form the motor takes?
These encoders are typically used to control servo motors with a PID type drive in order to obtain the satisfactory servo action.
Max.
 

MaxHeadRoom

Joined Jul 18, 2013
28,696
What is the actual part and model number off of yours?
And how many pin out?
Also I cannot find any mention on the BEI site of a motor including in the encoder?
Max.
 

Thread Starter

thebroman

Joined Sep 2, 2013
7
H25-SS-13NB-S3-CW-EM18
I got it from a friend in trade for something he needed, however the part number is worn out and I can't read it much at all.
 

MaxHeadRoom

Joined Jul 18, 2013
28,696
Well not of a heck of a lot closer!
All I gleaned from that is H25 series with sealed shaft and 13? CPR (sounds low?) and Has MS3102R18-1P 10 pin connector?
The M18 diagram shows a differential output, complements for the A,B,Z signals?
Does your friend have the original data on it?
Max.
 

Thread Starter

thebroman

Joined Sep 2, 2013
7
Yea, you are right, There was a motor attached to it at one point when I made the trade with a friend for something he needed from me. He showed me a test where I could see it work, but that was more than 6 months ago and He has since deceased.(R.I.P.) It is an expensive motor, not sure how expensive though. but now I don't have any use for it. I would be willing to trade it for something that I do need. At the time I was just doing a friend a favor and didn't know much about it. Now what?

I am looking for a motor that can handle fast forward and fast reverse motion with little to no pause between 360 degrees clockwise / 360 degrees counterclock wise movement continuously for the duration of power applied. The shaft will have a pulley wheel on it with a load of 5 to 7 lbs.

I will trade with somebody if they have something like this with the right setup I need.

But when I called BEI technologies, the guy said that I could use this as a motor and that a line driver IC OL7272 would work for what I needed to do (12dcvolts at a 100mA) Maybe I heard him wrong huh?

signed
Motorless in Michigan
 

MaxHeadRoom

Joined Jul 18, 2013
28,696
Maybe you heard that it can be used ON a motor?
When in your OP you were saying that you applied a small voltage to the encoder pins and the shaft moved is what really threw me!?
If you use a motor other than a stepper motor, you will need a servo motor with an encoder such as this to control via a PID loop if you want to precisely rotate so many degree's.
A DC servo will accept any of these kind of encoders, for BLDC (Brushless DC) you will need a motor with a encoder already mounted with commutation tracks already aligned.
A stepper is precise but operates open loop.
Max.
 

Thread Starter

thebroman

Joined Sep 2, 2013
7
Yea, My friend let me connect the wires so I could get some hands on experience, but my memory failed me when I was recollecting.

So a stepper motor it is cuz my application doesn't require any real preciseness.

Now I have to find something that meets my specs online or trade this encoder with someone who needs it.

Anyways, thanx for clarifying this stuff for me. I owe you one.
 
Top