Difference between revisions of "Night Light"

From ESE205 Wiki
Jump to navigation Jump to search
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
== Project Overview ==
 
== Project Overview ==
 +
'''Link to the Night Light Log:'''
 +
[[Night_Light_Log|https://classes.engineering.wustl.edu/ese205/core/index.php?title=Night_Light_Log]]
 +
 
It was a dark and stormy night... and it was so dark and stormy that you were in your house and couldn't see anything and tripped, fell and broke your arm. We wish to solve this epidemic of broken arms due to it being too dark by creating a light which automatically turns on in the dark, lighting up the darkness and making nighttime navigation possible!
 
It was a dark and stormy night... and it was so dark and stormy that you were in your house and couldn't see anything and tripped, fell and broke your arm. We wish to solve this epidemic of broken arms due to it being too dark by creating a light which automatically turns on in the dark, lighting up the darkness and making nighttime navigation possible!
 
=== Group Members ===
 
=== Group Members ===
Line 11: Line 14:
  
 
We wish to construct a night light so that we are able to find our way around the house at night, even without turning the lights on, without having to manually flip a switch. We want to be able to put our night light into a standard light socket so that there is a way to store the night light easily without concern for losing it or stepping on it, and we also want there to be a way to turn the light on and off so as to not waste battery when not in use.
 
We wish to construct a night light so that we are able to find our way around the house at night, even without turning the lights on, without having to manually flip a switch. We want to be able to put our night light into a standard light socket so that there is a way to store the night light easily without concern for losing it or stepping on it, and we also want there to be a way to turn the light on and off so as to not waste battery when not in use.
 +
 +
 +
=== Challenges ===
 +
 +
Most of this should be relatively straightforward, however soldering onto perfboard is notorious for being easy to miss connections or accidentally connect things that weren't supposed to be connected. It is advisable to carefully lay out the components on the board, and to double and triple check the schematic while assembling the circuit.
  
 
=== Gantt Chart ===
 
=== Gantt Chart ===
Line 18: Line 26:
 
=== Budget ===
 
=== Budget ===
  
100K Ohm Resistor:
+
100K Ohm Resistor: $0.66
330 Ohm Resistor:
+
 
Photo Resistor (5mm GL5537):
+
330 Ohm Resistor: $0.10
9V Battery:
+
 
2N3904 NPM transistor:
+
Photo Resistor (5mm GL5537): $1.78
2 5mm white LEDs:
+
 
Slide Switch (adafruit product #805):
+
9V Battery: $1.89
 +
 
 +
9V Battery Lead: $0.60
 +
 
 +
2N3904 NPN transistor: $0.21
 +
 
 +
2 5mm white LEDs: 2x $0.12
  
Total Cost:
+
Slide Switch: $3.84
  
== Code and CAD Files ==
+
Total Cost: $9.08
  
All the CAD Files for this project can be found on TODO PUT LINK HERE
+
'''Link to Digikey BoM:''' https://www.digikey.com/BOM/View/Index/7736660
  
 
== Design And Solutions ==
 
== Design And Solutions ==
  
 +
=== The Housing ===
 +
 +
For the housing, we designed a very simple box to house our night light. Due to time constraints we drilled holes in the box to fit the LEDs and photoresistor, but in the future we would make sure to take the time to design a box which fits the components better.
 +
 +
=== The Electronics ===
 +
 +
For the electronics, we simply soldered our components onto the perfboard as per the schematic. We did have an issue where we accidentally soldered a component on in an improper orientation, however with a little tinkering we were able to route the circuit appropriately so that our light lights up.
 +
 +
== Results ==
 +
 +
Our box works basically as intended. When the photoresistor loses visibility to light, the two LEDs turn on as expected, and the switch allows the user to turn the circuit off for long-term storage.
 +
 +
=== Shortcomings ===
 +
 +
Overall our project went well, however we had a few issues. Our box design wasn't very robust- we ended up simply drilling holes in the box and taping it back together, where it would have been much more ideal if we had learned more about CAD and designed the box to have the proper cutouts and attachment points. Additionally, we dealt with our soldering issue by hacking some circuitry together, where it would have been more optimal to take the extra resources to redo the circuit (which we didn't do due to budget constraints).
 +
 +
=== Next Steps ===
 +
It has come to our attention that some basement dwellers who live in low-light environments are unable to use our product because it never turns off. In the next iteration of the project, we will add a potentiometer to adjust the amount of light required to turn on/off the night light.
 +
 +
=== Poster ===
 +
 +
N/A
 +
 +
=== External Links ===
 +
 +
CAD Files can be found here (TODO put link here)
  
Night Light Log:
 
TODO INSERT LINK HERE
 
 
[[Category:Projects]]
 
[[Category:Projects]]
 
[[Category:Fall 2018 Projects]]
 
[[Category:Fall 2018 Projects]]

Latest revision as of 20:28, 2 January 2019

Project Overview

Link to the Night Light Log: https://classes.engineering.wustl.edu/ese205/core/index.php?title=Night_Light_Log

It was a dark and stormy night... and it was so dark and stormy that you were in your house and couldn't see anything and tripped, fell and broke your arm. We wish to solve this epidemic of broken arms due to it being too dark by creating a light which automatically turns on in the dark, lighting up the darkness and making nighttime navigation possible!

Group Members

  • Ethan Shry
  • Tony Sancho-Spore

Project Proposal

N/A

Objectives

We wish to construct a night light so that we are able to find our way around the house at night, even without turning the lights on, without having to manually flip a switch. We want to be able to put our night light into a standard light socket so that there is a way to store the night light easily without concern for losing it or stepping on it, and we also want there to be a way to turn the light on and off so as to not waste battery when not in use.


Challenges

Most of this should be relatively straightforward, however soldering onto perfboard is notorious for being easy to miss connections or accidentally connect things that weren't supposed to be connected. It is advisable to carefully lay out the components on the board, and to double and triple check the schematic while assembling the circuit.

Gantt Chart

Night-light-gantt-chart.png Media:Night-light-gantt-chart.png

Budget

100K Ohm Resistor: $0.66

330 Ohm Resistor: $0.10

Photo Resistor (5mm GL5537): $1.78

9V Battery: $1.89

9V Battery Lead: $0.60

2N3904 NPN transistor: $0.21

2 5mm white LEDs: 2x $0.12

Slide Switch: $3.84

Total Cost: $9.08

Link to Digikey BoM: https://www.digikey.com/BOM/View/Index/7736660

Design And Solutions

The Housing

For the housing, we designed a very simple box to house our night light. Due to time constraints we drilled holes in the box to fit the LEDs and photoresistor, but in the future we would make sure to take the time to design a box which fits the components better.

The Electronics

For the electronics, we simply soldered our components onto the perfboard as per the schematic. We did have an issue where we accidentally soldered a component on in an improper orientation, however with a little tinkering we were able to route the circuit appropriately so that our light lights up.

Results

Our box works basically as intended. When the photoresistor loses visibility to light, the two LEDs turn on as expected, and the switch allows the user to turn the circuit off for long-term storage.

Shortcomings

Overall our project went well, however we had a few issues. Our box design wasn't very robust- we ended up simply drilling holes in the box and taping it back together, where it would have been much more ideal if we had learned more about CAD and designed the box to have the proper cutouts and attachment points. Additionally, we dealt with our soldering issue by hacking some circuitry together, where it would have been more optimal to take the extra resources to redo the circuit (which we didn't do due to budget constraints).

Next Steps

It has come to our attention that some basement dwellers who live in low-light environments are unable to use our product because it never turns off. In the next iteration of the project, we will add a potentiometer to adjust the amount of light required to turn on/off the night light.

Poster

N/A

External Links

CAD Files can be found here (TODO put link here)