Category: Lev Stambler’s Status Reports

Lev’s Status Report 04/30/22

This past week, I fixed up some bugs with the smart contract integration. I also helped out with the final presentation. Moreover, we worked to get the finished box together and integrated with the app. I also added more styling to the frontend. Moreover, I added better adjustibility to the demo so that we can run it more easily. This next week, I will continue finicking with some of the parameters as well as prepare for the final demo, final poster, final video, and final paper. We are currently on schedule.

Lev’s Status Report 04/23/22

This past week I spent some time testing out our algorithm and adjusting specific parameters. I found that we had to decrease the noise threshold for tripping the sound parameter. I also worked on trying to fix some of the issues presented by the heart rate sensor. The sensor gives an inconsistent readout, especially on the wrist. I tried to see if it was possible to improve the readout by using a Fast Fourier Transform on the signal from the HR monitor. Unfortunately, the signal itself is not reliable enough, as if the heart rate monitor momentarily is unable to pick up a pulse, then the Heart Rate given by the fourier transform is inaccurate. Moreover, I worked to fix up some bugs. The algorithm code had some problems where it did not fail if there were 2 criteria tripped. Also, I worked on helping to improve some of the frontend style.

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.

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.

Lev’s Status Report for 04/02/2022

This past week I worked on the integrations between the hardware and the software. I first had to update the Electron desktop app to use a different framework so that it could integrate with the bluetooth. I then added bluetooth scanning and connecting to the electron app. There was some difficultly with getting electron to work with Linux and Bluetooth. I subsequently attempted to connect the Arduino to the Electron App. I believe that I got them to connect but the bluetooth module immediately burned out. We now have to attempt to integrate via Serial (usb cable) for the time being and then attempt to get bluetooth to fully work. This next week I plan on finnishing the integrations and working with David on the smart contract integrations. I am mostly on schedule but have to put some extra work in to catch up on Bluetooth integrations.

Lev’s Status Report for 03/26/2022

This past week I have expanded upon the smart contract testing as well as found a few bugs. For example, there was a bug with data storage on the blockchain that testing caught. I then debugged and fixed it. Moreover, I started outlining how integration will occur. I also attended the ethics sessions as well as grabbed the parts which were delivered. Overall, we are mostly on schedule but need to work hard to get integration in on time.

Lev’s Status Report for 03/19/2022

This week, I worked on the smart contracts. I first set up the repository and added the outline defined in our design doc. I then wrote some basic unit test to help guide the development process.

From there I wrote out the start and stop pomodoro function as well as functions to get the current state.

The repository can be found on Github. Up next is to write more thorough tests and then deploy the contract. I subsequently will work with David to integrate the smart contracts into the desktop app.

Also, I ordered a heart rate sensor and radio reciever for the Arduino on Amazon this week.

Currently, I am on schedule.

Lev’s Status Report for 02/26/2022

This week I worked on the design proposal slides and documentation. I finalized the smart contract design as well as helped with finalization of the algorithm. Moreover, I helped with the presentation and put together the testing/ verification part of the design and the use case requirements. I continued to work on Near as well and have been writing core libraries (which can be found on Github) for the smart contracts.

In terms of the design proposal doc, I put together the overall template, began filling in the introduction, and use case requirements, as well as the figures and algorithm implementation.

We are on schedule and this following week I plan on helping to finish the design doc as well as continue with the smart contracts, hopefully finishing or approaching a finish of the basic contract.

Lev’s Status Report for 12/12/2022

This past week I helped in creating the proposal presentation as well as presented it. I also started working out specific details of the design. I put some time into researching and learning about blockchain programming. I looked into programming on various blockchains, such as Solana, Ethereum, and Near. After, I decided that Near made the most sense as it has a low latency and simple on boarding process. I then spent 4 hours on Near University (found at https://www.near.university/) to learn Near programming and get a feel for its development processes. Our project is currently on schedule. Next week, I hope to spec out the interfaces and data structures needed for both the smart contracts and the desktop app and design the specific code structure. I also hope to start helping with preliminary mock ups of the frontend design.