When I connect an ESP01 WiFi module and water pump in a parallel circuit to an Arduino Uno's 5 V pin, the ESP01 stops working.
The ESP01's built-in LED starts blinking chaotically and the serial monitor outputs trash logs like these:
Note that I don't connect the ESP01 to WiFi: I just power it on and observe its behavior, so the ESP-01 shouldn't consume peak voltage and current.
Water pump parameters:
Voltage: 3-5 V DC
Current: 100-200 mA
Voltage: 3 V to 3.6 V
Current: 70-170 mA
Arduino Uno parameters connected via USB to my laptop:
Voltage: 5 V
Current: 500 mA
I know that an ESP01 shouldn't operate on 5 V and that a voltage regulator should be used, but I omitted it for test purposes and example simplicity.