Tech Reflect Log

From ESE205 Wiki
Revision as of 22:14, 5 October 2016 by Andreaslarsen (talk | contribs)
Jump to navigation Jump to search

9/16/2016

This week we met with our TA, Kjartan to discuss our teams projects & goals. We decided on various aspects of our two-way mirror. Next week we will look into ordering parts and figuring out the main displays we would like to create. Learning python will be critical in order to use Raspberry Pi.

9/23/2016

This week we met again with our TA, Kjartan to further better our project proposal which needed to provide more specificity in regards as to where we wanted to take the project. We decided on focusing on creating three displays on our two-way mirror: A calendar, weather, and stock display that will be connected wirelessly and updated by a cell phone. We also made some progress on the physical design of the case that will house our two-way mirror. The last part of the the week consisted of creating a more detailed budget with relative parts which we will be ordering for our project.

9/30/2016

This week we made a major step in progress as we ordered the main components of our project. We essentially bought everything except the physical housing for the two-way mirror. We also updated our budget to reflect some minor changes. We did move one part of our component of our Gantt Chart, regarding connecting the Raspberry Pi to the phone a week earlier before our first meeting and evaluation. Kjartan gave us the Raspberry Pi and WiFi connector and we plan on meeting tomorrow as well as a team to work on more coding and connecting. We expect to get the parts next week and look forward to begin coding the weather feature!

10/7/2016

This week, our primary objectives were to connect the Raspberry Pi to Andreas’ laptop, access the internet from the raspberry pi, and keep learning python. Originally we were attempting to connect the Raspberry Pi to our cell phone, but decided at least for now that with coding Python on our computers it would be easier to connect via Mac. Andreas was the main task leader this week, and after a few iterations and YouTube videos we were able to successfully pair the two devices and establish a wifi connection.

    • Connecting the raspberry pi to the internet: Initially we tried to tether the Raspberry Pi to the WUSTL WiFi network using an ethernet cable and port. Ultimately we were unable to do so successfully since the authentication credentials from Wustl-2.0 was not the same as the general network accessed through the ethernet cable. Our second attempt was using the WiFi dongles. This was a success by inserting one into Andreas’ laptop and the other into the Raspberry Pi, resulting in a stable wifi connection. This will be useful when the raspberry pi needs to access information such as the weather/time.
    • Now with the wifi set up, we were ready to connect the r-pi to Andreas’ laptop. We established the connection through the use of terminal and vncviewer. In terminal (on the mac), we were able to access the IP address of the raspberry pi. Fortunately for our concerns about cyber security, we were prompted to enter a password for the raspberry pi. After entering the password that we originally set up, we were able to set up a vncserver on the r-pi and connect to it using vncviewer.
Diagram.png
Rpi.png

Setting up the raspberry pi: We first powered up the r-pi (04) and connected it to a monitor using an hdmi cord(6). To set up an account and a password for the raspberry pi, we needed to connect a keyboard (01) and a mouse (02). Once we had established an account and password and accessed the main r-pi desktop (which was already set with raspbian thanks to the preloaded memory card (05)), we set up the wifi connection using the wifi dongle (03). Now we were able to access the r-pi from Andreas’ laptop so we unplugged the HDMI cable, the mouse, and the keyboard.


We have all be learning to code in Python thanks to Codeacademy.com which again is an ongoing process and learning experience as we begin the process of starting to code our first feature, the Weather App.