Arduino Forum

Community => Gigs and Collaborations => Topic started by: sinan on Mar 16, 2019, 10:30 pm

Title: Constant low speed
Post by: sinan on Mar 16, 2019, 10:30 pm
Hello, I am Turkish. I'm sorry for English. I need to rotate the Nema 17 engine at a constant speed. The speed should be clocked. For example, 5 rpm. Is there any code that can help?
Title: Re: Constant low speed
Post by: mugambi on Mar 16, 2019, 10:34 pm
Sample code from the stepper library will help you. If you need further help let me know. I will charge though.
Title: Re: Constant low speed
Post by: sinan on Mar 16, 2019, 10:44 pm
Sample code from the stepper library will help you. If you need further help let me know. I will charge though.
Hello. What is the name of the sample code?
Thanks.
Title: Re: Constant low speed
Post by: mugambi on Mar 16, 2019, 11:45 pm
Arduino ide-examples .. Stepper..
Title: Re: Constant low speed
Post by: sinan on Mar 17, 2019, 09:42 pm
Arduino ide-examples .. Stepper..
I tried all the samples in this library. I don't have a tool to measure rpm. Can I make the speed both low and constant with the NE555?
Title: Re: Constant low speed
Post by: cedarlakeinstruments on Mar 18, 2019, 02:42 am
I tried all the samples in this library. I don't have a tool to measure rpm. Can I make the speed both low and constant with the NE555?
If you can't measure RPM, how were you planning on verifying that it works in the first place?
Title: Re: Constant low speed
Post by: sinan on Mar 18, 2019, 09:55 am
If you can't measure RPM, how were you planning on verifying that it works in the first place?
That's why I need a code that gives me the rpm that I'm sure is correct.
Title: Re: Constant low speed
Post by: cloxart on Mar 18, 2019, 10:36 am
You can easily use the arduino itself to measure the time of rotation
Title: Re: Constant low speed
Post by: cedarlakeinstruments on Mar 18, 2019, 01:00 pm
You can easily use the arduino itself to measure the time of rotation
Based on the responses, clearly nothing will be easy for him.
Title: Re: Constant low speed
Post by: cloxart on Mar 18, 2019, 02:46 pm
Based on the responses, clearly nothing will be easy for him.
Then he should be ready to pay someone lol
Title: Re: Constant low speed
Post by: sinan on Mar 18, 2019, 07:55 pm
Then he should be ready to pay someone lol
I'm ready to pay.I'll use this code for ball clock.I'll make a clock like the following link.
https://www.youtube.com/watch?v=jkgpthZlBmY&t=0s&list=LL1EKuoRBFkTp3Cgcw97tZ6g&index=57
Title: Re: Constant low speed
Post by: patduino on Mar 18, 2019, 10:49 pm
Do you have the motor and driver yet?  See my PM for options if you're still looking.
Title: Re: Constant low speed
Post by: cedarlakeinstruments on Mar 19, 2019, 11:38 am
sinan:
If you're building a clock, the standard method is to use a synchronous motor like this one (https://www.ebay.com/i/173754882161?chn=ps). Give it a 12VAC signal (from a transformer) and it will rotate all day at a very accurate 5RPM. No arduino needed.
Title: Re: Constant low speed
Post by: cloxart on Mar 20, 2019, 09:55 am
As my nickname and picture here shows, building wooden clocks is one of my hobbies... In this case I strongly agree with cedarlakeinstruments, a synchronous motor is the best and simplest solution. A stepper motor will be noisy and at each single step will tend to "shake" the gears. Only thing, you should not use a "CW/CCW" motor. "CW/CCW" means that when you power it up it can start rotating in any direction at random. Look for one that has only CW or CCW in the specs, depending on the direction you want it to rotate.