User:Bmai3673/ENES-100/project 2

Week 1 Narrative
The task that I was assigned for the first week of project 2 was to create a design that would fit between the door and the door frame near the center hinges

What was found/done:
 * Space between the door and door frame changes from top to bottom
 * Found that there is approximately 1.5mm of space between the door and door frame near the center
 * To be able to place the scanner between the door and door frame, requires mount to be a peculiar shape
 * Drew simple sketch of the door mount
 * Found dimensions that could fit the shape of the door frame





Next Steps:
 * Print out the design using the 3D printer and check if the dimensions fit the structure
 * If test succeeds then next step is to attach a holder that fits the wired scanner
 * Also need to find a way to keep the mount in place, possibly by using the screws directly above the door hinge panel
 * Accessing aforementioned screws requires use of a power tool, which requires certification for use

Week 2 Narrative
The task that I was assigned was to rebuild the spool that was on the motor pulling the door handle and to take the measurements of the bottom of the barcode scanner stand. My task was to also test the project.

What was learned/achieved:
 * The measurements of the scanner stand had to be as accurate as possible
 * The Makerbot 3D printer cannot take files from Sketchup, file is required to be converted
 * Test run was very successful (link to test run is below)

Next Steps:
 * Add a camera to the project to be able to have a picture of who enters the classroom
 * Add a monitor to display the picture taken to know who is currently active in the classroom
 * Extend the project by also pulling the door open after scanning the barcode on student notebooks

Attendance Scanning Test Run









Week 3 Narrative
The task that was assigned to me was to study and learn how to write code in Python to be able to find a starting point for the next task of re-writing the Attendance Access program.

What was learned:
 * How to create a list
 * How to use if, else, and elif(if-else) statements
 * how to import libraries
 * How to create strings and create variables
 * How to use for-in statements

Next Steps:
 * Look for what is familiar in the java code of the Attendance Access Program
 * Convert the known java code into Python code
 * Once code is fully converted, move the code to a Raspberry Pi

Week 4 Narrative
The task that was assigned to me was to continue learning about python through codecademy and look into pydoc.

what was learned:
 * How to create dictionaries
 * How to insert a list into a dictionary
 * Change values within a dictionary
 * How the 'for' statement could be used with lists and dictionaries
 * Pydoc is used for documentation
 * Pydoc documents automatically
 * Pydoc allows easy access to documentation

What is useful:
 * If pydoc is used simultaneously while rewriting Attendance Access program, steps taken to program becomes easily repeatable
 * csvProcess in Attendance Access program has lists within its 'for' statements
 * the dictionary could possibly have each barcode assigned with the proper name

Next Steps:
 * When programming, use pydoc to document
 * Rewrite csvProcess in Attendance Access
 * Find and use best GUI for this program