Hi, I have a question about the 5v rail on the Arduino Uno R3.
I just finished my first project, a simple rainbow RGB LED strip cycle, which looks fantastic. I have a 12v 2A power supply plugged into the DC power jack on the Arduino, and the LEDs are powered via the VIN pin. I have MOSFETs connected to 3 of the PWM pins on the board to control the colours.
So when I finished my project, I wanted to be able to control the LED cycle using a push-button (to be able to switch the cycle from rainbow, to all-white, to all blue, or just all off). After doing some research online, I’m pretty sure inputting 12v into a digital pin will pretty much fry it instantly. And all of the tutorials I saw online that showed me how to utilize push buttons used a 5v power supply. So my question about the 5v rail is this:
If I have a 12v power supply powering the Arduino, would the 5v rail still be able to output 5v? Or am I wrong about the 12v instantly frying the digital pins?
Thanks in advance