Skip to content

Learning Log

MaxOSully edited this page Feb 20, 2020 · 7 revisions

Day 1:

AM: Research about what was achievable in two weeks and what would give us enough work to do. We decided to go with the camera idea but weren’t exactly sure what we’d do specifically, but we had a few ideas with different levels of complexity we could work on.

PM: Research, set up the Raspberry pi and began trying to connect to it remotely. (Masha’s children went out and got us the raspberry pi camera)

Day 2:

AM: Research, began connecting to the raspberry pi remotely and also connected a camera, researched how to take photos, videos and start live feeds from it (still not sure how to turn it off).

We successfully connected remotely to the raspberry pi without using a monitor.

We began thinking of what the first MVP of our project could be and decided we needed to do some more research on how to control the raspberry pi using Java.

Created user stories and decided on first MVP - push a button which takes a picture and sends it to the user. We split our MVP into four parts which we then worked on in pairs. One pair looked into taking the picture and saving it and the other pair researched how to send a picture via email using java.

PM: We have added functionality which allows us to take a picture by running some java code. Now the next step is to make it run off of an input but we need to decide what our input is going to be - thinking about buying a button but aren’t sure on the hardware needed to make everything work. We researched the button and the hardware needed (breadboard, wires, button) and looked at tutorials on how to hook it all up. We decided on buying a button.

Have added a user input which allows the user to tell the Pi when to take pictures and stores them all on the desktop. The Pi is able to save all photos with different names and store them all. The next step is getting this to be emailed to a user.

Day 3:

AM: Found how to send an email through java and researched how the button interacts with the raspberry Pi, we should have a button tomorrow to finish our MVP. (Max is still practicing Java).

PM: Found how to attach pictures to emails using Java code and began trying to piece together the camera taking the picture and the picture being sent via email (Our first MVP). We discussed the structure of our project and decided how our skeleton would look. We began creating this skeleton and attempted to piece our code together. First we made a repo on GitHub so we could all share files.

Day 4:

AM: We now have a button and the components to hook it up to the Pi, our plan for this morning is to set it up and try to invoke the code we have written by pressing the button.

We successfully hooked up the button and tested it was working with some python code that came with it in the kit. The next step is to work with Pi4J (Java’s way of interacting with the Pi) to pick up the button press and then we will try to make the button take a picture. The next step after this is combining our code and making the button press take and send a picture - our MVP.

We have installed Pi4J on our Pi and began testing code to pick up the button press. We can now take a picture on button press and save it to our raspberry Pi, this afternoon we will work on integrating the sending of the picture to an email address.

Clone this wiki locally