powering a promini, distance sensor, and micro servo?


Can I use a 9v power supply to power the following: promini sharp distance sensor (5v) micro servo (5v)

I don't need to have the motion sensor and servo powered simultaneously. At the moment I have all three splitting off from one 9volt line. I'm wondering if I should have the promini powering the sharp sensor instead, and shut the sensor down every time I want to run the servo.