Introduction: Make Automatic Night Light Switch Circuit Using Mosfet

About: Hello friends i show how to make stuff with no skills easy to replicate step by step from powerbanks,generator,invertors and so on thanks


Hello, friends in this project i will show a simple circuit diagram on how to make an automatic night

activated switch using one mosfet and some small components that i managed to salvage from a

real night lamp.Ok, so no more time wasted let's get started.

Components required for auto on off night light:

Mosfet IRFZ44N



load(in this case 12v led strip)

Power supply(in this case 9v battery)

Step 1: Automatic Night Light Source

A nightlight is a small light fixture,
usually electrical, placed for comfort or convenience in dark areas or areas that may become dark at certain times, such as at night or in an emergency. Small long-burning candles serving a similar function are referred to as "tealights".

In this project, we will make a homemade night activated switch using the mosfet.This project will work better

if you will have a true LDR in the video i show that this is similar but not the same you need a big resistor value

like the one in step3 i think is 4.5M but not sure.This project is meant to keep stuff simple and free if possible

so we gonna use as many parts as we can from our source THE CHEAP NIGHTLIGHT.

Step 2: Mosfet Transistor Projects

This is the resistor that i was talking about if you will use an ldr you will not need this resistor

just a 100K will be sufficient.And now let's look at the small blue LED.Does anyone what this is?

Looks like an led is got pins like an LED +and - but is an LDR?

Is acting like one but still not sure.If someone knows to put in the comments below.

Now that we have all our components lets make an automatic night light circuit diagram....

For the nostalgist out there the first diagram will be like in the old school of electronics

Step 3: Automatic Night Light Circuit Diagram

Smart lighting is a lighting technology designed for energy efficiency.
This may include high-efficiency fixtures and automated controls that make adjustments based on conditions such as occupancy or daylight availability. Lighting is the deliberate application of light to achieve some aesthetic or practical effect. It includes task lighting, accent lighting, and general lighting.

Sounds good no to be able to make a smart light system cheap and effective that can be used an off-grid situation if you choose so or in a daily basis to automate your garden, home or whatever you choose to.

The diagram of the dark switch is very easy to replicate and i hope you will use this and improve it.

Step 4: Dark Activated Switch Is Nearly There

A photoresistor (or light-dependent resistor, LDR, or photo-conductive cell) is a light-controlled variable resistor. The resistance of a photoresistor decreases with increasing incident light intensity; in other words, it exhibits photoconductivity.
A photoresistor can be applied in light-sensitive detector circuits and light-activated and dark-activated switching circuits.

Photoresistors are less light-sensitive devices than photodiodes or phototransistors: the two latter components are true semiconductor devices, while a photoresistor is a passive component and does not have a PN-junction.
The photoresistivity of any photoresistor may vary widely depending on ambient temperature, making them unsuitable for applications requiring precise measurement of or sensitivity to light photons.

Photoresistors also exhibit a certain degree of latency between exposure to light and the subsequent decrease in resistance, usually around 10 milliseconds. The lag time when going from lit to dark environments is even greater, often as long as one second. This property makes them unsuitable for sensing rapidly flashing lights but is sometimes used to smooth the response of audio signal compression.

Step 5: Light Depending Resistor

A light-dependent resistor alternatively called an LDR, photoresistor, photoconductor, or photocell is a variable resistor whose value decreases with increasing incident light intensity.

An LDR is made of a high-resistance semiconductor. If light falling on the device is of high enough frequency, photons absorbed by the semiconductor give bound electrons enough energy to jump into the conduction band. The resulting free electron (and its hole partner) conduct electricity, thereby lowering resistance.

A photoelectric device can be either intrinsic or extrinsic. In intrinsic devices, the only available electrons are in the valence band, and hence the photon must have enough energy to excite the electron across the entire bandgap. Extrinsic devices have impurities added, which have a ground state energy closer to the conduction band - since the electrons don't have as far to jump, lower energy photons (i.e. longer wavelengths and lower frequencies) are sufficient to trigger the device.

So after some research, we find out our mystery we don't have an LDR but we do have photoelectric resistor witch in the dark has big resistance so the 4.5M could be right value HOW ABOUT THAT???

Step 6: AUTOMATIC ON OFF Circuit Diagram

Automatic night light switch circuit with one mosfet and photoresistor and 4.5M resistor this is all we used in the video and if you like it and find it informative stay tunned.

Now just use your imagination and make a
box/enclosure to put all the wires and the mosfet transistor you can use old plastic stuff that you don't use any more in the video i did use an old cheap power bank enclosure but you can use a tic-tac case old hand creme(Nivea) and much more stuff. Thanks all for reading and see you on the channel

All the best and use your imagination!