Pages: [1]   Go Down
Author Topic: 12v -> 5v input on Digital/Analog pins?  (Read 364 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Full Member
***
Karma: 0
Posts: 141
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 91
Digital Power Engineer
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Use a 4.7k or so resistor and a 5.1V zener.
Logged

"Optiboot: the Tiffany Yep of Arduino bootloaders."

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 602
Posts: 33371
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Or a potential divider, using two resistors.

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

Pages: [1]   Go Up
Jump to: