Author Topic: Proper way of triggering LED  (Read 16745 times)

0 Members and 1 Guest are viewing this topic.

Offline elkiTopic starter

  • Regular Contributor
  • *
  • Posts: 110
  • Country: be
Proper way of triggering LED
« on: April 10, 2024, 03:08:28 pm »
A very basic question. Naively, the circuit attached should be the most straightforward way to trigger a LED by a TTL-like pulse to the base of a NPN transistor. Somehow, when tested in real life, the input triggering pulse becomes distorted, which looks like a parasitic capacitance effect. Is there any way to secure the input signal shape when pulsing the LED?
 

Offline jmelson

  • Super Contributor
  • ***
  • Posts: 2792
  • Country: us
Re: Proper way of triggering LED
« Reply #1 on: April 10, 2024, 03:54:14 pm »
Your R1 (10K) only allows about 0.3 mA to flow through the LED.  Your base resistor R2 (1K) allows at least 3 mA of base current.  R2 should be at least 20 X larger resistance than R1.
Jon
 
The following users thanked this post: elki

Offline edavid

  • Super Contributor
  • ***
  • Posts: 3395
  • Country: us
Re: Proper way of triggering LED
« Reply #2 on: April 10, 2024, 04:06:11 pm »
You don't say exactly what problem you are seeing.

The saturated NPN switch will be slow to turn off - is that it?

For a visual indicator, this doesn't matter and your circuit is fine.

If you are trying to generate fast pulses, a different circuit would be better.  In that case, what are your actual speed and current requirements?

When you say it was tested in real life, did you build it, or just simulate it?
 
The following users thanked this post: elki

Offline Peabody

  • Super Contributor
  • ***
  • Posts: 2082
  • Country: us
Re: Proper way of triggering LED
« Reply #3 on: April 10, 2024, 04:16:32 pm »
Yes, it looks like the resistors need to be switched.

Also, any distortion in the base drive could also be dependent on the output capabilities of the "In" drive source, which become more important with such a low base resistance.

Could you draw us a picture of what you're seeing?
 
The following users thanked this post: elki

Offline kevin.gibbs

  • Contributor
  • Posts: 40
  • Country: us
    • Teardown it!
Re: Proper way of triggering LED
« Reply #4 on: April 11, 2024, 02:20:17 pm »
Where are you measuring the distorted signal, and what is the duration of your pulses? Can you share the actual waveform?
Teardown, research, create!
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf