The Arduino UNO can control 12 servos using the Servo library. Use whatever digital output pins you like. Provide about 1 Amp of 4-6V power for each servo. When you write a position to the servo it will go there as fast as it can. If you want the servo to move slower you have to break the motion into many small motions and spread them out in time. See the "Servo->Sweep" example for that.
how can I code each servo motor to run in different positions?? or opposite rotations??
Describe the pattern in great detail.
Servo servo1;Servo servo2;Servo servo3;// then later you writeservo1.write(30);servo2.write(90);servo3.write(150);
we are using towerpro Sg90 servo for the fish movements.
Assuming the servos in this current thread are these ones mentioned in a different thread:... I'm very keen to see how servos will do that. I doubt if mimicking a fish's movement by discrete fins and stuff is simple to do.You will without doubt need to:
https://youtu.be/iMSLcQSwS3g we are referring for this one. We would like to try this movement
So your "fish" had better be tiny and just decorative, maybe flapping like a fish but not in water.