Go Down

Topic: Vin Pin (Read 205 times) previous topic - next topic

pedropadilha13

Can I make the Vin pin an output? If yes, how do I do that?

James C4S

What do you mean by "output"?
Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.com

pedropadilha13


What do you mean by "output"?

"power suply"
I'm sorry if it's a stupid question, because I'm new here, and I don't know anything about Arduino.

James C4S

If a supply is connected to the barrel jack, "Vin" can be used as a supply pin.  It will be about 0.7v less than whatever you put in the barrel jack because of the reverse protection diode.  That same diode also limits the usable current to about 1A, assuming the supply could provide that much.

It can not be used as a supply when powered by USB.
Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.com

pedropadilha13

So how do put it in a sketch?

James C4S


So how do put it in a sketch?

You don't.  The power supplies aren't controllable by any code. 

It's just how the board works.
Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.com

pedropadilha13


Go Up