Hi,
I am using Arduino mega 2560 and I need your help because I am using multiple devices which are connected to a breadboard.
Devices name:-
IR sensor x2
Ultrasonic sensor
Servo motor x2
TTP223 x2
10 8mm LEDs ( but are connected to analog pins )
Motor driver ( L298N which is plugged in digital and analog pins)
Buzzer
Receiver of flysky Ct6b
Whenever I try to connect my breadboard with Arduino 5v pin the Arduino shuts down and nothing happens.
Post a schematic of your project so we can better understand how you supply power to these modules.
At first it looks like you are supplying power from the arduino.
Remember that the arduino is not a power supply.
It can supply only a few mAs.
If you follow the instructions given and draw (with a dark pen on a blank sheet of printer paper and upload the photo) the schematic, showing what your power sources and loads are we can address your issue. Otherwise , I don't know how you expect us to help you...
From the way it sounds maybe the Op should order a few new Arduinos before the Op does the schematic as I think the Arduino will be fried by then. As many times as I have posted "A Power Supply the Arduino is NOT!" and as others the op has not bothered to check this forum or has followed the guidelines. Also he would have posted links to technical information on the hardware items that gave us technical information on them.
Powers from Arduino board may not be enough for multiple sensors/devices, especially for motors. It is better to use an extra power for motors. The wiring is like below: