{"id":186,"date":"2023-04-09T02:19:13","date_gmt":"2023-04-09T02:19:13","guid":{"rendered":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamc5\/?p=186"},"modified":"2023-04-09T02:19:13","modified_gmt":"2023-04-09T02:19:13","slug":"elinoras-status-report-for-04-08-23","status":"publish","type":"post","link":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamc5\/2023\/04\/09\/elinoras-status-report-for-04-08-23\/","title":{"rendered":"Elinora&#8217;s Status Report for 04\/08\/23"},"content":{"rendered":"<p><span style=\"font-weight: 400\">This week, I continued to work with Sirisha on the accelerometer and it now prints the acceleration values and estimated y velocity values. Initially, while the command \u201c12cdetect -r -y 1\u201d showed that the accelerometer was connected at port 68, we were unable to read the actual data from the accelerometer. We ended up having to solder our wires into the holes of one of our spare accelerometers to make the connection more direct. This soldering process took surprisingly long, but we were able to get values printed to the terminal on the Nano. I also wrote some code to estimate the y velocity based on y acceleration values (standard integration). However, this procedure is not very accurate and estimating the velocity causes drifting errors over time, which could jeopardize the feature of our project in which feedback is given depending on the velocity of the car. We are considering purchasing a new sensor that measures velocity directly to address this issue, but may considering integrating it as a stretch goal because of how much time it took to debug using this accelerometer.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400\">I also set up hosting of our web app using Firebase to <\/span><a href=\"https:\/\/drivewise-ef9a0.web.app\/\"><span style=\"font-weight: 400\">https:\/\/drivewise-ef9a0.web.app\/<\/span><\/a><\/p>\n<p><span style=\"font-weight: 400\">Unfortunately, the WiFi dongle did not arrive until later in the week and I was unable to pick it up and start setting it up to work with the Nano. Otherwise, I am on track with the goals that I set for myself last week and our new Gantt chart.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400\">Next week, I hope to set up the Wifi dongle to work with the Nano, assemble the entire device and test that it still works with the power cord that we have, and work with Sirisha to send data from the Nano to the web app and display it. We want to do this using storage on Firebase.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400\">Here is a breakdown of the tests that I have run and are planning to run:<\/span><\/p>\n<ul>\n<li><span style=\"font-weight: 400\">Accelerometer<\/span>\n<ul>\n<li><span style=\"font-weight: 400\">Try subtracting the average of the first 10 y acceleration readings (per run) to calibrate the sensor before estimating velocity. Then test this in 5 runs when the device is running on a table in HH to determine that the\u00a0<\/span><\/li>\n<li><span style=\"font-weight: 400\">In the car, drive at 4, 5, and 6 mph to test whether the feedback is only triggered at &gt; 5mph. Also test while the car is stationary and on for 5 minutes (making sure that the estimated velocity does not just continue accumulating).\u00a0<\/span><\/li>\n<\/ul>\n<\/li>\n<li><span style=\"font-weight: 400\">Web App<\/span>\n<ul>\n<li><span style=\"font-weight: 400\">Test that the recorded data displays correctly on the web app<\/span><\/li>\n<li><span style=\"font-weight: 400\">Check that a user only views data from their device by doing 1 ride with a set device id of 0 and 1 test ride with a set device id of 1 and make different login accounts for each<\/span><\/li>\n<li><span style=\"font-weight: 400\">Test that multiple users can be logged into different accounts on the hosted web app at the same time<\/span><\/li>\n<\/ul>\n<\/li>\n<li><span style=\"font-weight: 400\">Jetson Nano<\/span>\n<ul>\n<li><span style=\"font-weight: 400\">Test that the Nano is able to be powered by the car (with USB A to USB C cord plugged into USB A port on car)<\/span><\/li>\n<\/ul>\n<\/li>\n<li><span style=\"font-weight: 400\">Overall System<\/span>\n<ul>\n<li><span style=\"font-weight: 400\">Test each of our distraction cases in ideal conditions in both a stationary and moving car in an empty parking lot<\/span><\/li>\n<li><span style=\"font-weight: 400\">Test each of our distraction cases (other than blinking) in nonideal conditions in both a stationary and moving (very slow) car in an empty parking lot<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>This week, I continued to work with Sirisha on the accelerometer and it now prints the acceleration values and estimated y velocity values. Initially, while the command \u201c12cdetect -r -y 1\u201d showed that the accelerometer was connected at port 68, we were unable to read the actual data from the accelerometer. We ended up having &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamc5\/2023\/04\/09\/elinoras-status-report-for-04-08-23\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Elinora&#8217;s Status Report for 04\/08\/23&#8221;<\/span><\/a><\/p>\n","protected":false},"author":661,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[6],"_links":{"self":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamc5\/wp-json\/wp\/v2\/posts\/186"}],"collection":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamc5\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamc5\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamc5\/wp-json\/wp\/v2\/users\/661"}],"replies":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamc5\/wp-json\/wp\/v2\/comments?post=186"}],"version-history":[{"count":2,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamc5\/wp-json\/wp\/v2\/posts\/186\/revisions"}],"predecessor-version":[{"id":188,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamc5\/wp-json\/wp\/v2\/posts\/186\/revisions\/188"}],"wp:attachment":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamc5\/wp-json\/wp\/v2\/media?parent=186"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamc5\/wp-json\/wp\/v2\/categories?post=186"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s23-teamc5\/wp-json\/wp\/v2\/tags?post=186"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}