July 28, 2009
i'm from germany and i'm trying to build my first Robot with the arduino Platform.
I've desided to build my own shild for the arduino.
It should be able to drive two motors and to connect 4 -5 servos to the arduino.
The first problems with the L293D Motordriver are solved and I've done that it works and avoids objects.
Today my servos arrived and i tested my shield with the servos.
and then the first problem:
the servo only work on Pin9 and 10. so i looked for the reason and recognized that in the servo lib of arduino its only possible to connect servos on 9 and 10. so i looked for another lib.. i found some=) but its not as easy as the standardlib.. http://www.arduino.cc/playground/ComponentLib/Servo
ok. and when I familiarized myself with the code the servo worked. but how long. now the arduino resets. probably because the servos need more recources.
My questin now is, if somebody now more concret why the µC resets and how its possible to connect 4 servos.
Pin 5,6,9,10 are reserved for the motors