Introduction: Automatically Night Light

Here is the automatic night light, it would light up when it detects the darkness. Therefore, after you turn off your light, it would light up by itself, you do not have to turn on the night light by yourself anymore, and you do not too afraid the darkness anymore!

Step 1: Step1: Gather Material

For Model:

  • 1/6" Transparent Green Acrylic -23"X12"
  • Transparent cylinder
  • Cotton
  • Acrylic adhesive (Chloroform)
  • Ruler
  • Laser Cutter
  • Gloves
  • Blinker

For Circuit:

  • Neopixel
  • PIR Sensor
  • Arduino IDE
  • 10K resistor x 2
  • LED
  • Wires
  • Wire Stripper
  • Wire Cutter
  • Helping Hand
  • Soldering Machine
  • Multi-function USB socket

Step 2: Step2: Build the Circuit

    Due to the Neopixel do not connect with any wires, in the beginning, so you have to solder it with wires which could plug into the board by yourself. After solder, you might need the tapes to make sure it would not disconnect while using. However, when you solder the Noepixel with wires, please and make sure do not use the long wire, in case it can not put into your cylinder.

    Step 3: Step 3 : Coding

    Here is the coding I use.
    And if you want, you could make some change with the brightness or sensor, to make it correspond to your expectation more, and it would surprise you!

    Step 4: Step 3 : Draw the Laser Cut File

    In the beginning, I drew the shape of the whole model, and it can help you to figure out how to draw the laser cut files in illustrator. I drew the hole on top of the model to make sure it could be stuck with the transparent cylinder perfectly, and draw the little square hole beside because you need to connect the wires and board through this hole. But please make sure the dimensions and size correspond to your Arduino board size, or you might have difficulty to put it inside.

    However, maybe you would face some problems in this step because do not sure what shape you should cut with the laser cutter. I recommend you to use chipboard to build your model first, and it might help you to figure out what you should draw in the illustrator.

    Step 5: Step 4 : Laser Cut

    I used the big laser cutter(36"x20") to cut the acrylic. And you have to reference the information what speed and frequency you should set in the laser cutter with your material. If you set the wrong setting, it might not able to cut off the acrylic. However, depends on the laser cutter, sometimes it would take twice the time to cut it off, so if it does not cut off at first, you could change the setting or let it cut twice.

    Step 6: Step 4 : Adhesive the Acrylic

    After cut the acrylic materials, and you would get all of the model components which you want. However, when you try to adhesive the acrylic, you have to make sure you use the gloves and eyes protection because the Chloroform would erosion your skin.

    You could pour out the Chloroform into syringes and it is the best way to control the amount of Chloroform when you stick your model together. And the important thing is, do not tear down all of the stick paper on the acrylic because if elsewhere touch with the Chloroform, it would show some mark and make your transparent acrylic not look perfect. After you adhesive your model, you might need to use your hand to hold on the model for 2 minutes before the Chloroform gets dry.

    Step 7: Step 5 : Put All of the Components Together

    Now you have all of your components to build your automatic night light!
    After finish your model, you need to put the circuit into your acrylic model, put the cotton into your transparent cylinder, and put the transparent cylinder into the hole of the model and plug into Neopixel. However, you should plug in the wire through the hole beside the model.

    Step 8: Step6: Run Your Coding

    Upload your coding to your Arduino, and connect it with your Arduino board. And if you did all of the steps rightly, your night light will light up when it detects the darkness, and turn off automatically when it detects the other lights. You could need to turn on and turn off your lights to make sure the night light run well.

    Step 9: Step 7 : Got Your Automatic Night Light!

    After the circuit board already uploaded the coding. You could plug out the wires from your laptop, and plug it into Multi-function USB socket. However, here is your automatic night light!