I am switching 5V relay with an Arduino Nano. When using USB cable as power source, everything works as it i supposed to. When using external source in form of batteries,(First I tried 9V battery, then 4xAA 1.5V batteries) when I switch relay, the voltage drops to 4.7 V from 5V pin to GND.Battery voltage at input stays at 6V. What might be causing this?
