MeeDm’s Status Report for 10/22/2021

This week I made lots of progress on the actual coding. Tarush and I have already completely decided on how to pass files between each other. I’ve finished writing code that reads in the correct values from a json file (information about the cat and owner) then uses those values to calculate other values such as volume of food/water, which user folder to put the information into, and which cat’s file to put it into as well. I’ve then written all of those values to a text file (probably change later to json file). We’ve also finally figured out how to connect via bluetooth to the demo tag. I’ve been able to take a look at all the characteristics of the tag and can read the values. We have to finalize which characteristics to look at and how to write to it, but that part is not as bad to figure out. I would say I’m on track.

For next week, my goal is to CAD design the load cell and rfid reader, and finish up figuring out how to read and write from the tag and finish up the whole pipeline.

MeeDm’s Status Report for 10/16/2021

I worked on pretty much half if not more of the design report. Specifically, I wrote up the introduction, design requirements, the main components of the system architecture section, the Tags section of the design trade studies, the system description section, budget and ethical issues. I also formatted the document for the team. I easily spent at least 7-8 hours on this review report.

During class times, I’ve been using bluepy in more detail. Since we switched our raspberry pi, I’ve had to set things up again. I’m figuring out how to figure out how to make the peripheral’s that are a little different discoverable, but I’ve had to put that on the back burner for the design review report.

By the end of the weekend I will have the code ready to connect to the demo tags and send a simple json file to the web app. Honestly I’m still a bit behind on the actual things for the project, and that’s because I had to take a hit with the design review since I didn’t expect to have to do so much work for that.

MeeDm’s Status Report for 10/9/2021

This week I prepped mostly for the presentation. After working on the slides I practiced many times on Tuesday to ensure I was ready for the presentation.
I also worked on implementing the bluepy module in a python script. I’m waiting for the Bluetooth module to be in the lab. I’ve also done research on what procedure I would use to send a request to the tags and what format to read them in with. I’ve found some sources online that have similar iot sensors and hubs, and I’ve started modeling my code off of those.
I’ve also set up the raspberry pi 4 in the lab. I have yet to set up exactly the bluepy on this specific pi.
I’m a little behind this week, but I hope that next week I’ll be able to work more in depth with the demo tags and get some more substantial work done. I was a little preoccupied with the presentation, but next week I hope to get more done in the progress of the project.

Lucas’s Status Report: 10/9

This week mainly saw me helping the team write the design report and develop the tag pcb schematics and layouts. With the prototype schematics just about done, I am now moving on to finishing the layouts and getting the pcb’s and parts ordered. The delays to the hardware schedule currently present a pretty large risk to the project, so I am working hard to close the gap.

I also worked on getting our prototypical RFID tag antenna built using the custom 3D printed ring.

I will primarily be working on the design report with MeeDm and Tarush throughout the first half of this week while the second half will see me getting the pcb’s ordered. If there is time, I will also be working on getting Shelley operational.

Finally, the DA14531 development boards I ordered have arrived meaning that I can get firmware development properly underway. This week I will aim to at least get a “hello world” program successfully flashed to the dev board.

Team Status Report: 10/9

This week, MeeDm presented our design review presentation. Way to go MeeDm!

The team spent most of the week working on the design report while each member also made progress in their own area. Lucas developed the schematics for the prototypical bluetooth tags, Tarush finalized the development stack for the web app and got the RPI 4 hub set up with Django, and MeeDm conducted further research on what constitutes irregular cat eating habits – to that end, she reached out to her vet but has not yet heard back.

With the demo tag hardware built, MeeDm and Tarush will begin working on integrating the full tag-to-hub pipeline, while Lucas will primarily work on getting the tag pcb layouts finished and ordered. We have also finally received our shipment of BLE module development boards, so Lucas will be able to start tag firmware development in earnest.

The primary, current project risks still mainly have to do with hardware development timing as well as parts availability and logistics. Another risk involves spending too much time on course logistics and material such as the very pressing design report rather than actual development.

Tarush’s Status Report for 10/09/2021

This week a lot of my work was spent on logistical issues, primarily conducting trade studies for finalizing the tech stack we wanted to use for our web application as well as working on the design presentation and helping MeeDm prepare for her presentation.

I also had to redo the Django and apache web server setup, since before we were using the raspberry pi 3 and now switched to raspberry pi 4. Surprisingly, the process was quite a bit more involved and I ran into a bunch of troubleshooting difficulties in getting them up and running.

We had sent out an email to MeeDm’s vet last week regarding, but unfortunately have still not received a response regarding the cat’s eating habits and indication that something may be wrong, hence delaying my finalization of the UI for the app. If we still do not receive a response by Monday, I will be proceeding with the original design I had in mind which I tested with other people who own cats on what they would want the app to look like.

