For a school project i was using some reles, leds and sensors, but my arduino uno was reseting. To solve my problem i decided to make a "shield?" to power my sensors. I used some AAA batteries supllying around 10V and used a tension regulator to decrease it to 5v. I connected the "+" of the 10v battery to the Vin of the regulator, the "-" to the Gnd of the regulator and the Vout i connected to a 5v sensor. The Gnd of the sensor i conected to the "-" of the battery, but the sensor didn´t worked. I used a voltimeter and the 5v was reaching the sensor but there it was around 1.2A! and it was reading alleatory values. Afraid of having damaged the sensor i put it in the 5v and Gnd of my Uno and it worked fine.... Do u know why my "shield?" didn´t worked? Because i thought that if i delivered 5v to it it would be fine and work.
Sorry if you find my english bad ;-;