i am building a small arduino robot with two 360 servos because i dont want to use a motor driver, i built a power supply with a 18650 and a buck converter, the supply should output 5v with 1.5 amp.
when i connect supply to arduino its working, when i connect the servos + to the same power supply and servo minus to another ground on arduino it starts working but then halts the arduino turns off.
If you use 5v power source - you can't connect it to VIN pin. Please consult to board manual - minimal input voltage for VIN is 6.5-7v
Use "5v" pin instead.