Max’s Status Report for April 27, 2024

This week, I tested the sensor module circuit without the LM7805 and unfortunately got similar results as before with the circuit lasting about 2.5 days. I am now rerunning the test with different software since the HTTP requests were being sent at a 5-second interval, but I think that making the interval 1 minute more resembles how a bench is used and I’m confident we’ll get a better battery life this way. I also cut the pieces for the final people countercase, and I’ll be assembling it tomorrow as I have to work on other classes. Also, at the start of the week, I 3-D printed the sensor case with no issues. We’ve planned our demo as well for next week, and plan on showing a live feed with the help of a friend of the gym to show that our application works in real-time.

My progress is on schedule as I had allotted time for both debugging the sensor and creating the demo cases for the two sensor systems.

I look to have the cases finalized for the demo with everything soldered together inside and complete the final deliverables (poster, video, report) with my teammates.

Max’s Status Report for April 20, 2024

Last week, I improved the power performance of the bench sensor modules, but I realized that reaching our use case requirement of 1 week for the sensor is unlikely. I modified the detection algorithm so that Wifi is only on when the device is sending a request. This is still not enough, and it seems that Wifi as a protocol is too expensive.

This week I worked on creating the models for both the people counter and the bench sensor.  For the bench sensors, I produced an initial version of the case using Rhino and am currently 3D printing it. The case should fit 2 mini breadboards, a battery pack, and the IR sensor.  I also collected material for the people counter, and I put it together this week.

I am currently on schedule.

I look to finish the case for the people counter and continue looking for ways to improve the power consumption in the people counter.

As someone on the software track, working with mostly hardware this project has been both rewarding and challenging. I’ve gotten better at reading datasheets for different components to understand how they work. I think that my experience in 18220 was useful in building the circuit. I’ve also found blogs written by fellow tech enthusiasts very useful when I was getting started as they gave me a base for understanding how the NodeMCU can read analog data, and how it communicates with outside devices.

<==== This is the layout of the bottom of the case.

The .stl file of the top.

The .stl file of the base.

Max’s Status Report for April 6, 2024

I have put aside my plan to build a case for the bench sensor and people counter hardware setups, and have spent time debugging the power issue with my bench sensor. It is running out of battery too quickly. After some probing, I narrowed the issue down to the NodeMCU being the problem, but I am still looking into how it can consume less power.

My progress is on schedule, but I would like to resolve the power issue soon. •

I am hoping to have a plan for fixing the power issue.

I have already verified the IR sensors by measuring my distance from them and reading the output voltage levels to verify that they work within the range they were advertised (100-550cm). I used equipment available in the ECE Lab of Hammershlag. I look to re-verify the accuracy of the bench sensor module detection algorithm by running 10 trials of someone arriving, 10 trials of someone leaving, and 10 trials of someone using the machine with a water break and with obstacles in the background.

 

Max’s Status Report for March 30, 2024

I finished testing the components for both the people counter and bench sensor, and implemented the hardware for both the people counter and the bench sensor. I also implemented the software for the bench sensor and worked with Sid to implement the software for the people counter. We were able to integrate everything together with the EC2 instance and we set everything up in the gym (check our Team Report).

My progress was behind, but setting up early this week has helped me go back to schedule.

I do not have any deliverables for the week, I look to just refine both the people counter and bench sensor casing by most likely using laser-cut wood.

Here is the link to the bench sensor code: https://github.com/maxcadams/capstone-bench-sensor/blob/main/bench_sense.ino

 

 

Max’s Status Report for March 23, 2024

I finished testing all of our hardware components this week, soldering together the ADC for the people counter and performing tests on the IR sensors that will be used. I measured the distances with voltage readings and then compared these to the ADS1015 (the ADC) in the NodeMCU. I also set up the Raspberry Pi for the people counter. I have an algorithm for the bench sensors ready for set up this upcoming week.

 

 

My progress is slightly behind, I wasn’t able to set up the system in the gym with my group. Since we are finished testing everything and are putting our systems together, we are going to have the preliminary systems set up in the UC gym at the start of this week.

We’d like to have the systems up in the gym and begin analyzing the data we collect.

Max’s Status Report for March 16, 2024

This week, I initially set up some testing for the IR sensors in both the people counter and the bench sensor modules. The supply voltage was a little unstable, so I’m looking to add the 5V voltage regulator tomorrow to help with that.  I also helped Derek with some testing with the EC2 instance as we look to set up everything this week in the gym.

Our progress is on schedule, it is essential for this next week that we have the people counter and the sensor hardware set up in the UC gym so that we can begin collecting data. I do not have any immediate projects this week so I look forward to having plenty of time to work on finalizing everything.

Max’s Status Report for March 9, 2024

This past week I began testing the active IR sensor by setting up a circuit with a voltmeter and seeing how different distances were affecting the output. I also worked on my team’s design report. We finalized the bulk of our orders and looked to begin testing this upcoming week and building our components.

We are on schedule, but we want to hastily set up the people counter and a sensor module to begin collecting data at the UC gym.

This upcoming week I’d like to have integrated the IR sensor with the NodeMCU for the bench sensor module. I would also like to finish some formal testing with the sensors themselves.

Max’s Status Report for February 24, 2024

This week I ordered the NodeMCUs and IR Sensors for the Sensor Module. They finished arriving yesterday, and I have begun to set up a testing space using an old 18-100 toolkit (see attached). I am currently having issues connecting to the NodeMCU as my computer is not recognizing it. It is most likely a cable issue. I also worked on our Design Report which is due this upcoming week and on our Design Presentation which Sid presented.

Today and next week, I look to finish setting up the NodeMCU (connect to my computer and flash software onto it). I also look to begin testing the IR sensors and hopefully have them working with the NodeMCU towards the end of the week. I will also contribute to our design report, which is due on Friday 3/1.

I am currently on schedule according to our chart.

 

Materials:

Max’s Status Report For February 17th, 2024

This week, I was able to finalize an overall list of components for my part of the project. Currently, the sensor module will consist of a battery pack, a NodeMCU, and an active IR sensor with a 100-550cm range (within what we need for our use case).  I was debating trading the IR sensor for an ultrasonic sensor in our design for the sensor module because an ultrasonic sensor module was said to be more reliable from my research and is also much cheaper per sensor. Still, the UC gym is very noisy and would very likely interfere with it. I also concluded that it would make me more susceptible to outside activity because of its wide detection field. (I was looking more closely at the HC-SR04 for ultrasonic) . I also brainstormed a potential detection algorithm for the NodeMCU software with the IR sensor. This is something I’d like to test and continue to develop when I receive the sensor so I can abide it by the sensor.

My progress is on schedule according to our current chart, but I would like to order my components this week. My main concern is the IR sensor, and ensuring that it abides by the range of 100cm-550cm. I’d like to also finish our design presentation and will be working on the report this upcoming week.

Max’s Status Report for February 10, 2024

I worked on the proposal presentation with my teammates and researched possible components for our idea. I am looking at how we could get wifi on a Jetson, and I have also been refining areas where we can set up both our sensors and camera module. I am currently on schedule, and in the next week I’d like to have our design flushed through and some parts ordered. I also look to finish talking to the gym administrators and get a final answer from them.