Skip to content

Instantly share code, notes, and snippets.

@wose
Last active June 6, 2019 17:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wose/71ef94ba7e8dcfa99b776836b39549da to your computer and use it in GitHub Desktop.
Save wose/71ef94ba7e8dcfa99b776836b39549da to your computer and use it in GitHub Desktop.
Finder 30-22

PC817

VF (IF 20mA) = 1.2V

BC547B

hFE = 200-450
IC (max) = 100mA
VBEsat = 0.7V

Finder 30-22 5V

UN = 5V
R = 125Ohm
I @ UN = 40mA

Resisitors

R1

R = (Vin - VF) / IF
R = (3.3V - 1.2V) / 0.02A
R = 105 Ohm

R2

R = (V_RLY - VBEsat) / (I@UN / 10)
R = (5V - 0.7V) / (0.04 / 10)
R = 1075 Ohm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment