Motor, limit switches and a rotary angle sensor

Hi!
I am working on a motor, limit switches and a rotary angle sensor project.

My motor is maxon 139885
image

There are 2 limit switches on both sides - their task is to stop the motor when it presses. This means their positions.
image

Now there is a space between these positions. Meanwhile, the motor turns about 2 times.

For precise control, I would like to add a rotary angle sensor to the CJMCU-103 project. Is it possible?
image

He, as I understood from the documentation, is 360 degrees. Can it be canceled and run again?
The sensor inside spins endlessly there is no obstacle inside the sensor.

I need to get rid of the limit switches as much as possible. But I think 1 still remains for home position recognition

Give us the big picture, how is this supposed to be used, doing what?
So far it looks like a steppper motor would be better unless the motor turns a screw making a nut move.

Did you you consider to use a servo instead?

I see 0 to 333.3 degrees in the data sheet.

Hi,
What voltage motor?

Maxon dc motor 139885/Switzerland super strong geared motor / motor / Maxon hollow cup geared motor
Rotating speed:
24V- 470 rpm
12V- 235 rpm
6V-167 rpm
Working voltage: 12V
Straight diameter: 13mm
Total length: 45mm
Output shaft diameter: 3mm (double D cut surface)
Output shaft length: 11.3mm

How many revolutions of the motor are you wanting.
As @jim-p has pointed out, the angle sensor will only turn 333.3degrees and not in a full rotation.

Can you tell us your project application and post a diagram of how the hardware works?

Thanks.. Tom... :smiley: :+1: :coffee: :australia:

We are not considering a servo drive because it does not fit the project

yes sorry I rounded up the value

Now I use 12v, but in the future I plan to use 24v. Because the motor turns very slowly.

So is 333 good enough or do you actually need 360?

I haven't tried this sensor yet. So I assumed if it was possible to cancel the value and perform a second round.

There is a hole inside the sensor in which the motor shaft is located. You can spin endlessly, that is, there is nothing that would loop

Try connecting an ohmeter between GND and OUT and see how the value changes as you slowly rotate it

I'm developing a robot finger.
A worm shaft is attached to the motor shaft.
image

And the finger is a worm wheel.
image

When the finger is open, there is 1 limit switch, this is the starting position.
When the finger is closed, there are 2 limit switches, this is the closing position

Please tell me, do I have such a thing is it possible?
Where do I need to change the arrow?

To the GREEN number 20k

1 Like

Thanks! The value is in the range from 0 to 10, sometimes up to 12, and if you scroll the shaft again, the value will be reset to zero

As long as you can turn it all the way around several times, then you should be able to use it as a posiion sensor.

The rotary sensor you have looks to be one of these. What you have is a potentiometer, a 10K Ohm potentiometer. If you apply 5.0 volts to Vcc and Gnd the output voltage should vary between 0 volts and about 5 volts. Purely an analog output and the Vout should be proportional to shaft position. I would just rotate the pot slowly and see exactly what you get. Note position verse the Vout.

I would run the pot wiper (Vout) to an analog input on your Arduino or other A/D. Using for example an Arduino UNO has a 10 bit ADC so 0 to 5 volts analog in should result in a count of 0 to 1023.

Ron

1 Like

Hi,
Note with the angle sensor;

Rotation Angle – Electrical, Mechanical: 0Β° ~ 333.3Β°, Continuous

You will have continuous rotation, but only 333.3Β° of actual electrical angle output.

Tom.. :smiley: :+1: :coffee: :australia:

1 Like

How about a link to the data sheet for the motor you have? Using Google I am not seeing a decent link to a data sheet. I have no idea what sort of positional output it has. If the motor outputs a position signal then heck yes, it makes things easier but the positional sig out needs decoded whatever it is.

Ron

1 Like

Yes, you are right there is very little information on the Internet.
This is where I bought this motor:

Can we try it ourselves using the code?