Electronic – arduino – 5V and Vin pin in Arduino UNO

arduinoarduino unomicrocontrollerpower supplyvoltage

I am trying to control the speed of a DC motor by using H-Bridge and Arduino UNO. The initial supply is 110 AC which with the help of transformer and a full wave rectifier circuit is converted into 12V DC supply. This 12V is given to the H-Bridge. Now with the help of Buck Converter, the 12V is stepped down to 5V. Now my question is that this 5V, should I use the 5V pin or the Vin pin in Arduino?

Best Answer

If you have a regulated 5V to power your Arduino you would connect it to the 5V pin. When doing so make sure there is no connection to the USB connector or to the DC Barrel Power connector.