This week, the first half will primarily be spent on writing up the design report due on Wednesday, after which I will be working on creating the UI for the app.

Lucas’s Status Report: 10/2

This week mostly had me tied up by a pretty tight crunch at work, but I still got through most of the goals set out for this week. These were mainly to get the demo hardware working as well as finalizing the BLE module trade study and selection. I also worked with MeeDm and Tarush on the Design Proposal presentation.

One of the most unexpected hurdles in choosing the BLE module ended up being totally unrelated to technical trade-offs: logistics. As it turns out, the world is experiencing a really bad semiconductor shortage, and the supply chain for ic’s and mcu’s has been left in a rough state as a result. Almost all the options I considered ended up having to be scrapped due to either a development board or module not being available – in some case’s the ic itself was out of stock with lead times ranging from 18-52 weeks!

In the end I settled on the DA14531 BLE module. The primary points I considered were power consumption, ease of development/implementation, and supply chain; the DA14531 knocked each category out of the park. This IC features an ARM Cortex-M0+ processor and achieves absolutely top-of-the-line power consumption specs of under 22µA/MHz clock rate and 240nA hibernation mode. Dialog Semiconductor provides ample documentation and has an active forum – critical to ease of development. Finally, the IC and its accompanying evaluation boards are in stock and readily available from a number of distributors, including DigiKey. With the order placed, my focus will now shift towards getting the prototypical schematic and layout finished for the BLE tags.

Speaking of tags, I also worked on the Arduino-based demo hardware and completed assembly of the RFID bluetooth tag:

The tag features a coin cell holder, headers for an HC-05 Bluetooth module and RC-522 RFID reader, and power switch. It’s quick, it’s dirty, and it works. Along with the load cell based weight sensing tag, this RFID tag will allow the team to develop and test the full project pipeline on real hardware without waiting for the actual BLE tag pcb’s to be spun up. Next week I’ll wrap up the demo hardware by putting it in a nice, custom-made enclosure. I’ll work with MeeDm to get it connected to the RPI and I’ll work with Tarush to have the web-app display communications between the demo hardware and the RPI hub.

As I learned the hard way this week, a new risk to consider is time commitment at my job. Going forward I’ll have to actively temper my responsibilities there with my work here.

 

MeeDm’s Status Report for 10/2/2021

This week we have been prepping for our design presentation. I went through the slides and outlined all of them in the beginning and then also finalized slides for communication between the hub and the devices as well as the hub and the web app. Additionally I did the diagrams for the web app.

In terms of work on the project, I did research, set up the raspberry pi 3, ordered things that we need, and started writing my code to connect to peripheral devices and connect to them. In terms of research I found some links where others have done similar things using a packet called bluepy, which is a python library that allows you find and connect to devices, then read in packets. It uses bluez, a bluetooth stack that raspberry pi 3’s use. After setting up the raspberry pi, I’ve started a python script to start scanning and connecting to devices. Additionally I’ve ordered some cat bowls, microhdmi to hdmi cables, and a usbc cable to start hooking up our raspberry pi 4.

My goal for next week is to start the multithreading portion of the python script and present for the team.

Team Status Report for 10/02/2021

A lot of the team’s time this week was spent setting up our environment to get ready for development. We ran into a number of road blocks getting our raspberry pi setup in lab but were able to figure it out! We also realized we needed to immediately start placing orders for the things we needed to buy and hence we bought cat bowls, microhdmi to hdmi cables, a usbc cable, and our bluetooth low energy module.

We also received feedback during our meeting with Professor Mukherjee and Edward on what all they expect to see in our design presentation, so we worked on incorporating that in our slides as well.

We are extremely excited for the excellent presentation our fellow teammate MeeDm is about to deliver this week! With our development environment now mostly set up, we’ll begin properly developing the project and working on the design report next.

Tarush’s Status Report for 10/02/2021

This week a lot of my time was spent doing research on finalizing the tech stack I want to be using for my web application. We will be proceeding with using Django as our web framework, python for the backend, and a combination of vanilla javascript, html, and css for the frontend. I am also pretty confident of moving forward with SQLite for our database management, but will still confirm that it covers all our requirements as opposed to having to rely on MySQL potentially. More information on the trade studies I conducted will be added to our design review report due next week.

I also spent time helping in creating our design presentation slides. We received really useful feedback from the professors and Edward on what all to make sure we talk about and include in the design presentation. One of the things we realized we could have done a better job of explaining was what the web application would potentially look like, so we included a diagram as well as as detailed information on the functionality of the web app.

A lot of time was also spent in getting set up for development. I spent time assisting MeeDm in setting up our raspberry pi in lab as well as getting our apache server and django framework running on the pi. I am now able to connect to the raspberry pi remotely and can start development immediately. I added two pictures below, one of the Django framework being setup successfully as well as the web app being deployed on port 8000 locally.