Introduction: Night Lighting

Many of us wake up in the night and get up from their beds to drink or anything else, you open your eyes but the light is turned off then you get up from the bed and you barely can see your hand, you start walking and suddenly you hit anything. Therefore, it comes to my mind an idea make a Nightlight.

This is a box contain LEDs you can turn on when the light when the room is dark only, you just need to switch it on.

Step 1: Step1: Electronic Basics, Schematic Design

To make this project we need to make a very simple circuit contains switches, LDR, Resistor, LEDs, and battery.

We are going to use a software program to make this circuit as a PCB (printed circuit board), so we will use Eagle program as it is compatible with most of the machines.

In the first, we going to talk briefly about the electronics components:

  1. 2222 NPN transistor: it is work like a switch in this circuit, it contains three legs (base, emitter, and collector). Therefore, for passing the current from the collector to the emitter the voltage on the base is bigger than the voltage on the collector.
  2. Resistor its value about 320 ohms.
  3. LDR it is a Light resistor when the light is on the value of it becomes very small and when the light is off its value very big. Therefore, we gonna use it to turn the LEDs when the light is of only.
  4. Switch to turn on the LEDs or turned off them.
  5. LEDs for lighting.

The first step to bring the components from the library and then connect them together on the schematic.

Step 2: Step2: Board Design

After connecting the components on the schematic we should board it, in this step we should arrange the components on the shape we want it to be after PCB process.

After arranging the components we make as a group and then mirror them, this step is very important as we are using a hole throw components and we will solder the component on the top layer and the body of components on the bottom layer.

After the previous step, we draw the paths with thickness 0.56.

Then, draw board around the circuit.

In the second picture, we make the holes only is visible.

for PCB process we gonna use a Moudela machine instead of making it manual.

Step 3: Step3: Layout for Machine.

After boarding, we should export the design as an image to load it in the software program.

The first picture for the making paths.

The second picture for the drilling the holes and cutting the board.

Then we load the pictures on the machine and start the PCB process like you see in the pictures.

Step 4: Step4: the Final Shap for the Circuit

This is how the PCB look like in the end.

Therefore, start soldering your components on the board.

You should cut the extra metal of your component to make it look better.

Step 5: Step5: the Box Design

We learned how to use the solid work in the first assignment, so I decided to draw my design on it as you see in the first picture.

It would be easier if er printed the design instead of cutting it and connecting them together.

After that, we save the file STL extension.and then open it in the software which compatible with the 3D printing machine.

The software we should use is the MakerBot.

After printing module this it will be like.

Comments

author
rafununu made it! (author)2016-09-27

You cannot drive leds in an open collector system without a limiting resistor. You'll burn your leds.

author
DIY Hacks and How Tos made it! (author)2016-09-24

My son would love to have something like this a night light in his room.

About This Instructable

2,762views

12favorites

License:

More by Nada-Mohammed:Smart BackbagBlinking LED Using ArduinoDesk organizer and a box
Add instructable to: