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

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)

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)

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

It seems to me from a quick look at the datasheet that the thing you mention is just a sensor that needs another device (some form of motor) to make it turn. Or have I misread the spec - it wouldn't be the first time.

If I'm right what will make it sweep through 360 degrees?

...R

So I would like to just have the armature of the encoded "sensor" to move in the direction(s) I mentioned in my previous posting.

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!

Cheers!

Having looked again at the datasheet I'm amazed that it moves when you apply power to it. Be careful you don't damage it - it looks like it wasn't cheap.

...R

robin2

i agree with u, this data sheet is for an encoder only, no motor so it wont move when power is applied, that is till the smoke escapes.

Hi thebroman,
I have to agree with the others this is a very nice encoder, but it is not a motor!! and I'm sure will not turn under it's own steam, don't apply power to it you could damage it. There would be cheaper and easier ways to get a motor to turn just one rev, or sweep left then right, it just depends what you really want to do!! What is the end job? A stepper motor would be very good for this job, with good results... no need for fancy encoders, etc.. OK the driving is a little more complicated but you can even buy a cheap shield to do the job!

Give us some more info.

Regards

Mel.

This should deffo not move when power is applied to it , these are used to show position of something like a tool in automated systems where a controller can work out how far the tool has moved by counting the number of pulses coming back form the encoder! The channels A B and Z i think it is are feed back form the encoder to what ever controller is being used

Yea, you guys 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

Clearly you know more that we do ...

...R

thebroman:
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

Clearly I don't :blush:

Ok,

so its not a motor, its an optical encoder.
suggest you try a on line site to sell it,

So a motor needed, plenty on line, are you able to purchase ?

The change of direction question,
A motor can change direction instantly, if it has no weight.

The bigger the motor, the bigger the load, the harder it is for the motor to change direction quickly.
the harder it is to change direction, the stronger / bigger motor you need.

QED a bit of a compromise.

you might have to experiment with a few motors , or try to expand on the role, with a diagram and may be some one here can help.

The shaft will have a pulley wheel on it with a load of 5 to 7 lbs.
What do you suggest? I would like a shaft dia. bigger than the 5mm shafts I see flooded on the net.

P.S. Thank you for the cordial reply!

motors rated in torque,

which is load times distance,

so if you have a pulley with 3 inch radius ( 1/4 a foot ) , and a 8 lb load, thats 2 lb foot. ( 8 * 1/4)

(some one please check, sorry if thats wrong, I'm metric, inches, feet and pounds are a bit allien )

now if you use gearing , that all changes, but with a pulley direct on the motor, then thats what you need.