tlc5940 and hs422

Hi,
I'm trying to move hs422 from 0 angle to 180 using TLC5940 with Arduino, but it does not move to far ends, when I use the library:

tlc_setServo(14, 0);
Tlc.update();
delay(1000);

tlc_setServo(14, 180);
Tlc.update();
delay(1000);

I searched forum but found people talking of same problem, but no answer I could use.

Please let me know what to do, I'm using standard servo example of Arduino IDE with tlc5940. Will appreciate it greatly!

Are you sure your servo is capable of 180 degree turns?
Not every servo goes that far.

Benji:
Are you sure your servo is capable of 180 degree turns?
Not every servo goes that far.

Yes, absolutely sure. I have another servo controller (SSC-32 of Lynxmotion) and also I used general servo lib of Arduino, all ok with servos. When I searched the forum I found other post where the writer mentioned of this problem with hs422, but no solution there (it was not the central topic). I think the problem is with the way the init. func. is defined in the TLC lib, but I'm not sure. Hope someone knows it :slight_smile:

Have you tried playing with the constants in tlc_servos.h? Looks like there's quite a bit of latitude for adjusting to particular servo models.

-- Gordon