Tell us about yourself!
Hello, I built this exact circuit and am running it on an Arduino Uno with a distance sensor as well. When I check the current flowing through a single motor with a multimeter, it peaks at about 80mA for the given script and upwards of 160mA with continuous use. Won't this damage the Arduino? I read the maximum recommended current through a digital pin is only 40 mA. If I add more resistance, the motors won't turn. Any input?