Connecting 5V to an Analog Pin

I'm using a motor shield which supports 4 motors, and a gyroscope(gy 215) sensor for a step climber robot.
Because the motor shield does not use analog pins, it is easy for me if I can connect 5V and Ground pin in arduino board to two Analog pins? Will that fry my arduino uno? If it can be connected in that way, will there be any interference with the outputs from the gyroscope?

Hello,

The pin can provide at most 40mA, usually. Avoid using as a power source!

Question is what you want to do with those pins?

A reasonable assumption is that you want to switch something on and off. But what?

No, you do not "connect 5V and Ground pin in Arduino board to two Analog pins".

Have another go at describing what you are doing.

sterretje:
Question is what you want to do with those pins?

I understand that he has a module that has pins in a favorable position so that he connects the power of the module (VDD) directly to an IO pin of Arduino, only to provide power.

GY-951 consists of Atmega328 + ITG3205 + ADXL345 + HMC5883L?

Sorry, wrong numbers: gy 215

Nope, still does not make sense. :astonished:

rtek1000:
Hello,

The pin can provide at most 40mA, usually. Avoid using as a power source!

As per datasheet, pag. 303, that is the Absolute maximum rating, and should be avoided in normal use. Better stay well below that limit!

Ciao, Ale.