How to Build a Light-activated Buzzer Circuit

Light-activated motor


In this project, we will go over how to build a light-activated buzzer circuit.

This is a circuit in which a buzzer will sound when there is adequate light in the ambient environment.

As soon as ambient light is sensed by the circuit, the buzzer will automatically turn on and remain on as long as the light remains.

The component that allows for the light sensing in this circuit is a photoresistor. The photoresistor detects light levels and its resistance changes based on the amount of light it picks up. We can exploit this varying resistance that the photoresistor gives off to know whether there is darkness in the surroundings or whether it is bright.

When it is exposed to darkness, a photoresistor has a tremendous amount of resistance. Depending on the specific photoresistor in use, its resistance can be anywhere from over 100KΩ to well over 2MΩ. When exposed to bright light, a photoresistor's resistance drops drastically. Again, based on the photoresistor, it may be to 5KΩ or below or to about 30KΩ. For any photoresistor, you can pretty much be sure that the resistance will fall to about 30KΩ when exposed to bright light. This is an important principle to know because we will connect our photoresistor in series to the base of a transistor. The type of photoresistor we will use will have a dark resistance greater than 2MΩ and a light resistance of around 30KΩ. This means when it is exposed to darkness, it will have a resistance greater than 2MΩ and when it is exposed to bright light, it will have a resistance of about 30KΩ.

Our photoresistor will be connected to the base of a transistor. When there is total darkness in the environment, the resistance of the photoresistor will very high. Therefore, inadequate current will flow through the base of the transistor, not sufficient enough to turn the transistor on. Therefore, no current will flow from the emitter and collector. However, when the photoresistor is exposed to bright light, its resistance drops dramatically to about 30KΩ. This resistance is low enough to cause a sufficient amount of current to flow through the base of a transistor to turn on the transistor. With the transistor now on due to the lowered resistance of the photoresistor, current can flow from the emitter to collector, powering on whatever load is connected to the collector, which in our case will be a buzzer.

And this is the basis of our circuit. The transistor provides current amplification of the base current so that the amplified current is sufficient to drive the buzzer.

Components Needed

  • GL5537 Photoresistor
  • NPN BJT Transistor
  • 3 'AA' batteries or a DC power supply
  • 3V DC Buzzer


The GL5537 photresistor has a dark resistance of 3MΩ and a light resistance of 30-50KΩ. This is perfect connection to the base of a transistor because 30-50KΩ allows for sufficient current to flow through the base to power on the transistor while a resistance of 3MΩ does not. This allows us to control on-off conditions of the transistor based on the ambient light or absence of it.

The NPN BJT that can be used can be a 2N3904 or a 2N2222. don't get damaged.

Light-activated Buzzer Circuit Schematic

The light-actived buzzer circuit we will build is shown below.

Light-activated buzzer circuit

So this is the full schematic of the circuit.

Again, in darkness, the photoresistor's resistance will be so high, that barely any current flows through the base of the transistor. Thus, it does not turn on and allow current to flow from emitter to collector to power on the DC motor.

However, in bright light, its resistance falls dramatically and now sufficient current flows through the base of the transistor, turning the transistor on. Current now flows from the emitter to collector, powering on the buzzer.

And this is how a light-activated buzzer circuit can work.

To see how this light-activated buzzer circuit operates in real life, see the video below.



Related Resources

How to Build a Dark-activated Switch

How to Build a Hall Effect Sensor Circuit

How to Build a Touch Sensor Circuit

How to Build an Accelerometer Circuit

How to Build a Motion Detector Circuit

How to Build a Motion Detector Alarm Circuit

HTML Comment Box is loading comments...