Sep 19, 2012 #1 M masoud1234 Junior Member level 2 Joined Jan 12, 2011 Messages 20 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,394 I'm designing a circuit with optocoupler 4N25 and 24v dc input which output is connected to the microcontroller Please calculate the resistance R1=? R2=? Attachments 4N25 CIRCUTE.bmp 1.3 MB · Views: 229 Last edited: Sep 19, 2012
I'm designing a circuit with optocoupler 4N25 and 24v dc input which output is connected to the microcontroller Please calculate the resistance R1=? R2=?
Sep 19, 2012 #2 Genovator Advanced Member level 2 Joined Dec 19, 2011 Messages 550 Helped 87 Reputation 174 Reaction score 84 Trophy points 1,328 Location India Activity points 4,632 R1 = 450 ohm. It is designed to work for 5 volt. Resistance should be more than 450 and upto 1200. R2 = 1k ohm or higher. (I guess)
R1 = 450 ohm. It is designed to work for 5 volt. Resistance should be more than 450 and upto 1200. R2 = 1k ohm or higher. (I guess)
Sep 19, 2012 #3 tpetar Advanced Member level 7 Joined Sep 27, 2010 Messages 6,417 Helped 1,713 Reputation 3,456 Reaction score 1,673 Trophy points 1,393 Location Pancevo-Belgrade, Serbia Activity points 37,363 R1 = 2k R2 = 10k Put resistor before LED anode.
Sep 21, 2012 #4 M masoud1234 Junior Member level 2 Joined Jan 12, 2011 Messages 20 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,394 thanks Calculated : KVL: -24+(R1 *I1)=0 R1=2.4 KΩ It is true؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟ Please calculate R2
thanks Calculated : KVL: -24+(R1 *I1)=0 R1=2.4 KΩ It is true؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟ Please calculate R2
Sep 23, 2012 #5 M masoud1234 Junior Member level 2 Joined Jan 12, 2011 Messages 20 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,394 please help me
Sep 23, 2012 #6 Genovator Advanced Member level 2 Joined Dec 19, 2011 Messages 550 Helped 87 Reputation 174 Reaction score 84 Trophy points 1,328 Location India Activity points 4,632 R2 is 10k as mentioned by tpetar. It is a pull down resistor and are used in a range of 1k to 10k.
Sep 23, 2012 #7 R rfredel Full Member level 5 Joined Jun 22, 2012 Messages 290 Helped 80 Reputation 160 Reaction score 77 Trophy points 1,308 Location Bonn, Germany Activity points 3,096 Hello masoud1234, for R1 you have to calculate like this: VF = 1,2V ; IF = 10 mA R1 = (24V - VF) / IF = (24V - 1,2V) / 10mA = 2200Ω = 2K2 Calculate for R2: R2 = (5V - VCE(SAT) / IC From Datasheet: VCE(Sat) = 0,3V IC = 1mA Regards Rainer R2 = (5V - 0,3V) / 1mA = 4700Ω = 4K7
Hello masoud1234, for R1 you have to calculate like this: VF = 1,2V ; IF = 10 mA R1 = (24V - VF) / IF = (24V - 1,2V) / 10mA = 2200Ω = 2K2 Calculate for R2: R2 = (5V - VCE(SAT) / IC From Datasheet: VCE(Sat) = 0,3V IC = 1mA Regards Rainer R2 = (5V - 0,3V) / 1mA = 4700Ω = 4K7