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 Learning about H-bridges and transistors
  • 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
  • State Verified Answer
  • Replies 38 replies
  • Answers 8 answers
  • Subscribers 397 subscribers
  • Views 2943 views
  • Users 0 members are here
  • frontpage
  • h-bridge
  • transistors
Related

Learning about H-bridges and transistors

ovidiub13
ovidiub13 over 9 years ago

I'm trying to learn about transistors and H bridges towards a final goal of controlling a bipolar stepper motor with Arduino.

 

I've done the following half H-bridge in the process of learning:

image

My first question: Why can't I use a single resistor to connect the base of both transistors to ground?

  • Sign in to reply
  • Cancel

Top Replies

  • strb
    strb over 9 years ago +1 suggested
    I'm not sure that this schematic works... the led isn't reverse polarized? Anyway use a pnp as pullup transistor and a npn as pulldown, it's a good thing to put also a limiter resistor to control the current…
  • strb
    strb over 9 years ago in reply to clem57 +1
    Great "how link" clem57
  • mcb1
    mcb1 over 9 years ago in reply to ovidiub13 +1 suggested
    What I'm having issues understanding is how transistors work You can consider a transistor as a switch (in this case they are either ON or OFF) The control part of the switch is the base to emitter (NPN…
Parents
  • ovidiub13
    0 ovidiub13 over 9 years ago

    Thank you for your feedback.

     

    I'm not sure that this schematic works... the led isn't reverse polarized?

    It works.

     

    I've read about how H-bridges work. I understand the general concept. What I'm having issues understanding is how transistors work. Here I'm just using them like switches.

     

    What I've shown previously was, as I've said, half an H-bridge.

     

    Here's the full H-bridge:

     

    image

     

    I've tested this on my breadboard and it works ( I can make a video if necessary).

     

    What I've noticed on the full H-Bridge is that I have 2,77 V on LED1 and 3,40 V on LED2. I don't understand why. SInce the two halves are basically mirrored, I expected them to be the same.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Robert Peter Oakes
    0 Robert Peter Oakes over 9 years ago in reply to ovidiub13

    As others have said, the reason for different voltages is that different coloured LEDs drop a different voltage across them for the same current, LEDs are current devices. in your circuit as mcb1 has said, i'm surprised the LEDs have not burned out, either the batteries are limiting the current or the gain of the transistors is insufficient with 330R base resistor to allow the full current to flow, wither way the LEDs are being driven badly.

     

    If you do not yet understand transistor then start with that, not an H Bridge. in all cases above you are using the transistor as a switch, and you need to know what that means first. Then build on that to a Half bridge, then a Full Bridge

    I would also suggest looking up how LEDs work as well as without that knowledge you will be burning  a few out in short order image

     

    Making smoke is not a bad thing, we learn a lot from it (Making mistakes is more educational than everything working first time) but all of the devices in the schematic you have above have limitations and you need to understand them in order to work within them (Prevent the Blue smoke of learning image )

    Data sheet for the BC558:- https://www.fairchildsemi.com/datasheets/BC/BC560.pdf  shows a max current of 100mA and a volt drop of between 200 to 600mV across the transistor and you have 2 transistors and an LED across the supply

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • Robert Peter Oakes
    0 Robert Peter Oakes over 9 years ago in reply to ovidiub13

    As others have said, the reason for different voltages is that different coloured LEDs drop a different voltage across them for the same current, LEDs are current devices. in your circuit as mcb1 has said, i'm surprised the LEDs have not burned out, either the batteries are limiting the current or the gain of the transistors is insufficient with 330R base resistor to allow the full current to flow, wither way the LEDs are being driven badly.

     

    If you do not yet understand transistor then start with that, not an H Bridge. in all cases above you are using the transistor as a switch, and you need to know what that means first. Then build on that to a Half bridge, then a Full Bridge

    I would also suggest looking up how LEDs work as well as without that knowledge you will be burning  a few out in short order image

     

    Making smoke is not a bad thing, we learn a lot from it (Making mistakes is more educational than everything working first time) but all of the devices in the schematic you have above have limitations and you need to understand them in order to work within them (Prevent the Blue smoke of learning image )

    Data sheet for the BC558:- https://www.fairchildsemi.com/datasheets/BC/BC560.pdf  shows a max current of 100mA and a volt drop of between 200 to 600mV across the transistor and you have 2 transistors and an LED across the supply

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • mcb1
    0 mcb1 over 9 years ago in reply to Robert Peter Oakes

    i'm surprised the LEDs have not burned out,

    That is because 5v - 0.6v( E-B of Q2) thru 330 ohm is at most 13mA.

    If you factor in a LED forward voltage drop of 1.7v you have 2.7v thru 330 is 8mA.

     

    I can't see that Q2 even turns ON as it would turn off immediately.

     

    Mark

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Problemchild
    0 Problemchild over 9 years ago in reply to mcb1

    of course the Vf of the Blue diode is more like 3.2-3.8 and we have 2? junctions worth of drop between 5V and GND so even less current all told

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
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