How to get 3.3V output from 6n137 to arduino nano esp32 GPIO

Thread Starter

khalillabaki

Joined Sep 28, 2016
8
I am using 6n137 opto-coupler to take engine tachometer 12v signal from ECU, then send it to arduino nano esp32 that in return it drives rev RGB LEDs. I found in the optocoupler data sheet that the minimum input voltage is 4.5V at Vcc. Is it ok if i supply Vcc with 5V and pull up Vo to 3.3V from the arduino, to get 3.3V pulse output? as shown in below figure. arduino nano esp32_6N137.png
 
Last edited by a moderator:

bertus

Joined Apr 5, 2008
22,909
Hello,

As the 6N137 has an open drain output, it should work.
There is no problem to use 3.3 volts on the drain of the output.
The supply voltages are 7 volts max.

Bertus
 
Top