Difference between revisions of "Night Light"

From ESE205 Wiki
Jump to navigation Jump to search
Line 11: Line 11:
  
 
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- soldering with the perfboard may get a little hairy if we don't plan it out properly, so we'll need to take our time with that step.
  
 
=== Gantt Chart ===
 
=== Gantt Chart ===
Line 34: Line 39:
 
Total Cost: $3.43
 
Total Cost: $3.43
  
== Code and CAD Files ==
+
== 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.
  
All the CAD Files for this project can be found on TODO PUT LINK HERE
+
=== Shortcomings ===
  
== Design And Solutions ==
+
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).
 +
 
 +
=== Poster ===
 +
 
 +
N/A
 +
 
 +
=== External Links ===
  
 +
CAD Files can be found here (TODO put link here)
  
 
Night Light Log:
 
Night Light Log:
TODO INSERT LINK HERE
+
[[Night_Light_Log|https://classes.engineering.wustl.edu/ese205/core/index.php?title=Night_Light_Log]]
 
[[Category:Projects]]
 
[[Category:Projects]]
 
[[Category:Fall 2018 Projects]]
 
[[Category:Fall 2018 Projects]]

Revision as of 21:28, 5 September 2018

Project Overview

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- soldering with the perfboard may get a little hairy if we don't plan it out properly, so we'll need to take our time with that step.

Gantt Chart

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

Budget

100K Ohm Resistor: $0.00475

330 Ohm Resistor: $0.00475

Photo Resistor (5mm GL5537): $1.50

9V Battery: $0.54

2N3904 NPM transistor: $0.19

2 5mm white LEDs: 2x $0.12

Slide Switch (adafruit product #805): $0.95

Total Cost: $3.43

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).

Poster

N/A

External Links

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

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