I have a circuit like below.
I wanted to know how these resistance values were calculated. I wanted to use 12V/24V in place of 9V.
Let me know selection of opto-coupler and resistance value.
I have a circuit like below.
I wanted to know how these resistance values were calculated. I wanted to use 12V/24V in place of 9V.
Let me know selection of opto-coupler and resistance value.
Follow the next steps:
So, the total voltage = 12 - 1,2 = 11,8. R = U / I --> R = (11,8 / 4x10^-3) = 2950 Ω = 3 kΩ
So, the total voltage = 5 - 0,3 = 4,7 V . R = (4,7 / 1 x 10^-3) = 4700 Ω = 4,7 kΩ