No I didn't connect any external voltage sources. The black box was just to give servo motor a heavy base, so that it doesn't fall back.
Servo Motor is used to rotate the Ultrasonic Sensor to both the sides (left and right).Please refer to the video.
Gather Your (Internet Of) Things
I have stated them in the post above.Please refer to that.
Internet of Things Class
Thank you :)
Smart Traffic Light SystemView Instructable »
Robot Tools and Materials
Wearable Electronics Class
Conclusion & Going Further
IoT Christmas tree using Arduino/WiFI Shield
Christmas Present Mystery Enhancement With Motion-Detecting Noismaker
The Palm Piano