Suppling voltage using PIN2 or 5/3.3 VDC Arduinoi UNO

Thank you! for my application 5VDC will work.