Convert analogue Pins to Voltage pins

I have used the 3.3V pin and 5V pin of Arduino uno but i need two 5V pins to connect sd module's and laser module's VCC pin to connect to 5V. Can I connect them to analogue pins A0 and A1 and sketch the Arduino and put them on high so that they can work as 5V pins?
@Grumpy_Mike

Arduino GPIO pins are not designed to be used as power supplies. What you are proposing may work if the amount of current required is low enough but I would not advise it

Assuming that it works, then where are you going to connect the GND wires to ?

What you propose is not advised, but you can use the +5 and GND pins of the ICSP header (the 6-pin one).

Depends on the power consumption of the connected components.

Why not split the existing 5V and/or 3.3V lines? In it's simplest form using a breadboard, later more permanent with stripboard (requires soldering) or choc blocks as shown below
image

I'm trying to make a laser security system with OV7670, SIM800 and SD module. I'll connect GND to GND respectively. But the voltage pins are all consumed. Can i use digital pins for that instead of not analogue?

They will behave the same.

They are NOT power supply pins.
The voltage is NOT regulated.
If will vary from 5V to 0V depending on the load current.
Use the connectors suggested by @sterretje

But would if work as i want to connect laser module with one pin and sd module with other? I need to use it for no more than 5-6 times

SD card modules can draw a lot of current. Definitely too much for an I/O pin.

Okay thank you but will the voltage splits up or both the modules will get equal voltage?

I've never heard these called that. Now I know.

images (3)

2 Likes

That is a very common name for them

You can even get boxes to put them in, known as choc boxes

See https://www.expertelectrical.co.uk/choc-box

1 Like

First tell us how much current you laser module needs?

Around 5 volts

You need to go back to school

That's the voltage, we need to know the current in Amps
If you don't know, post the datasheet for the module or a link to the product webpage

I'm actually making this for the first time and I'd appreciate some help

see post #19 please.

You are getting good help. Problem is you seem to not want to hear the help you are not getting. You were asked the current draw of what you plan to try and responded with 5.0 volts. This lends other to believe you have no idea as to current you need verse current available from any pin. No, what you propose is not a good idea. You need more current or power then invest in a decent supply. That or destroy your Arduino. Now any questions?

Ron