I'm trying to input 12v into Ardunio Digital inputs. But since Arduino digital input max voltage is 5v, I would like to use an optocoupler as a switch for 12v input into 5v from Arduino itself.
So I have got P621 Opto, But I' little concerned about the opto handle 12V??
Also for optos both in and out can withstand same voltage??
I'm only a beginner since not much able to grasp the tech jargons from the datasheets..