Motorshield and wall power supply.

Hello Arduino folks!

I have a quick question about my motorshield. I want to connect my servo to my arduino and give it maximum voltage which seem to be around 6 volts. The arduino itself is not able to give it 6 volts so I need to use my motorshield.
Here's the question:
If i plug in a wall power supply to my arduino with around 9 volts is it possible to give the servo that same voltage(or lower) or do I still have to plug in another powersupply in the motorshields Vin and GND to power the servo with voltage above the arduinos standard 5volts?

I Hope you understand what trying to explain, thank you!

Read this, and then decide how you can power things

Power
The Arduino Motor Shield must be powered only by an external power supply. Because the L298 IC mounted on the shield has two separate power connections, one for the logic and one for the motor supply driver. The required motor current often exceeds the maximum USB current rating.

External (non-USB) power can come either from an AC-to-DC adapter (wall-wart) or battery. The adapter can be connected by plugging a 2.1mm center-positive plug into the Arduino's board power jack on which the motor shield is mounted or by connecting the wires that lead the power supply to the Vin and GND screw terminals, taking care to respect the polarities.

To avoid possible damage to the Arduino board on which the shield is mounted, we reccomend using an external power supply that provides a voltage between 7 and 12V. If your motor require more than 9V we recommend that you separate the power lines of the shield and the Arduino board on which the shield is mounted. This is possible by cutting the "Vin Connect" jumper placed on the back side of the shield. The absolute limit for the Vin at the screw terminals is 18V.

The power pins are as follows:

Vin on the screw terminal block, is the input voltage to the motor connected to the shield. An external power supply connected to this pin also provide power to the Arduino board on which is mounted. By cutting the "Vin Connect" jumper you make this a dedicated power line for the motor.

GND Ground on the screw terminal block.

Sounds like you want 2 supplies and need to cut the Vin jumper on the bottom of the shield?

If the servo is rated for 6 volts, you want to use 6 volts, not 9.

Go look for a six volt switchmode power supply.

Frankly, a 5V switchmode supply rated at a few amps will probably power the servo just as well.

Thanks guys! I understand that the motorshield can use the power from the DC power plug in the arduino!

I dont think you need a motor shield. Have a look at the attached schematic.
The coloring is mostly:

  • ctrl: Yellow or white
  • +: red
  • GND: black or brown

Most servos exept Airtronics have the +lead in the middle.