Worm motor 12vdc w encoder need simple arduino uno shield to driver


If this is what you have, I'm most sure you can follow the black and white image I showed earlier.
Black to GND
Blue to 5V or VIN
Yellow to one digital pin
Green to another digital pin

So the red and white go to your motor driver. You set the speed and direction of the motor by sending the right signals to your motor driver. That depends completely on what kind of driver you have. Usually you send digital LOW to one pin and a PWM to another pin. The PWM determins the speed. Switch the LOW and PWM pins to make the motor go in the other direction. All this has nothing to do with the four other wires. Those you need to keep count of how much the motor has rotated. You create the logic for that in your program. Although I bet there are libraries for that.

Your ratio is 20/60. So when your small pulley makes 60 turns, the big plate makes 20 turns. 3 turns to 1 turn.

Looking at this:


...it seems there are two Hall sensors next to the motor axis. I bet you get one pulse per revolution of the motor axis. Somewhere was mentioned 20 pulses per revolution. That would be the shaft, after a 1:20 ratio of the worm gear. So 3 revolutions means 60 pulses, and one revolution on the big plate. 60 pulses, 360 degrees on the big plate. 1 pulse is 6 degrees. Your 26 evenly distributed openings would be 360/26 or 13.85 degrees per opening. With 30 openings you would get 12 degrees or 2 pulses per opening. Just saying.

I might have calculated something wrong. And I'm not sure about the worm gear ratio.

Johan
I ordered the stepper motor through
Amazon no instructions no schematic no diagram nothing.

Due to the low elevation of the case I need this to work in we now need to convert a horizontal to vertical axis on a one to one ratio.

One of my biggest hurdles is finding a stepper motor, a one to one gear ratio and an Arduino compatible shield/driver.

No one seems to know a pair, a fitting pair;
which driver which motor.

It’s always find the motor then try to match it with the driver.

Is there somewhere/somehow and this is my question (not a carry just to help) is there a way to find a stepper motor and a driver that ate Arduino compatible?

An answer to that question would help me a lot.

Dave

You want the disk to turn exactly 1/26th of a turn. + or - how much? 0.001 inch at the disk rim? How firmly must it be held there for the next operation, which is? Why not tell us exactly what your project will do?

It delivers material to a pick up point. It stays at 12 o’clock for maximum 1 min.

The error I have calculated w calculus and if we use 30 .001 is within tolerance
Dave

So you have the DC motor with the encoder, similar to the one in the image I posted. And you have ordered a stepper motor from Amazon. Are you abandoning the DC motor and switching to a stepper motor instead?

I have no idea, but you could try this.

Ok big design change.appreciate any thoughts on this direct drive Stepper motor . Instead of using a belt pulley system the stepper motor ( or THOUGHTS ON A BETTER ALTERNATIVE MOTOR) will be affixed to bottom 3D plastic flange fixed between (3 1/2 “ space) another Top flange both press fit self lubricating bushings 15 mm height OD 12 mm ID 8 mm on 8 mm shaft 11.5 inch circular disc traveling around like record player and triggered to stop via QR Scanner (Arduino compatible). I’m sure there is a startup lag and stopping lag that we need to calculate in order to have correct QR. material arrive at 12 o’clock position accurately with a margin of error 1/4” either side.

Any thoughts, motor/ driver combo? Best Arduino compatible scanner, lag times Etc appreciated!!

DCR

Ps
Current model: /two-trees-17hs4401s-nema-17-geared-stepper-motor-gear-ratio-5-18-1-planetary-gearbox-for-3-d-printer-diy-cnc-robotics/

Lot # 20210519

Model# 17HS4401S

Why do you have a steppermotor? To rotate a given amount of steps?
Why do you have QR codes? To stop at the right angle?

  1. stepper or worm gear or? Motor to turn to precision location
  2. QR needed to:
    A) verify correct material
    B) if feasible search for inputted code scan disc then upon matching desired code stop motor at desired location

we can determine exact angle and location of each opening via the math and diagram below -please his comment on BEST EASIEST direct drive motor that is precise and stops “on a mm”

Our design includes QR scanner to identify sought after material and click motor to off.

Tx
dave

By abandoning the belt drive you lose precision and torque. You have to gain it back by choosing a more expensive motor.

But I think you really have to focus on the mechanism and not the motor. Decide how you build it according to what it is supposed to do, what you are able to build (your assets, tools, skills), then find a motor. It could be a stepper motor, it could be the DC motor with the encoder, it could be a wiper motor or window lift motor from a car.

Your diagram might be correct, but it looks over complicated. I'd just go by designing it by heart. A 12" plate. 26 slots. That's 13.85 degrees per slot. I'd draw a few radii on the plate, 13.85 degrees from each other, then I'd place the tube holes on them, considering how far from the edge they should be and how near each other they can be. I might want m equal to y. I bet d is some predetermined value.

[edit]

Or I could have some fun with LibreOffice Calc. With the Goal Seek I did this:


I decided the tube diameter would be 1" (B1).
In B2 I have the value of r, the radius of the inner circle, along which the tubes are placed, according to your drawing.
In B3 I have a formula, which calculates the difference between m and y.
With the Goal Seek I search for a value for B2, where B3 becomes zero.

As a school assignment, I would have to solve that analytically. But that was 40 years ago and life is too short. And LibreOffice is great.

Here's how that looked like in Inkscape, when I placed two 1" circles on a 12" circle, at the 5.23" radius and 13.85 degrees apart:


The small rectangles were there just to verify that m equals y.

Inkscape is great, too.

Thanks for your input. One big issue in the design is the limited space 3.5 inches height to fit a motor 3:1 pulley ratio , belt and most accurate motor w least stopping lag if any) .

Would stepper be fit that design limitations.

Txs much appreciated
DCR

If you are using a 200 step motor (1.8° per step) and 13:10 sprocket ratio (10 sprocket on motor), 10 motor steps would be 1/26 turn on disc.

Latest question:

We are using 3-4 different Arduino compatible shields to run
.1) stepper motor
2) QR/BAR code scanner
3) GSM /SIM CATD holder / driver

My understanding is only the main Arduino microprocessor need be programmed, however I had a employee inform me shields ALSO NEED PROGRAMMING??

Please confir or deny that claim ?
I appreciate your help
DCR

How on earth could we possibly know unless and until you cite the Web links for each of the "shields" to which you are referring? :face_with_raised_eyebrow:

here: http://www.sparkfun.com/commerce/product_info.php?products_id=9607

However nonspecific my question was IN GENERAL, USUALLY, MOST OFTEN,… do shields like a GRB OR STEPPER MOTOR DHIELD NEED TO BE PROGRAMMED ? In GENERAL.?

My thought was the shield/driver was a hardware device that allowed wiring then sent signals to the MAIN ARDUINO MICROPROCESSOR and that microprocessor was programmed ?

Sorry but I’m a new hen in the Arduino henhouse and a reply without hierarchical dominance would be appreciated.

| JCA34F
May 9 |

  • | - |

If you are using a 200 step motor (1.8° per step) and 13:10 sprocket ratio (10 sprocket on motor), 10 motor steps would be 1/26 turn on disc.

Tggjjkkkkk

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.