element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum [Help] Using one BJT(BC637) as switch with Arduino digital pin.
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 3 replies
  • Subscribers 391 subscribers
  • Views 594 views
  • Users 0 members are here
Related

[Help] Using one BJT(BC637) as switch with Arduino digital pin.

Former Member
Former Member over 9 years ago

Hello, i don't have one reasonable experience with electronics component, and i would like to someone with more experience than me to check if my calculation done right.
First i will control one backlight led that the recommended current draw is 22.7 mA.

Looking up the DC Current Gain on the BC637 datasheet and using the formula Ib = Ic/b i calculated:

Ib = 22.7/25

Ib = 0.908 mA

And arduino logic level is 5V to HIGH and 0V to LOW so i should add a current limiting resistor in series on the BC637 base pin.

So using the formula Rb= (Vcc - Vbe)/Ib i calculated

Rb = (5V - 1V)/0.000908A

Rb is aprox. 4405 ohm

 

So i'm planning to use one 4.7k ohm resistor on Rb  so the backlight should be always less brighter (since less current will flow).

Its my calculation done right? It should work the way i planned?

 

Btw here the simplified schematic

Schematic

  • Sign in to reply
  • Cancel

Top Replies

  • Robert Peter Oakes
    Robert Peter Oakes over 9 years ago +2
    Your close, it is ok to slightly over drive the base as long as you don't exceed its current rating , I cant see the MAX base current in the specs Base − Emitter On Voltage is about 1V max (Typically assumed…
  • Jan Cumps
    Jan Cumps over 9 years ago +1
    The current gain of a transistor is an instable parameter. It will be hard to regulate the current with the transistor alone. it's safer to put a resistor in series with the LED that limits the current…
  • jc2048
    jc2048 over 9 years ago +1
    A BJT is a current amplifier but it's not sensible to work with it directly like that. As Jan Cumps says, the current gain is very variable. It varies from device to device and it is dependent on other…
Parents
  • Robert Peter Oakes
    Robert Peter Oakes over 9 years ago

    Your close, it is ok to slightly over drive the base as long as you don't exceed its current rating , I cant see the MAX base current in the specs

    Base − Emitter On Voltage is about 1V max (Typically assumed to be a diode forward voltage of 0.6V so this needs to be subtracted from your formula, you used 1V so that's ok

     

    I would not assume you will get the full 5V out of the CPU but it will be close

     

    So just to be sure the transistor is saturated (Fully turned on so less power dissipated in the transistor, I would reduce the base resistor to 3K3 or 2K8 ish. Basically your using it as a switch, not in its linear region so we want to ensure it is fully on or fully off.

     

    You will also need a current limiting resistor in series with the LED

     

    So 5V - Backlight Volts at 22mA / 22mA to give you series resistor value. There is also probably a certain amount of volts dropped across the Collector / Emitter so if you want it perfect then this should also be factored into your equation

     

    Hope this helps

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • Robert Peter Oakes
    Robert Peter Oakes over 9 years ago

    Your close, it is ok to slightly over drive the base as long as you don't exceed its current rating , I cant see the MAX base current in the specs

    Base − Emitter On Voltage is about 1V max (Typically assumed to be a diode forward voltage of 0.6V so this needs to be subtracted from your formula, you used 1V so that's ok

     

    I would not assume you will get the full 5V out of the CPU but it will be close

     

    So just to be sure the transistor is saturated (Fully turned on so less power dissipated in the transistor, I would reduce the base resistor to 3K3 or 2K8 ish. Basically your using it as a switch, not in its linear region so we want to ensure it is fully on or fully off.

     

    You will also need a current limiting resistor in series with the LED

     

    So 5V - Backlight Volts at 22mA / 22mA to give you series resistor value. There is also probably a certain amount of volts dropped across the Collector / Emitter so if you want it perfect then this should also be factored into your equation

     

    Hope this helps

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube