Does the IC work with 3.3V or does it need 5V? If 5V, is the output compatible with Rx0 Pin?
D DragonSF Well-known member Jul 10, 2021 #1 Does the IC work with 3.3V or does it need 5V? If 5V, is the output compatible with Rx0 Pin?
ETMoody3 Well-known member Jul 10, 2021 #2 As far as I know No, the 6N138 does not work at 3.3 v. Look at the Adafruit midi feather wing which operates directly with 3.3v logic or consider a suitable logic level shifter like TXS0108E https://www.adafruit.com/product/4740 Alternative is to use this schematic which powers the 6N138 at 5 v but pulls the output logic to a safe 3.3v. Last edited: Jul 10, 2021
As far as I know No, the 6N138 does not work at 3.3 v. Look at the Adafruit midi feather wing which operates directly with 3.3v logic or consider a suitable logic level shifter like TXS0108E https://www.adafruit.com/product/4740 Alternative is to use this schematic which powers the 6N138 at 5 v but pulls the output logic to a safe 3.3v.
PaulStoffregen Well-known member Jul 10, 2021 #3 6N138 does indeed require 5V power. But it can give a 3.3V output signal while running on 5V power. Its output is open collector, so just connect the 470 ohm pullup resistor to 3.3V. See the schematic on this page for details: https://www.pjrc.com/teensy/td_libs_MIDI.html
6N138 does indeed require 5V power. But it can give a 3.3V output signal while running on 5V power. Its output is open collector, so just connect the 470 ohm pullup resistor to 3.3V. See the schematic on this page for details: https://www.pjrc.com/teensy/td_libs_MIDI.html