-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Operate Multiple Servos #5
Comments
Perhaps I can give you a hand.. I've used it and it works just great... |
Oh, Thanks !!!! I'm using GPIO 4,5,6,7 Arduino Mega, yeah its in all servos, based on the example "MoveList, i just would like move the servos smoothly based on a list of movements, maybe two list and flip the other two servos. |
ok.. try 8,9,10,11
I had that issue a while back.
and does it happends on all servos?
…On Mon, Oct 15, 2018 at 2:26 PM KidMustard ***@***.***> wrote:
Perhaps I can give you a hand.. I've used it and it works just great...
at what point does the jitter start and is it on all servos??
and which GPIO's are you using?
I'm using GPIO 4,5,6,7 Arduino Mega
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACnJC9Wu1y9SvtH51KobhhwSxjfioqOcks5ulP2KgaJpZM4XdJr1>
.
|
also what type of power supply are you using?..
On Mon, Oct 15, 2018 at 2:30 PM Marcelo Pekermann <totibross@gmail.com>
wrote:
… ok.. try 8,9,10,11
I had that issue a while back.
and does it happends on all servos?
On Mon, Oct 15, 2018 at 2:26 PM KidMustard ***@***.***>
wrote:
> Perhaps I can give you a hand.. I've used it and it works just great...
> at what point does the jitter start and is it on all servos??
> and which GPIO's are you using?
>
> I'm using GPIO 4,5,6,7 Arduino Mega
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <#5 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ACnJC9Wu1y9SvtH51KobhhwSxjfioqOcks5ulP2KgaJpZM4XdJr1>
> .
>
|
Yeah ! #include <Servo.h> /* Servo setup */ const int servo1Pin = 8; Servo ring1,ring2,ring3,ring4; ServoEaser ring1Easer, ring2Easer, ring3Easer, ring4Easer; ServoMove movesList1[] = { void setup() { Serial.begin(19200); ring1.attach(servo1Pin); ring1Easer.begin(ring1, servoFrameMillis); //ring1Easer.useMicroseconds(true); } void loop() { } |
Cotek GE-25-05 (5V) 5A |
try this code.. is based pretty much on the same function
let me know what you think
…On Mon, Oct 15, 2018 at 2:33 PM KidMustard ***@***.***> wrote:
ok.. try 8,9,10,11 I had that issue a while back. and does it happends on
all servos?
… <#m_3020145682435326210_>
On Mon, Oct 15, 2018 at 2:26 PM KidMustard ***@***.***> wrote: Perhaps I
can give you a hand.. I've used it and it works just great... at what point
does the jitter start and is it on all servos?? and which GPIO's are you
using? I'm using GPIO 4,5,6,7 Arduino Mega — You are receiving this because
you commented. Reply to this email directly, view it on GitHub <#5
(comment)
<#5 (comment)>>,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACnJC9Wu1y9SvtH51KobhhwSxjfioqOcks5ulP2KgaJpZM4XdJr1
.
Yeah !
Here its my Code
#include <Servo.h>
#include "ServoEaser.h"
/* Servo setup */
int servoFrameMillis = 20;
const int servo1Pin = 8;
const int servo2Pin = 9;
const int servo3Pin = 10;
const int servo4Pin = 11;
Servo ring1,ring2,ring3,ring4;
ServoEaser ring1Easer, ring2Easer, ring3Easer, ring4Easer;
ServoMove movesList1[] = {
{ 10, 15000},
{170, 15000},
{ 10, 15000},
{170, 15000},
{ 90, 15000},
{ 90, 15000}, // 90
{135, 15000},
{ 45, 15000},
{135, 15000},
};
int movesCount = 9;
ServoMove* ring1Moves = movesList1;
void setup() {
Serial.begin(19200);
ring1.attach(servo1Pin);
ring2.attach(servo2Pin);
ring3.attach(servo3Pin);
ring4.attach(servo4Pin);
ring1Easer.begin(ring1, servoFrameMillis);
ring2Easer.begin(ring2, servoFrameMillis);
ring2Easer.setFlipped(true);
//ring3Easer.begin(ring3, servoFrameMillis);
//ring4Easer.begin(ring4, servoFrameMillis);
//ring1Easer.useMicroseconds(true);
ring1Easer.play( ring1Moves, movesCount);
//ring2Easer.play( ring1Moves, movesCount);
}
void loop() {
ring1Easer.update();
ring2Easer.update();
}
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACnJC8EEOKkB-gH46_xFy5Dcdqkw0KPBks5ulP8VgaJpZM4XdJr1>
.
|
@Totibross sorry, wich code ? Hahah I don't see nothing |
ohh .. attached a zip file but it didn't work..
whats your email address
…On Mon, Oct 15, 2018 at 3:38 PM KidMustard ***@***.***> wrote:
@Totibross <https://github.com/Totibross> sorry, wich code ? Hahah I
don't see nothing
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACnJC_4Ufznu9yDNrVAxRYyTxdhWt1jrks5ulQ5TgaJpZM4XdJr1>
.
|
@Totibross noyd.null@gmail.com, thanks for your help and your time I appreciate that |
I believe this is solved with PR #9 |
Hi ! How are you? I'm trying use your library with multiple servos (actually are 4), but i'm getting some trouble because in sometimes it begins to jittering any suggestion ?
The text was updated successfully, but these errors were encountered: