Go Down

Topic: Input of arduino with opto! (Read 537 times) previous topic - next topic

dpmb

Jun 16, 2017, 10:00 pm Last Edit: Jun 16, 2017, 10:24 pm by dpmb
Good afternoon, I have a problem, I'm starting in the field of arduino, but I have a job...
 that is to protect an input of arduino with a 4n25 optocoupler, I could help with the circuit, since I searched and did not find much. I would thank you infinitely.

Grumpy_Mike

Quote
since I searched and did not find much.
Did you? That is most odd, the net is full of them.
Basically you connect the source through a resistor to the input of the opto and the other input to ground. It is exactly like driving an LED with your source. Then the other end is connected with the emitter to ground and the collector to an Arduino input. Then you enable the internal pull up resistors.
 Put the words
opto isolator
Into google and the top hit tells you all about it.

If you don't understand this then ask about what you don't understand after you have read this https://en.wikipedia.org/wiki/Opto-isolator

Go Up