Yes, and when motors start moving, they briefly draw up to 10X the normal running current, often several Amperes (the start/stall current).
I have little doubt that the breadboard has been damaged, so move your motor circuitry to a solderable protoboard like this one, or use a motor driver with screw terminals for the motor and motor power supply.
Ohhh right, many thanks.
I actually have a smaller solderable protoboard but I didn't really wanted to solder anything before being sure that It works.
I followed your advice, and while the original issue seems to have disappeared, a new problem has emerged—or perhaps an existing one was just uncovered. The Arduino now appears to be restarting roughly every minute. I added a print statement in the setup() function to confirm my suspicion, and sure enough, it keeps getting called, which indicates the Arduino is resetting. That doesn't really make sense, right? It seems like it's losing and regaining power. But why would that be happening?
I've tested the pump in water beforehand and it was working well. Since I don't really like having water close to the Arduino, I was testing it dry. I didn't think that would affect the pump's behavior, but I tried it again in water and it's running perfectly. I really don't know why that is, but thank you! Can I just ask one or two more things I'd like to add to my system for you to take a look at?
Those pumps use the water as a lubricant and to cool the motor. Without the water the pump may sieze up and stop working but if you have a separate supply for the pump it should not affect the Uno.
1.Now, I'm supplying the pump with and external source because I was unsure that the arduino could suply the pump with enough current, so my question would be if I shoud keep the external source that is currently on and power the arduino with the same source through the VCC pin or if could suply the pump from the 5V pin of the arduino and just power the arduino with the "normal power supply"
2. I would like to add a DHT11 to read the temperature and moisture of the air and have an LCD to show all of that (I've already got both )and this is the schematic for it. Is it correct? I'm asking this because I want to design a custom PCB to solder all in without having the cables lying around.
You must supply the pump with an external supply.
If you power the Uno from the same supply it must be a well regulated 5V supply and you should connect a 0.1uF and 100uF capacitor directly between Vcc and GND. Do not connect anything to the USB.
Is it correct?
Have no idea because it just shows a bunch of connectors.
I highly recommend you prototype everything first before you make a PCB
There are many tutorials available for connecting LCD and DHT
Connect the 0.1 uF and 100 uF to filter the low and high frequencies I suppose? And while that I cant connect the usb because I can damage the PC right? (thats what i read i think)