Skip to main content

Simple Light-Driven LED Circuit

Below is a simple circuit that demonstrates the use of a transistor.  The transistor drives an LED from a photocell at the input bias circuit. The intensity of the LED light depends upon the intensity of the light from the environment (ambient light) hitting the photocell. The greater the  ambient light, the greater the LED intensity. If light is totally blocked on the photocell, very little or almost no glow coming from the LED.

Figure 1
                                       
This simple circuit can be expounded for many exciting applications in the real world. The photocell is just one of representations of sensors one can use to control the output of the transistor.  The output can be other than an LED, say a motor whose speed can be variably controlled, or it can be an input to another circuit that does some other functions that depends on the input from the sensor.

Basic Operation:
The photocell has resistance that ranges from 5k (strong light) to 20k (dark). When light hits the photocell, more current flows to the bias resistor 10k, thus the larger base voltage of the transistor. That higher base voltage translates to higher collector and emitter current. The choice of resistors are such that enough current will flow at the output to make the LED glow. One can approximate the output current when the transistor is conducting to IC = IE = (VBASE-0.7)/1K. LEDs typically can handle current up to 20mA. When the photocell is blocked, it has maximum resistance (20K), and the base voltage will be just a third of the supply. The resulting current at the output will produce very little glow from the LED. You may choose other values of resistors to suit your desired circuit response.


Comments

Popular posts from this blog

Arduino Transistor DC Motor Control

Arduino boards have PWM (Pulse Width Modulation) outputs that can be used to control like the speed of a DC motor. On a Pro Micro, those outputs are encircled white on the board. You can program it such that it outputs on a scale of 1-255, 1 being the slowest and 255 being the fastest. PWM gives out pulses whose width is varied (modulated) while the period is constant. The longer it is high, the higher power it delivers to the circuit. PWM can be used to drive a transistor (switch) which in turn drives the motor ON and OFF. The longer the switch is ON, the higher the power delivered to the motor, and thus faster. The circuit consists of a transistor Q1 (TIP31) NPN transistor, driven by the PWM from Arduino. The resistor is to limit the current to the base, but enough to operate the transistor in saturation when the input is high. The diode is to protect the motor from any back emf that might come from the motor when the current is cut off. The circuit is supplied by a 9V battery. ...

What Can You Do With Two Transistors (BJT)? Part 2 - Transistor Regulator

In the first installment of this series, we talked about what exciting things we can do with just two transistors, in particular BJT transistors. Some of us might probably think that we don't talk a lot about BJT transistors nowadays, not with the thrill, excitement, and trend brought about by high advancements in the technology in the Internet of Things, Machine Learning, Machine Intelligence, Advanced Algorithm, etc.. But we argue that these little circuits and components are constantly in the background of the advancements we see around us and we should not ignore them, as much we will not ignore what we currently enjoy and what the future holds for us. Let's continue to look at the Two-Transistor Series Regulator we talked about in Part 1 . The circuit below is a different version, now using the transistor to provide feedback from the output. This makes the output voltage higher. The output is still derived from the zener voltage. The output voltage is now a s...

Resistance, Capacitance, and Inductance (R-C and R-L Circuit)

Our aim here is to discuss the very important concepts and give intuitive explanations of the subjects. We'll start with the resistor which is the most straightforward, then with the less understood and often misunderstood concepts of capacitance and inductance. We will discuss the R-C and R-L circuits as well. These along with Ohm's Law, Kirchoff's Voltage Law (KVL) and Kirchoff's Current Law (KCL) are the very foundations of understanding the complete behaviors of practically any circuit one might encounter. Resistance It is a general term that refers to the opposition to the free flow of current in a circuit. More accurately, it refers or applies to DC (direct current). Resistance doesn't apply only to resistors but also to a host of other components in the circuit. For example, a copper trace has a resistance according to its dimensions, as well as the leads of he components.When a current flows through a resistor a potential difference is generated acr...