Pages: [1]   Go Down
Author Topic: NewSoftSerial & servo jitter  (Read 427 times)
0 Members and 1 Guest are viewing this topic.
Ādaži, Latvia
Offline Offline
Newbie
*
Karma: 0
Posts: 33
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,

Have anybody expierienced servo jitter using NewSoftSerial?
When a byte comes in servo jerks a bit ...

NSS pins = NewSoftSerial wrtserial(2, 4);
Servo on = const int servoPin = 9;
Normal servo lib = #include <Servo.h>

Any ideas?

Janis
Logged

Phoenix, Arizona USA
Offline Offline
Faraday Member
**
Karma: 41
Posts: 5611
Where's the beer?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,

Have anybody expierienced servo jitter using NewSoftSerial?
When a byte comes in servo jerks a bit ...

NSS pins = NewSoftSerial wrtserial(2, 4);
Servo on = const int servoPin = 9;
Normal servo lib = #include <Servo.h>

Any ideas?

Janis

Here's an idea - look up at the top-right of the forum - see that search box? Type in "servo jitter" and press return. I guarantee that you will find information on this very problem. Here's another: Do the same on the old forum:

http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl

This is an issue that has been experienced by a lot of people in the past; I can't tell you if there is a real solution - but doing a bit of research before you ask about it may help.
Logged

I will not respond to Arduino help PM's from random forum users; if you have such a question, start a new topic thread.

Ādaži, Latvia
Offline Offline
Newbie
*
Karma: 0
Posts: 33
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank's for the lesson of good manners, kind Sir! smiley
I forgot that Google search is not indexing every post in old and new forums.

Solution was to use old servo library not conflicting with NSS interrupts.

Janis
Logged

Pages: [1]   Go Up
Jump to: