Pages: 1 [2]   Go Down
Author Topic: HELP !! arduino solar panel battery and 2 motor servo  (Read 3005 times)
0 Members and 1 Guest are viewing this topic.
Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 548
Posts: 46042
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Printing serial data takes time. When you move the servo a small amount, print some data, move a small amount, etc. the moves don't happen as quickly as when you move the servo a small amount, move the servo a small amount, etc.

When the "move the servo a small amount" parts don't happen as quickly, the servo doesn't move as fast.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 21
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

oooh i see ..
is there any solution for this problem paulS ??
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 548
Posts: 46042
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
is there any solution for this problem paulS ??
What is the problem? If you want the servo to move fast, move in larger steps, and/or don't serial print between steps.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 21
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

oke thank you very much for your usefull comment paulS,
my problem is can i read the ldr value int the same time with servo movement??
is there any way to do both of them without unmark serial println for ldr?
Logged

Pages: 1 [2]   Go Up
Jump to: