Back to Step by Step Course by Robojax

Lesson 07: Getting Additional 5V and GND from Arduino

In this video we learn how to add additional 5V or GND pins or 3.3V and GND pins depending the voltage of the board.

 * S01-07 Additioinal 5V or GND pin.
 If your Arduino board voltage is 3.3V, then we will get 3.3V and GRND pin
 * Arduino Sketch to give you extra 5V pin from Arduino
  Please watch video instruction here
 This code is available at
with over 100 lectures Free On  YouTube Watch it here
Get the code for the course: 
 * Written by Ahmad Shamshiri for Robojax,
 * on Jan 01, 2019 at 08:54 in Ajax, Ontario, Canada
#define VCC2  5 // define pin 5 or any other digial pin here as VCC2
#define GND2  2 // define pin 2 or any other digital pin as Ground 2

void setup() {
  pinMode(VCC2,OUTPUT);//define a digital pin as output
  digitalWrite(VCC2, HIGH);// set the above pin as HIGH so it acts as 5V

  pinMode(GND2,OUTPUT);//define a digital pin as output
  digitalWrite(GND2, LOW);// set the above pin as LOW so it acts as Ground  


void loop() {
	//Robojax Step By Step Arduino Course



The least I expect from you is to give the video a thumbs up and subscribe to my channel. I appreciate it. I have spent hundreds of hours making these lectures and writing code. You don't lose anything by subscribing to my channel. Your subscription is a stamp of approval for my videos, helping more people find them and, in turn, helping me. Thank you!

If you found this tutorial helpful, please support me so I can continue creating content like this. support me via PayPal

**** AFFILIATE PROGRAM **** We are a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to and affiliated sites.

Right Side