We usually power a breadboard with a 9v battery to build temporary circuits.
But when we want to connect a Breadboard with an Arduino we must use the Arduino’s power supply for the proper working of sensor’s or components being used with Arduino
The Base circuit is taken from the examples for Arduino namely ‘Breadboard‘.
This link takes you to the Circuit
Click on the’Simulate‘ button to see the working.
To Power the sensors we must use the Arduino’s Power supply to attain proper functioning of the Sensors