Difference between revisions of "Headband Helper Log"
Jump to navigation
Jump to search
Line 72: | Line 72: | ||
*updated database schema diagram (Katy, 30 minutes) | *updated database schema diagram (Katy, 30 minutes) | ||
[[File: database_schema_2.JPG|800px|Database Schema]] | [[File: database_schema_2.JPG|800px|Database Schema]] | ||
− | + | *should we consider making the web interface secure, like requiring a username/password? Maybe a reach goal? | |
'''Goals for next week:''' | '''Goals for next week:''' |
Revision as of 02:15, 24 February 2019
Contents
Links
Week of January 27th - February 2nd
Monday 1/28:
- Met with Professor Feher and Ethan Shry (TA) to discuss which direction to take our project. In the end, we settled on doing a wearable headband that has a Rasberry Pi and accelerometer that can collect impact data and transmit it to a web platform for interpretation (Jarrod, Katy, 30 min).
Thursday 1/21:
- Researched causes of concussions and CTE. Determined that tracking many minor collisions with the purpose of developing a conclusion about an individual's risk for CTE would be challenging because there is limited research in that area. Decided instead to continue forward with tracking concussions, which occur when an individual sustains 95g's to the head (Jarrod, Katy, 30 min)
Friday 2/1:
- 3rd class meeting and discussed our next steps for project development (Jarrod, Katy, 1 hour)
- Updated our Wiki page (finalized name "Headband Helper")
- Assigned the nightlight project and the blackjack project.
- Jarrod will focus on the nightlight project
- Katy will focus on blackjack
- Katy was briefed after class on the blackjack project, while Jarrod continued formatting the Wiki page and updated the weekly log. We will likely meet over the weekend before our Monday meeting to finalize project proposal and discuss scheduling.
Sunday 2/3:
- Started blackjack project (downloaded Node, set up MySQL database- unsure of step about creating project directory) (Katy, 2 hours)
- Reformatted wiki page, with updates including: reworked Gantt Chart, updated budget, challenges, and minor format changes (Jarrod, 30 minutes)
- Researched parts necessary to build network, and settled on an accelerometer (see link on main page) (Jarrod, 45 minutes)
- Learning how to add an image to the wiki took a long time (Jarrod, 45 minutes).
Week of February 3rd - February 9th
Monday 2/4:
- Worked on blackjack tutorial- configured & built API using Node.js (Katy, 1.5 hours)
- Worked on nightlight tutorial- built circuit in breadboard, flashed the Rasberry pi, and started pi on a monitor (Jarrod, 2 hours).
- Entire team (including professor and TA) met to discuss what to do moving forward, namely: what type of communications our project would use, what our final design will look like, and possible stretch objectives. (Jarrod, Katy, 30 minutes)
Thursday 2/7:
- Continued to research our accelerometer system and how to implement it with respect to our system. Also discussed system design and what final product will look like/steps it will take to get there. (Jarrod, Katy, 1 hour)
Friday 2/8:
- Had weekly meeting in Cupples II. Discussed what we needed to have by our Monday meeting with TA and Professor, as well as what parts we should order (Jarrod, Katy, 45 minutes)
Saturday 2/9:
- Created presentation for Friday (Katy, 1 hour)
- Continued working on blackjack tutorial- created API routes, client webpage, researched asynchronous HTTP calls (Katy, 1 hour).
Week of February 10th - February 16th
Monday, 2/11:
- Entire team met to discuss project. Discussed accelerometers and batteries to order, need to improve Gantt chart, wiki page, and presentation (Jarrod, Katy, 30 minutes)
- Updated Gantt chart (Jarrod, Katy, 30 minutes)
- Researched batteries (Jarrod, Katy, 30 minutes)
- Determined 1000mAh battery is sufficient (based on research from this website[1]) (Katy, 15 minutes)
- Updated Wiki (Katy, 15 minutes)
- Began SSHing with the raspberry pi; got to the point where I can send a test email from the pi to my email address (Jarrod, 1 hour)
Friday, 2/15:
- Had weekly meeting in Cupples II, watched presentations by other groups. Also discussed ordering parts, determined we will start by using a larger battery for simplicity and then miniaturize later if possible (Jarrod, Katy, 1 hour)
Saturday, 2/16:
- Finished Blackjack tutorial, however when attempting to test it using npm start command, received an error saying "Cannot find module 'mysql'" Attempted to debug this error and noticed that my package.json file does not have a section titled requirements which contains the four packages (axios, mysql, express, & body-parser) although it does contain a node_modules folder with hundreds of subfolders. There are four files in the node_modules folder titled axios, mysql, express, & body-parser, but I'm not sure they are the same as the ones I am missing in my package.json folder. (Katy, 1 hour).
- Created rough draft of database schema (Katy, 30 minutes)
- Finished SSHing tutorial for the Raspberry Pi. Troubleshooting took the majority of time, with problems including: inability to launch certain command functions; failing to transmit actual IP address in reboot email; and getting the device to connect to Wi-Fi. However, all debugging was successfull, and pi performs as expected. (Jarrod, 1 hour and 30 minutes).
- Updated Gantt Chart with post-Spring Break goals, and worked on presentation. (Jarrod, 30 minutes).
- Created rough draft of API routes (Katy, 30 minutes)
Week of February 17th - February 23rd
Monday, 2/18:
- Entire team met to discuss project. Discussed strategies for communication from Pi to the internet. We are considering adding a WiFi dongle to the Pi to allow it to simultaneously receive data from the helmets and broadcast this data to the server. Also discussed preliminary strategies for filtering data, as well as goals for upcoming week. (Jarrod, Katy, 30 minutes)
- Walked through API routes and database structure with Ethan following the meeting. Will attach picture of updated database structure and post link to updated API routes. (Jarrod, Katy, 30 minutes)
- Worked on AWS Lightsail tutorial. Got through spinning up a server instance, configuring the static IP, and installing the server software (nodejs/pm2) (Katy, 1 hour).
- Worked on Pi/LED function. First step was to build a circuit and write code that would turn the LED on from the Pi, which was successfully done. Next, worked on adding input/output functionality to circuit (using a button). Ideally, want the light to turn on when button is pressed, off when released. This took a while, and I was unsuccessful on my first attempt: plan on returning another time during this week. All coding was done with python directly through the Pi's terminal. Two files created: LED.py and button.py. Wired circuit to GPIO pins on pi, and learned what they all do (via google search of pi 3 B+ pinout). One fun troubleshooting mishap: was trying to use male-male wire to connect to GPIO pins, and didn't realize why it was so hard. After asking TA, learned they had male-female wires, which were infinitely more effective. (Jarrod, 1 hour 30 minutes).
Tuesday, 2/19:
- Continued work on input/output via GPIO pins on pi. Scrapped code button.py and found a different website, made new file called button2.py (clever) and wired the system. See picture of wired system. LED turns on when button is pressed, and off when released. Additionally, on/off appears in command window. Next Steps will likely be to add a blink code, that makes LED blink when button is pressed. (Jarrod, 1 Hour 15 minutes).
Thursday, 2/20:
- Worked on presentation, rehearsed (Jarrod, Katy, 45 minutes)
Friday, 2/22:
- Class meeting- presented proposal (Jarrod, Katy, 45 minutes)
- Accelerometers arrived!
Saturday, 2/23:
- updated database schema diagram (Katy, 30 minutes)
- should we consider making the web interface secure, like requiring a username/password? Maybe a reach goal?
Goals for next week: