Home

Team Status Report 04/16/2022

This week as a team we worked together to wrap up integration of the project. We worked on the soldering of new heart rate device, the algorithm of data coming in, and also the front end user feedback. In the coming week, we will be working closely with some of our friends who have not used this app, to test out our device and application to see what are the tweaks needed in the algorithm, user experience, and any changes on the hardware devices.

David’s Status Report 04/16/2022

This past week I worked on finishing up the front end integration with the Smart contract, allowing the front end application to call multiple functions in the smart contract, obtaining the user’s information. I also worked on a timer on the front end application such that it is able to keep track and provide the user with consistent feedback while using our application.

I am on schedule with my parts and we will work together with some of random users to conduct testing and figure out what algorithmic changes we need to fix and also what are the different user interfaces that could be changed to improve the User Experience.

Austin’s Status Report for 4/16/2022

This week I worked on correcting the aggregation of acceleration measurements, ordering materials for the final prototype, and soldering the heart rate sensors.

In our interim demo, I realized that the magnitude of acceleration was not a good measure of how much the acceleration was changing since we have to account for the force due to gravity. We decided on subtracting pairwise magnitude measurements to determine how much the acceleration changed. I spent time on Monday updating the algorithm. I also spent time thinking about how the final prototype would look. I decided on attaching the belt clipped device to the back of the belt since I felt this would be the least distracting place to the user. This location has the added benefit of not allowing the user to recline or lie down comfortably on their back. I decided on the box to house all the hardware for the belt clip device and submitted a purchase order. I also thought about how the heart rate monitor would be attached to the user. I decided on sweatbands since this would be comfortable and submitted a PO for the sweat bands. I also thought about how the circuitry would be connected and decided to use a terminal block shield that would attach to the Arduino.  I will update the schematics from our design review this week to connect to the terminal block instead of directly to the arduino. I also learned how to use solder paste and heat gun to solder the heart rate sensor so far the two HR sensors seem to be working without issue.

This coming week, I will work on updating schematics and building the board that the sensors will plug into.

Lev’s Status Report 04/16/22

This past week I finished up integration with the bluetooth device as well as getting recording data from the microphone. I also wrote the algorithm to run in the Electron app based off of the collected data from the bluetooth device. Moreover, I updated the contracts to allow for seeing how many successful sessions a user has. I also did preliminary tests for the sound levels so that our constants “make sense”. I.e. I did some testing to find what sound level increases should be considered a loud increase.

I am on schedule with my parts and this next week will see a lot of algorithm testing so that we can adjust the parameters. I also plan on helping to clean up the UI/ UX to make it more presentable for the demonstrations.

Team Status Report 4/10/22

This past week we each continued on working on our respective parts as well as coming together to get integration up and running. We now have the Bluetooth fully integrated and are working on smart contract integration. We put together our interim demo as well. We sorted through bugs which related to integration. We also fixed the bluetooth module which burned out. We are currently on schedule and this next week will consist of building the physical enclosure, finishing integration, and write out the algorithm. We have to change our algorithm though to account for variable acceleration positions. We plan on using the difference between the accelerometer readings.

David’s Status Report 04/10/2022

This week, we had our presentations for our checkpoint. As mentioned in the checkpoint, I have been working on the front end application, and more specifically, the integration between front end application with the smart contracts and hardware. Currently, I finished up the signin page to the smart contract with a redirect option for logging into the smart contract. Next, we will be calling functions on the front end application to the smart contract to get the number of tokens and also notifying the smart contract about our focus score.

Lev’s Status Report 04/10/22

This past week I worked to finish integrations between bluetooth and the desktop app. After experimenting with different setups, we noticed that there was no way to have the bluetooth communication and electron app run in the same process (due to node versions). We now have two separate processes running which communicate via file buffers. Moreover, I helped David with integrating the smart contract login as there were some weird Electron JS bugs with redirecting from the blockchain’s login page. Finally, I deployed the smart contracts. I initially ran into bugs relating to deployment. I was able to fix up the deploys by cleaning out my cache. We are on schedule and this next week I plan on finishing up contract, frontend integration and then working on the algorithm.

Austin’s Status Report for 4/10/2022

This week I worked with my team on integration of the Arduino and the Desktop application via bluetooth. This was complicated by the fact that our bluetooth chip burnt up unexpectedly. We were able to acquire a new one before our interim demo. I also prepared for our interim demo by practicing what I was going to say and also listening to Lev and David’s parts for interim demo.

This week I will work with the students in the Electronic Fabrication Lab to get the HR sensor resoldered and also help lev and david with integration of Smart contract with the desktop application.

We are on schedule 🙂

Team Status Report 04/02/2022

This past week we each continued working on our respective parts and also began the integration process. The bluetooth integration was working until the circuit burned out so we are going to use a cable connection for the time being. The smart contract integration is completed on the desktop application but we still need a url for the exact connect. We are on schedule for the most part and can soon start testing the entire device as a whole in the upcoming week.

David’s Status Report 04/02/2022

This past week I worked on the integrations between the smart contract and the desktop application. The main challenge in this part of integration was going through and understanding the Near blockchain, and its innate capabilities. The Near blockchain has various functions such as accounts, wallets, and connection functions. The connection functions have been implemented, and I am currently waiting for a few final touches on the smart contract so that we have an actual smart contract link to connect on the test net. I will work closely with Lev in the following week to finish up the integration between smart contract hardware and desktop app.