Subject:
|
Extra power supply?
|
Newsgroups:
|
lugnet.robotics.handyboard
|
Date:
|
Tue, 4 Feb 1997 22:48:00 GMT
|
Original-From:
|
Tahdah! <IRAC@stopspamEARLHAM.EDU>
|
Viewed:
|
1433 times
|
| |
| |
I can't seem to locate the 'how to add a second power supply for a servo'
information. I know I read it once, but now that I want to go back and use it
of course I can't find it. (duh) Can anyone point me in that direction?
Also I could use any coding suggestions on this subject;
I connected one servo up with a mercury switch on the servo- the program
tries to balance the switch (maybe in the future balance a robot.)
Right now the code watches the switches and moves the servo in the opposite
direction if the mercury stays at one end too long. As the time spent at
once end increases it increases the speed at which it turns the servo. ONce
the mercury trades ends it backs up a percentage of the speed that it was
going (to compensate) and then starts the process over. The problem so
far is that the code doesn't try and maximize the time when both switches
are off (mercury perfectly balance.) I am trying to come up with a simple
elegant way to maximize this time. If anyone is interested in the code let
me know.
-Ira
|
|
1 Message in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|