you can connect the 12 Volt to the power socket (so not to the Vin or the +5V pin).. The voltage regulator will handle it.