Alan’s Status Report for 03/16/24

What did you personally accomplish this week on the project? Give files or photos that demonstrate your progress. Prove to the reader that you put sufficient effort into the project over the course of the week (12+ hours).

This week, I worked on bluetooth. I managed to connect the ItsyBitsy boards to my phone using the Adafruit’s testing app, to my computer using a python script and, finally, to our app (with Erin working on the bluetooth code for React)! I relayed sensor data (temperature, pressure, and color), and tested that transmission is reliable. I also received data back from my cellphone to the Arduino board, also reliably. Furthermore, I wrote the FSM to only relay liquid level data the first time after a bottle is closed (to avoid wasting power).

Other than this, I tested the new waterproof ultrasonic sensor, which doesn’t seem to be working, so I ordered a new one, as well as RS485 communication modules to test with another sensor we had also tried. I did some work (both by myself and with Matt) on capacitance testing, and it seems that the variations found in liquids (from a study done by Matt) are rather small, and heavily affected by room temperature. Finally, I looked into turbidity as a possible metric and ordered a sensor to test it.

• Is your progress on schedule or behind? If you are behind, what actions will be taken to catch up to the project schedule?

On schedule

• What deliverables do you hope to complete in the next week?

Over the next week, I plan on writing a classifier, based on color, density, and possibly capacitance and turbidity, and tests its accuracy with different drinks. For this first step, I will write it in a Python project, for ease of testing.

 

Bluetooth communication:

Arduino serial monitor:

 

Adafruit’s Bluefruit testing app, showing the device, the transmitted data, and the received data:

Alan’s Status Report for 03/09/2024

• What did you personally accomplish this week on the project? Give files or photos that demonstrate your progress. Prove to the reader that you put sufficient effort into the project over the course of the week (12+ hours).

Last week, I mostly work on the design report. Once this was finished, I turned back to the hardware and integration. I helped Matt test the waterproof ultrasonic sensor, and figured out the issue was with the RS485 protocol. I placed the order for the new sensor. I also investigated an issue with an order we hadn’t received (a photoelectric water level sensor) and coordinated to re-place the order – the sensor should be here sometime next week.

Finally, I picked up the Adafruit ItsyBitsy board from receiving, set them up for usage (soldered pins and burned bootloaders) and assembled the bottle circuits on a breadboard! As you can see on the picture, there are two independent circuits. The one on the left is the bottom assembly, with a thermometer, color sensor, and pressure plate, while the one on the right is the top assembly, with an ultrasonic sensor and a pressure plate. I used driver code (adapted and combined from online tutorials) to ensure that all the sensors worked together as I assembled them.

Finally, I began testing the bluetooth connection. I succesfully ran bluetooth code from the ItsyBitsy, but am having issues on the React end.

• Is your progress on schedule or behind? If you are behind, what actions will betaken to catch up to the project schedule?

On schedule

• What deliverables do you hope to complete in the next week?

Next week, I hope to successfully connect the ItsyBitsy board to the app over BLE. I will also write the FSM to only update the level reading when necessary, according to the pressure plate readings.

 

Circuit:

Team’s status report for 03/09/2024

  • What are the most significant risks that could jeopardize the success of the project? How are these risks being managed? What contingency plans are ready?

The main issue we found is that the waterproof ultrasonic sensor we were using was not working as expected. We discovered that this is because it communicated using the Rs485 protocol, and we need an adapter for it to work with the arduino boards, leading to added space, power consumption, and engineering complexity. The order for our contingency plan – a photoelectric water level sensor – had some issues, did not arrive, and needed to be reordered. It should arrive sometime next week, and we will test it as soon as we receive it. We also purchased a sensor that does not require an adapter. In the meantime, we are testing for our proof-of-concept with a non-waterproof ultrasonic sensor.

 

  • Were any changes made to the existing design of the system (requirements, block diagram, system spec, etc)? Why was this change necessary, what costs does the change incur, and how will these costs be mitigated going forward?

We are considering changing the ultrasonic sensor for a photoelectric sensor. We also purchased a new waterproof ultrasonic sensor. We have room in the budget for it, but it can be returned (within 30 days)  if we deem the photoelectric sensor adequate.

 

Please write a paragraph or two describing how the product solution you are designing will meet a specified need…

Part A (Erin): with consideration of global factors. Global factors are world-wide contexts and factors, rather than only local ones. They do not necessarily represent geographic concerns. Global factors do not need to concern every single person in the entire world. Rather, these factors affect people outside of Pittsburgh, or those who are not in an academic environment, or those who are not technologically savvy, etc

The smart water bottle we are proposing will remind people to drink more water and help them meet their intake goals. A smart water bottle like Aqualotol can benefit everyone in the world but more so people in first and second world countries due to the cost of the water bottle. This bottle is also better for people with smart phone access since it will allow them to use the full feature set of the bottle. People who are not good with technology will still be able to use our intuitive UI in the phone app to track their water consumption level. This bottle is meant for anyone who has a smart phone and can afford the bottle. Although this may seem limited, 68% of the world owns a smart phone and many may want to buy the bottle.

 

Part B (Alan): with consideration of cultural factors. Cultural factors are encompass the set of beliefs, moral values, traditions, language, and laws (or rules of behavior) held in common by a nation, a community, or other defined group of people.

