top of page

Weekly Updates - Engineering Design VI

[12-01-20]: Final project design can be found in the next tab of the page menu at the top right of                          the screen with hopes of future creation of the application.

​

[12-01-20]: Used Flask to host a server, and ran the app in a secondary terminal. Made posts on                          the web application to show working proof.

​

[11-27-20]: Began Lab 10. Ran the hash function with randomization. Ran the secure hash                                    algorithm. Ran Gerald Nash's tiniest blockchain.

​

[11-22-20]: Installed and ran both GIMP and Pinta to display and, if desired, edit the .png file.                                Looked into the Qiskit textbook and planning to dive further into quantum computing.

 

[11-18-20]: Began lab 9. Installed and ran pyang. Installed and ran PlantUML, creating a sequence                      diagram of .png format.

​

[11-13-20]: Began part B of Lab 8, beginning with demonstrations of histograms, box plots, 

                    regressions, and classifications. Cross-validations followed with a scatter plot and 

                    line of best fit running through the graph. Keras and TensorFlow were used to 

                    evaluate the performance of deep learning models in Keras.

​

[11-09-20]: Began Lab 8. Finished Part A which included displaying a series of examples using 

                    Matplotlib which is a library meant to be utilized for the display pf static, animated,

                    and interactive plots when working with Python.

​

[11-05-20]: Worked on Lab 7 Part B. Looked into the usages of Mosquitto MQTT apart from the 

                    class assignment. Signed up for the Google Cliud Platform Identity and Access 

                    Management (IAM). Automatically logged data into Google Sheets using gspread and

                    oauth2client.

​

[11-04-20]: Started working on Lab 7 Part A - ThingSpeak. Created a new channel with 

                    subsequent fields. Copied the API Key and ran thingspeak_feed.py.

​

[10-29-20]: The 'Tinker > D7 > digitalWrite() > HIGH or LOW' portion of Lab 6 was unsuccessful for                       me because the proper indicators were not showing up within the app. Planning to                             revisit.

​

[10-27-20]: Looked into lab 6. Signed up for Particle Cloud and downloaded the mobile app.

​

[10-23-20]: Installed and ran Mosquitto MQTT and Paho in order to subscribe on one terminal and                      publish on another. Tested the ability to publish with a "Hello" test. Published the CPU                        usage and temperature of the Raspberry Pi based on an interval time delay.

​

[10-21-20]: Working through the use of Docker. Ran crossbar on Terminal 1, ran publish-client on                         Terminal 2, ran subscribe-client on Terminal 3. 

​

[10-20-20]: Lab 5 analyzed. 

​

[10-16-20]: Left unfinished for the time being is the Alexa Skill Kit portion of lab 4 because the                            Hello World Skill is not appearing on the console.

​

[10-13-20]: Installed Flask-Ask and Ngrok for Alexa Skill Kit.

​

[10-11-20]: Completed the flask portion of lab 4. Began to glance at what to expect for lab 5.

​

[10-10-20]: Completed Django REST project myraspi. Local server and website are up and                                running properly.

​

[10-09-20]: Working on lab 4 Django REST project myraspi. MySQL database created along with                       a user. Edited settings.py to reflect settings.txt.

​

[10-07-20]: In progress of Django project Stevens. Have set up the MariaDB server and client                            and have created a user. Error occuring in the final stages of the project.

​

[10-05-20]: Looked at lab 4, and completed the installation of Django and Django REST                                      framework.

​

[09-30-20]: Completed lab 3, but could not work on the portions that required electrical                                      components. Changed some of the code for the Hello.py email portion because it                            was not sending.

​

[09-28-20]: Completed up to the moon phase portion of lab 3. This included running all of the                            example code, the installation of jdcal astral geopy, and finally the moon phase                                portion.

​

[09-25-20]: Ensured serial count is disabled, installed minicom, added a new line and enabled                          echo, working on getting materials to complete the physical portions of lab 2.

​

[09-18-20] Formatted microSD card, downloaded Raspberry Pi OS, set up ssh, set up vnc server                     and vnc viewer, and completed lab 1 even though there's no submission necessary.

​

[09-15-20]: No classes due to the national holiday, purchased 32GB MicroSD card, purchased a                        MicroSD card reader.

​

[09-8-20]: Created and shared a personal website using Wix, linked my GitHub repositories,                            added sections for my classes, and published the website.

​

​

Contributions

​

