Difference between revisions of "Lock Box Log"

From ESE205 Wiki
Jump to navigation Jump to search
m (Protected "Lock Box Log" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(15 intermediate revisions by 2 users not shown)
Line 47: Line 47:
  
 
[[Media:Dial_Hall_Sensor_Circuit_LockBox.jpg]]
 
[[Media:Dial_Hall_Sensor_Circuit_LockBox.jpg]]
[[Media:Button_Circuit.ogg]]
+
[[Media:Button_Circuit.jpg]]
[[Media:Green_LED_Circuit.ogg]]
+
[[Media:Green_LED_Circuit.jpg]]
[[Media:Red_LED_Circuit.ogg]]
+
[[Media:Red_LED_Circuit.jpg]]
  
 
==Week of October 20==
 
==Week of October 20==
 
<br />
 
<br />
 
Sam spent 2 hours updating the wiki page, adding pictures and revised details. He made some more progress on the concept of what the underside of the lid will look like. Here is a link to the latest version of the design for the underside of the lid.
 
Sam spent 2 hours updating the wiki page, adding pictures and revised details. He made some more progress on the concept of what the underside of the lid will look like. Here is a link to the latest version of the design for the underside of the lid.
[[Media:Lid_Diagram_LockBox.ogg]]
+
[[Media:Lid_Diagram_LockBox.jpg]]
 +
 
 +
Jerry spent 2 hrs in the lab testing the hall effect and got an idea of how far away should the magnet be from the sensor. Jerry also fixed the button. Jerry is also going to the lab to work on the circuit tonight for 2 hrs to see how the new circuit drew by Sam works.
 +
 
 +
==Week of October 27==
 +
<br />
 +
Sam and Jerry spent 4 hrs in the lab connecting all the hall effect sensors, 3 LEDs and one button into the bread board and made sure all of the sensors are working.
 +
Sam did some more changes to the 3D model of the lid and made some more changes to the code (2.5 hours).
 +
 
 +
==Week of November 3==
 +
<br />
 +
Sam spent 2 hours trying to fix the code and make it compile and spent 45 minutes adding features to the 3D model of the lid.
 +
 
 +
Jerry spend 2 hrs thinking about what tutorial should we write and read several other tutorial. Jerry will spend more time revising the wiki page(2hrs). We will have a meeting with Mo tomorrow talking about the tutorial.
 +
 
 +
==Week of November 10==
 +
<br />
 +
Sam spent 6 hours debugging the code for the arduino. He also spent half an hour finalizing the 3D models. He plans on having them printed as soon as possible and once that is done, soldering all of the components together and attaching them to the lid. He also needs to test the relay that will be used to provide power to the solenoid.
 +
Jerry spent 2 hrs revising the wiki page and designing the tutorial. Once the 3D printing is done, I will start building the circuits to the final version
 +
 
 +
==Week of November 17==
 +
<br />
 +
Jerry spent 3 hrs in the lab soldering thing together. All the power supply lines and the ground lines are together. Will do the rest with Sam next week.
 +
Sam spent 4 hours soldering the rest of the circuit together and rewiring some.
 +
 
 +
==Week of November 24==
 +
<br />
 +
Jerry spent 3 hrs in the lab learning the solid state relay and made them work and also soldered the SSR and motor to the project. Jerry spent 2 hrs designing and finishing the poster.
 +
Sam spent 10 hours putting all of the components together. He spent 30 minutes working on finalizing the 3D model and printing it. He spent 45 minutes making sure the 3D printed deadbolt and slot in the lid fit together so that the solenoid motor could actually open the box. He spent 5 hours finalizing the code and testing it. He spent 2 hours assembling the box part and attaching the lid that was printed to the box. He spent 45 min editing the poster draft. He spent an hour and a half presenting the project
 +
 
 +
==Week of December 1==
 +
<br />
 +
This week and the following week, Sam spent 10 hours finalizing the wiki and dismantling the project.
  
[[Category:Logs]]
 
 
[[Category:Fall 2017 Logs]]
 
[[Category:Fall 2017 Logs]]

Latest revision as of 12:52, 12 December 2017

thumb Weekly log for Locked Box project

Lock Box Yuanxiao Gao, Samuel Hoff

Week of September 8


We met with Mo, our TA to discuss how we should proceed with our project.

We determined that we are going to 3-D print a box that will be equipped with a camera, raspberry pi, and a locking mechanism. The purpose of this is to unlock or remain locked based on the state of the user’s eyes. Since it is very difficult to detect a true blink, we will use a three-stage passcode. The way this passcode will be input is by flashing an LED and then taking a picture of the user’s face three times. Each time the picture will be assessed by the raspberry pi and, depending on if the state of the eyes in each state matched the current passcode, the box will unlock or not. We also met with Dr. Feher and discussed what the progression of this project is likely to look like. First, we are to figure out facial detection (if we fail at that we will find a more reasonable form of user input). Once this is done, we will upload this code to a raspberry pi and get it to compile there. After this, we will make the box and wire the LEDs and relay to the raspberry pi so that everything works together properly.

Week of September 15


This week, we met to look into the feasibility of us being able to actually implement some form of facial detection library and we deemed it too difficult, especially considering the other tasks we would have to complete along with facial detection. We are likely to pursue a less complicated method. This is likely to include light sensors and an input consisting of blocking those sensors in a pattern. One idea that we are considering is to have some sort of circular dial with a hole in one side of it to allow light through. This hole would only allow light to shine on one sensor at a time and the dial would rotate, like a combination lock. The user would twist it in a combination that is the existing pass code and the box would unlock if the code is correct. This code would be programmable by the user and stored until the user wants to change it.

Week of September 22


light blinks faster and faster

This week in class, we learned about Arduino. And we have decided to make a locked box instead of blink box and we met up, talked about how should the locked box be and came up with its basic model. We will have a (four input) code that the user can unlock the box with and reset. Then we would also have a backup code that is much longer (maybe eight inputs) that can be used to reset the temporary combination in case it has been forgotten. We would also have a button that the user presses to indicate what they want to do: one press for entering the short combination to unlock the box, 2 presses to reset the combination (after entering the correct combination first) and third, holding down the button to reset the shorter combination by using the longer backup combination. We will start wring some code this week.

Week of September 29


This week we finalized the objectives of the project, figured out the budget and all of the parts we need, updated our wiki, and planned our progress with a Gantt chart (Both 1.5 hours - Sam did Gantt and budget with parts, Jerry did Wiki). What we will be doing is making a box that has a dial that the user turns to enter a combination that will unlock the box. The position of the dial will now be found by using Hall effect sensors to sense the presence of the magnet located in the dial. We determined that the hall effect sensors are the best option for this situation because it is likely to be fairly difficult to have a freely moving dial with an LED, which requires wiring. Also, it is possible that an LED could burn out or something could go wrong with the connection, since it is a moving part. We met with Mo, our TA and made some changes to the Wiki project page and the log page and also discussed details of progression of the project (Sam 1 hr). We ordered the parts needed to get started (Sam 30 min). We also made our presentation and rehearsed it for this upcoming Friday (Both 1.5 hr). We also looked into using a Hall effect sensor (Jerry 1 hour). We started writing pseudo code for the Arduino (Sam 1 Hour).

Week of October 6


This week the Hall effect sensors and button arrived. Sam worked some more on the code for the Arduino (4 hr). Sam also brainstormed ways of allowing there to be more than 5 positions on the dial in order to make a more secure combination. He figured out a way of doing this: instead of having a 1 to 1 relationship between Hall effect sensor and Arduino input, treat the inputs like a 4 bit binary number (which is capable of 16 different combinations - 15 in this case since 0000 cannot be used when a signal must be sent) (3 hr). Jerry worked on researching about Hall effect sensors. (2 hr). We did our presentation on Friday and learned about 3D printing. In this week, we will start working on the 3D printing part. Since the button arrived, Jerry will look at how to make the button work. We will meet our TA Mo tomorrow and talk about 3D printing and figure out what shapes of box and lock should be to be 3D printed properly. We also have some problems with putting up our video and presentation on the log which will be discussed tomorrow.

Week of October 13


Sam did more coding for the logic that will be on the Arduino. He had to change a number of things so that the new version of the circuit is accounted for. He also did some organization of code and thinks that it is close to the final product, but it is hard to know without implementing the circuit and physical parts (4 hr).

Sam drew up the circuit designs needed to implement the code, including the two LED's, the button, the 10 Hall effect sensors, but not the locking motor yet, since one still needs to be chosen. We also started to draw up a draft of how all of these components will fit in the box. Since none are incredibly heavy, he thinks that they should all go into the lid and be screwed in or fit snugly into a 3D printed feature of the lid (since the whole lid is going to 3D printed) (2 hr).

Jerry worked in the lab on Friday for 2 hrs watching a tutorial video about hall effect sensors and welded two wires on the button. I was trying to test the hall effect sensors but did not find a power supply. Jerry also successfully uploaded the Arduino video on our log page.

Jerry spent 2 hrs in the lab testing the hall effect sensors by connecting hall effect sensors with Arduino. I also researched something online about 3-D printing.

Both Sam and Jerry spent 2 hours meeting with their instructor and TA and catching up on how the project is going.

Below are the pictures of the circuits.

Media:Dial_Hall_Sensor_Circuit_LockBox.jpg Media:Button_Circuit.jpg Media:Green_LED_Circuit.jpg Media:Red_LED_Circuit.jpg

Week of October 20


Sam spent 2 hours updating the wiki page, adding pictures and revised details. He made some more progress on the concept of what the underside of the lid will look like. Here is a link to the latest version of the design for the underside of the lid. Media:Lid_Diagram_LockBox.jpg

Jerry spent 2 hrs in the lab testing the hall effect and got an idea of how far away should the magnet be from the sensor. Jerry also fixed the button. Jerry is also going to the lab to work on the circuit tonight for 2 hrs to see how the new circuit drew by Sam works.

Week of October 27


Sam and Jerry spent 4 hrs in the lab connecting all the hall effect sensors, 3 LEDs and one button into the bread board and made sure all of the sensors are working. Sam did some more changes to the 3D model of the lid and made some more changes to the code (2.5 hours).

Week of November 3


Sam spent 2 hours trying to fix the code and make it compile and spent 45 minutes adding features to the 3D model of the lid.

Jerry spend 2 hrs thinking about what tutorial should we write and read several other tutorial. Jerry will spend more time revising the wiki page(2hrs). We will have a meeting with Mo tomorrow talking about the tutorial.

Week of November 10


Sam spent 6 hours debugging the code for the arduino. He also spent half an hour finalizing the 3D models. He plans on having them printed as soon as possible and once that is done, soldering all of the components together and attaching them to the lid. He also needs to test the relay that will be used to provide power to the solenoid. Jerry spent 2 hrs revising the wiki page and designing the tutorial. Once the 3D printing is done, I will start building the circuits to the final version

Week of November 17


Jerry spent 3 hrs in the lab soldering thing together. All the power supply lines and the ground lines are together. Will do the rest with Sam next week. Sam spent 4 hours soldering the rest of the circuit together and rewiring some.

Week of November 24


Jerry spent 3 hrs in the lab learning the solid state relay and made them work and also soldered the SSR and motor to the project. Jerry spent 2 hrs designing and finishing the poster. Sam spent 10 hours putting all of the components together. He spent 30 minutes working on finalizing the 3D model and printing it. He spent 45 minutes making sure the 3D printed deadbolt and slot in the lid fit together so that the solenoid motor could actually open the box. He spent 5 hours finalizing the code and testing it. He spent 2 hours assembling the box part and attaching the lid that was printed to the box. He spent 45 min editing the poster draft. He spent an hour and a half presenting the project

Week of December 1


This week and the following week, Sam spent 10 hours finalizing the wiki and dismantling the project.