Not sure a 7805 is the right approach
I want to make sure that this does not become a floating input when there is no input.
For the guys asking what I am trying to do, I have a switch in my car that is fed with a 12v source (feeding it with 5v is not an option) and when pressed it sends 12v out that i want to send into the arduino to trigger various actions
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16