bioneos / plant-hydration-monitor

For use with the plants in the office to keep them happy with the correct amount of water.
2 stars 7 forks source link

RoboMinions 2022 Summer Project #5

Closed sgdavis1 closed 1 year ago

sgdavis1 commented 2 years ago

Issue to track the progress of the RoboMinions as they work on updating the plant hydration monitor for the summer of 2022

sgdavis1 commented 2 years ago

Kick-off Meeting for Summer 2022

Date: 6/19/2022

Progress

We covered a lot of the system and potential projects for the team to work on this summer. Updated the RoboMinions fork of the code to the latest copy of the codebase and talked about how to get the Express server running.

Potential Summer goals

The team has enough members to subdivide into several groups, and might want to tackle things including:

Goals for Next Week

sgdavis1 commented 2 years ago

2022-07-02

Progress update

Rithwick got things running on Codewizard HQ, Ishika cloned the repo but didn't get the web app running locally, Nishita was in a similar state. Rithwick did some research on deep sleep states and programming for embedded devices.

Goals

sgdavis1 commented 2 years ago

2022-07-09

Progress update

Screencasts were created! https://youtu.be/ccHkHafuO8E https://youtu.be/HzZqgim3al0

Deep sleep team

Had the wrong module, learned a lot about flashing, found correct module. Put deep sleep code in place, couldn't test it.

Web Application

Everyone got the webapp running on their own laptops. Some people were able to turn off firewall.

Goals

sgdavis1 commented 2 years ago

Meeting on 7/16/2022

Progress report

Hardware team Starting working as a team to put together the CAD. Deep Sleep Put the module into deep sleep, aren't sure if it is waking up. Might need to restart the serial port after waking up. Look into the documentation about this. Web Application Read previous documentation and met up as a team.

Goals

sgdavis1 commented 2 years ago

Meeting on 2022/07/25

Hardware team

Deep Sleep

Web Application

Goals

sgdavis1 commented 2 years ago

Meeting on 2022/07/31

Progress Update

Hardware Battery was selected, continued work on CAD. Deep Sleep Continued on getting the module to loop after waking from deep sleep. Web Application Didn't attend

Goals

sgdavis1 commented 2 years ago

I'd like to schedule one more meeting to conclude the summer with the groups -- I know school is starting soon but let's try to arrange something.

With my last conversation with the Deep Sleep team, they were going to look into the documentation around deep sleep with the module and see if they could determine what functions might be called after the device awakes, and then I would schedule a working session to help them accomplish this. I think it might be best if I take more of a leading role in this and I will do some hands on effort this weekend to see if we can sync up about this shortly. Please contact me with your availability and I will update this issue if I find out any details that will help.

sgdavis1 commented 2 years ago

@FTCTeam11142-TheRoboMinions just making sure -- you do have GPIO16 connected to the RST pin correct?

sgdavis1 commented 2 years ago

Hello students!

I am going to guess the missing pin connection is the issue. I actually updated the code with the deep sleep call and flashed my module, then ran the code with the pin disconnected. There was a delay, and then the LED lit up and the device waited. As soon as I connected the pin, the device re-ran the setup() method and loop() after, and after every delay the LED flashed and the device reset.

If you are seeing the LED turn on right as the sleep delay ends, it is likely you do not have GPIO16 connected to RST. Try that and let me know how it goes! I pushed an updated sketch that is working for me if you want to compare to what I have done. Good luck!