12 V input

sperera:
use external 7805 regulator and power arduino with it.using this the internal regulator has nothing to regulate and it want get warm.

So buy an Arduino with onboard regulator, and then you don't use it.

12volt on the DC socket is not a problem, unless you draw too much current from the 3.3volt or 5volt pins.
Leo..