Hello Everyone.
I have a project to make an automatic valve using optocoupler as tachometer sensor and motor servo via Arduino Nano. I have some problem like how to made motor servo rotated manually if the tachometer reads below 1000 rpm and stop rotating if the tachometer reads at 1000 rpm.
Please Help
Thank You for your Time
Welcome to the forum
Please post the full sketch that you have problems with, using code tags when you do, and describe the problems
How is your project, particularly the servo, powered ?
sketch_jun25a.ino (938 Bytes)
I[quote="UKHeliBob, post:2, topic:1006153, full:true"]
Welcome to the forum
Please post the full sketch that you have problems with, using code tags when you do, and describe the problems
How is your project, particularly the servo, powered ?
[/quote]
I just made the sketch for the RPM sensor for the rotation. But i dont know how to attach my servo with the sketch. Yes the motor servo is powered. I hope i can make the servo to spin and stop automatically according to RPM sensor. I am still new about this
Please post it here, using code tags when you do
Have you looked at and run the Servo Sweep example sketch ?
OK, it is powered, but where does it get its power from ? Where are the servo power and GND leads connected to ?
I am using my phone charger to power up arduino including the servo
Please be more specific
Have you looked at the Sweep example ?
yes i have look about sweep. But i cant make the if condition
What if condition are you talking about ?
Remember, you can see your code but we can't
Hi,
Can you tell us exactly what your project is, a servo that turns if under 1000rpm "manually" and stops at 1000rpm, what happens at 1001rpm or higher?
I think what you are trying ot say is.
If RPM <1000 then you have manual control of a servo. (How? Via a control knob or other circuit?)
If RPM > or = 1000 then the servo cannot be adjusted manually.
Getting control to stop at exactly 1000RPM is a very hard thing to do in the real world.
Tom....
![]()
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.