Jump to content

Recommended Posts

Posted

Hi everybody, in my country the 6n138/139 optocoupler is a little expensive and some times a hard to find component, and searching in the web I found an alternative circuit with the 4n26 or 4n36 (I tested it with both) - comes in PDIP-6 and this is the equivalent circuit for using instead of 6n138/139:

circuitoconel4n26o4n36erl7.gif

I'm not sure but if you look at the fairchild datasheet appears a lot of others optocouplers - maybe those works too.

Posted

Rasteri are you using the 4n25 as a drop-in replacement or what?

Unfortunately not - the pinouts completely different (for a start there's two less...) I've attached the circuit I'm using, I dunno if it's an optimal solution but it certainly works.

EDIT : My schematic was wrong, LyleHaze's is better (see below)

Posted

Your pin numbers have 4 and 6 swapped.

This might confuse somebody that tries to wire this up.

This one has them corrected.

Also, this circuit should have a pullup resistor for

pin 5 (to RX). It might work without it, but for the

price of a resistor, why take chances?

Have Fun,

LyleHaze

3648_midiin2_png99fc9848e5fd983dd5057a7b

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...