Go Down

Topic: 12v -> 5v input on Digital/Analog pins? (Read 430 times) previous topic - next topic

davivid

I have some switches that output 12v, which I need to connect to the arduino input pins.

Is a 1A Positive Fixed Voltage Regulator,
Part: TS7805CZ   
Output voltage: 5V   
Line regulation: 3mV

suitable for this?

NiHaoMike

Use a 4.7k or so resistor and a 5.1V zener.
"Optiboot: the Tiffany Yep of Arduino bootloaders."

Grumpy_Mike

Or a potential divider, using two resistors.

Or a 4K7 series resistor and a diode to the +5V line.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

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!

Arduino
via Egeo 16
Torino, 10131
Italy