It depends how big your battery is!· I assume you are talking about a BOEBot?· If so, then the answer is yes, you can power the Stamp and the two servos off the same 4 AA batteries.·
I have found that the best set up is to use one 9V transistor battery to power the Stamp and sensors; and 4 to 6 AA batteries to power the servos.
You need to make sure that you tie both battery grounds (-) together when using multiple batteries.
Also note that the voltage of a AA battery is different depending on they type of AA battery... A typical Duracell or Energizer alkaline battery·is 1.5 volts, where as a rechargeable NiMH battery is 1.2 volts.
Comments
I have found that the best set up is to use one 9V transistor battery to power the Stamp and sensors; and 4 to 6 AA batteries to power the servos.
You need to make sure that you tie both battery grounds (-) together when using multiple batteries.
Also note that the voltage of a AA battery is different depending on they type of AA battery... A typical Duracell or Energizer alkaline battery·is 1.5 volts, where as a rechargeable NiMH battery is 1.2 volts.