Week 10
Construct a table of FYP2 Work Break Down Structure and Milestones.
Table 1 : FYP2 Work Break Down Structure and Milestones
For this week, I created a simple html script to create a login, register and home page for the website using Google Firebase. Users will be able to register an account and their data will be stored in the Firebase Realtime Database with encrypted password. After that, user will be able to login into the home page if their username and password matches the one stored in Firebase. In the homepage, a simple interface is made such that user can sign out, and click into the FPGA that they want to use. Once they reached the FPGA page, the users will be able to see another user interface with cameras and switches but it is not complete at this stage. After meeting with supervisor, he asked me to proceed with whatever I am doing and try to complete the website.
Figure 1: Login, Register Page and Google Firebase
Figure 2 : Home Page of the Website Designed
Week 11
Construct a FY2 Gantt Chart
Figure 3 : Gantt Chart for FYP2
For this week, I continued designing the FPGA page by using Django, python and html because in order to use live stream camera, opencv is used. I did some research and learned how to setup Django and run the server. The camera is running properly for both different pages of FPGA showing two different footage of video camera. After that, I tried to publish the website to herokuapp and it took quite some time as many errors happened. After the website is published, the camera was not working so I had to stop there. After meeting with supervisor, he asked me to stop working on the camera part and search for how to let user upload their sof file and program into the FPGA using commands instead of opening Quartus II.
Figure 4: Working Camera using OpenCV
Week 12
Construct a table of PROJECT BUDGET (Cost of material and component)
The following component is just an estimated component that might come in consideration.
For this week, after some further research, I found the command for programming the fpga with sof file using command line window which is quartus_pgm -m jtag -c USB-Blaster[USB-0] -o "p;C:/altera/test.sof". I then proceed to try launch a command window from the website to start cmd and then program the FPGA and it works. I then tried to upload the sof file into the firebase but I was unable to retrieve it to the server to program the FPGA. After meeting with the supervisor, he then ask me to focus on toggling the switches by parallel programming using a USB to parallel port cable using GPIO of FPGA.
Figure 5 : Output of the Program Button Using quartus_pgm