[11-27-20]: The following link provides some insight into the functions and necessities of quality 

                     hash functions for encryption.

                     https://www.youtube.com/watch?v=2BldESGZKB8

​

[11-15-20]: The following link provides some interesting insight into Keras and TensorFlow.

                     https://www.upgrad.com/blog/the-whats-what-of-keras-and-tensorflow/

​

[11-08-20]: The following link is for further use of Matplotlib. Included on the site is how to create                         quality plots with only a few lines of code.

                     https://matplotlib.org/

​

[11-05-20]: The following link was used as a description into Mosquitto MQTT.

                     https://randomnerdtutorials.com/what-is-mqtt-and-how-it-                                                                   works/#:~:text=MQTT%20is%20a%20simple%20messaging,sensor%20nodes%20and                       %20much%20more.

​

[10-10-20]: The following link was used to drop the previously created users of the database. 

                     https://stackoverflow.com/questions/5555328/error-1396-hy000-operation-create-                         user-failed-for-jacklocalhost

​

[10-10-20]: The following link was used to get and print a list of all the previously created users of                       the database.

                     https://www.cyberciti.biz/faq/how-to-show-list-users-in-a-mysql-mariadb-database/

​Lab 3 - Python

  • Worked with python to pull information about current dates and times locally.

​

  • Used the terminal to find the sun cycle for the day based on locations.

    • Locations assessed through keywords​

​

  • Viewed the moon cycles for the next 30 days, day 1 being the day the program was run.

​

  • Set up automated email to be sent from the Raspberry Pi in order to eliminate the need for the mouse and keyboard. 

Django Project: Stevens​

  • Used MariaDB (SQL Database) and created a local host user.

​

  • Edited the html file to include a Google API key.

​

  • Ran a server to host the website.

​

  • Logged in and added temperature data to the database.

​

  • Outputted the final result onto the local site.

Django REST Project: myraspi​

  • Used MariaDB (SQL Database) and created a local host user.

​

  • Edited the html file to include a Google API key.

​

  • Ran a server to host the website.

​

  • Logged in and added location. Added different posts to the hosted application.

​

  • Used controller.py to gather data from Raspberry Pi in real time.

​

  • Outputted the final result onto the local site.

Lab 5 - Crossbar.io and Paho

  • Added Pi to Docker group as a non-root user.

​

  • Built and ran new images from Dockerfile.

​

  • Hosted a server to continuously update a  list of received events 

​

  • Installed MQTT and Paho.

​

  • Set up an MQTT broker to receive messages from the clients and reroute them to the appropriate destination clients

​

  • Those messages included the date, time, Raspberry Pi Temperature and CPU usage.

Lab 7 - Cloud Platforms

  • Part A - ThingSpeak​:

    • Created new channel cpu_loop with field1 cpu_pc and field2 mem_avail_m

    • Copied API Key and ran thingspeak_feed.py​​

​

  • Part B - Google Sheets

    • Signed up for Google Cloud Platform Identity and Access Management​ (IAM)

    • Installed gspread and oauth2client

    • Edited rpi_spreadsheet.py

    • Ran rpi_spreadsheet.py to automatically log the data into Google Sheets

Lab 8 - Data Analysis

  • Part A - Examples:

    • Consists of 10 photos of examples of plots displayed using Matplotlib​

​

  • Part B - Data Analysis:

    • Ran demo​s of histograms, box plots, regressions, and classifications.

    • Ran cross-validations with a scatter plot and line of best fit.

    • Evaluated the performance of deep learning models in Keras.

    • Ran a Titanic example showing the dictionary of information also printed out on a bar graph.

​

Lab 10 - Blockchain

  • Part A - Blockchain​​​

    • Ran hash function with randomization.​

    • Ran a secure hash algorithm.

    • Ran Gerald Nash's tiniest blockchain.

    • Used Flask to host a server.

    • Ran the app in a secondary terminal.

    • Made posts on the application.

  • Part B - IOTA

    • This section requires electrical components that I do not currently have at my disposal.​

    • Planning on continuing this section once I have the resources.

Lab 9 - NETCONF and YANG

  • Part A - GIMP and Pinta

    • Installed and ran pyang and PlantUML.​.

    • Installed and ran both GIMP and Pinta as file editors and displays for a .png file.

​

  • Part B - Qiskit:

    • Qiskit offered up in this lab with resources as a way to further learning revolving around quantum computing.

Created by Dominic Zecchino

bottom of page