It has been concluded that the majority of Americans do not drink enough water each day [1] . The current culture, where people have very busy lifes, is, reasonably, one of the factors that impedes people from hitting their water drinking goals. This water bottle, as it is designed to be carried throughout the day, will help people incorporate more water drinking into their routines, helping in the mitigation of this issue. This effect will be further enhanced by the tracking of the amount of water drank, the reminders sent when the user hasn’t been drinking enough, and the social media hydration-streak tracking, allowing friends of the user to remind them to drink more water. Thus, our project can help improve water consumption among Americans, incentivizing healthier habits and reducing the health issues that stem from insufficient water consumption.

 

Sources:

1-https://civicscience.com/forty-seven-percent-of-americans-dont-drink-enough-water-plus-more-h2o-insights/

 

Part C (Matt): with consideration of environmental factors. Environmental factors are concerned with the environment as it relates to living organisms and natural resources.

The aqualotl project takes into account major environmental factors, since it is a smart and refillable water bottle. Plastic water bottles litter the ocean, and are harmful to the environment, causing the deaths of the unfortunate sea creatures who happen to stumble upon them. In fact, 500 billion plastic water bottles are being used each year, but at least 250 billion of it isnt properly recycled, and is usually littered and it is estimated that around 9 million tons of plastic waste is dumped into the ocean per year. We hope that our bottle will help promote reusable water bottles, instead of one time usage ones that several consumers are accustomed to today, as well as reducing the need for people to litter the environment.

Team Status Reports for 02/10/24

  1. What are the most significant risks that could jeopardize the success of the project? How are these risks being managed? What contingency plans are ready?

Right now, the most significant risks to our project are related to sensors. We don’t have many sensors yet, and we must test them to ensure that they will work as expected. Our contingency plans are to use different sensors for each characteristic of the liquid we want to measure, in case we determine that a sensor is not a viable choice.

2. Were any changes made to the existing design of the system (requirements, block diagram, system spec, etc)? Why was this change necessary, what costs does the change incur, and how will these costs be mitigated going forward?

No changes have been made yet. Over this week, we will work on updating the use-case requirements as requested in our presentation feedback. This will probably not cause major changes but will give us a clearer direction in terms of latency, battery life, and food safety.

3. Provide an updated schedule if changes have occurred.

-Nothing

 

4. This is also the place to put some photos of your progress or to brag about a component you got working.

-Nothing

Alan’s status report for 02/17/24

  • What did you personally accomplish this week on the project? Give files or

photos that demonstrate your progress. Prove to the reader that you put sufficient

effort into the project over the course of the week (12+ hours).

At the start of the week, I spent a lot of time setting up my environment for React Native development (I ran into a lot of problems during set up, but was able to figure them out). After this, I did some work on addressing the feedback we had received from our last presentation. I found the 3-A sanitary standards for sensors (https://www.omega.com/en-us/resources/3a-sensors-sanitary-applications ), which I used to updated our use-case requirements. I also updated other use case requirements on which we had received feedback. Then, I worked on the slides for the design review and on rehearsing the presentation. I also did an initial draft (in bullet points) of our design review writeup.

In the meantime, as a team, we analyzed some more materials for the project, and I placed most of the orders and tracked them in the BOM. Finally, I did some more reading on React Native and Arduino bluetooth interaction and analyzed options for libraries to use in this space.

  • Is your progress on schedule or behind? If you are behind, what actions will betaken to catch up to the project schedule?

My progress is on schedule.

 

  • What deliverables do you hope to complete in the next week?

By next week, we should receive our second bluetooth-capable Seeed board. Once I have that (which should be on Monday), I will use it to test bluetooth code from the arduino end. I will also work on adding boilerplate code for the React Native Bluetooth interaction. Finally, I will (in collaboration with other team members) turn the Design Review draft into a much more developed version (as it is due on the 31st), incorporating the feedback we receive in our Design Review presentation.

Alan’s Status Report for 02/10/2024

  • What did you personally accomplish this week on the project?

At the start of the week, I worked on the presentation. I helped come up with the technical requirements and their quantifications. This included doing research on machine learning models and their accuracy and on tolerances for food items according to the FDA. I then helped Erin prepare for our presentation, rehearsing with her a few times and thinking about how to best present each idea. After this, I spent some time reviewing the slides and our project so I could be prepared to answer questions after the presentation.

Once the presentation was over, my work this week was mostly exploratory. I’ve been looking into how to interact with bluetooth data, both from the arduino end and from the react end. I’ve been setting up my environment to start developing in react native, and I’ve been refreshing my knowledge of React Native, since it’s been a long time since I last used it. I also helped select the sensors we’ll order (over our group meeting), for which I’ll place orders this weekend so they can be reviewed by the next cycle, early next week. Matthew gave me an Arduino I will use to help test sensors, once we get more (we currently have one, which Matt has). I have created a file to organize the reference links I am using to study for this project. Lastly, I have started a spreadsheet to be used as a bill of materials so that we track what we use over the course of the project, making it easier to create a final bill of materials at the end of the semester.

 

  • Is your progress on schedule or behind? If you are behind, what actions will be taken to catch up to the project schedule?

My progress is on schedule.

 

  • What deliverables do you hope to complete in the next week?

By next week, I hope to be fully set up with my environment and up to speed in react native. I will also have ordered the sensors, and, since some will be over Amazon (shipped in two days with Prime), I will probably have sensors I can start testing.

Lastly, given the feedback we have received on our presentation, I will work on better specifying our requirements, particularly in terms of food safety. I will create an updated list of requirements considering “latency, food safety, and battery life considerations” (from the feedback) and will review it with the team and present it to our TA.