Ganjanouille
Posts: 19
Joined: Sat Feb 03, 2018 11:00 am

6N138 UART 3.3 to 5v unidirectionnal level shifter

Wed Apr 04, 2018 5:06 pm

Hi folks!

I'm trying to do some level shifting for interfacing with midi instruments.

I got this 6N138 lying around and want to try to achieve my goal with that.

I draw this schematic, could someone tell me if it will blow my raspberry away??!! Or my midi intruments?! :shock:

https://www.dropbox.com/s/agwjel2zt1ymj ... 2.jpg?dl=0

I also have some 4N35 lying arround. Just in case :D

Thank's for the help!

StuartF
Posts: 30
Joined: Sun Feb 02, 2014 5:41 pm

Re: 6N138 UART 3.3 to 5v unidirectionnal level shifter

Wed Apr 04, 2018 6:00 pm

Midi out does not require opto-isolation, only midi in.
So a transistor or mofet acting as a switch will do the conversion.

Return to “Interfacing (DSI, CSI, I2C, etc.)”