You care creating a brown-out condition... a voltage dip on the arduino poswer source... this causes it to reset. You likely don't have a powerful enough power source or you are overtaxing the onboard regulator on the arduino.
You care creating a brown-out condition... a voltage dip on the arduino poswer source... this causes it to reset. You likely don't have a powerful enough power source or you are overtaxing the onboard regulator on the arduino.