LumiMonitor

Blog For CENG 317 - Lumi Monitor

Build Instructions - 10/12/2019

Build instuctions for project are complete. Can be viewed here.

Presentation - 25/11/2019

The final presentation was due this week. Here is a link to the slides from my repository.

Enclosure - 18/11/2019

Over the pass few days I have designed, laser cut and put together an enclosure, that is made out of clear acrylic, to incase my Raspberry Pi, PCB and sensor securely. I decided to use laser cutting to create my enclosure over 3D printing due to time constraints and designing a box for laser cutting is slightly easier. There were a few problems that I encountered while going though the process of making the enclousure. First of which was my lack of knowledge and skill in design. Since this was my first time doing a design project like this, I had to take some time to learn the design software (Corel Draw) and figure out how I was going to make my design so that it can incase all my components as securly as possible. I went to the Prototype Lab for help and the technologists suggested that I make modifications to an already made design. The original design can be found here. This desgin is under a creative commons license therefore it can be used for free as long as credit is given to the original creator. The CC license is etched onto the bottom of the box. The second problem I ran into was the high demand for the laser cutter. It was hard to work around my schedule when the cutter was free. The demand was high due to the amount of final projects being cut on the cutter. Also the other laser cutters in the college have broken down, so the only laser cutter available was the one in the prototype lab, that was under high use. The changes that I made to the orignal case design was adding two slits on the side on the enclosure to slide my PCB and Sensor into to hold them in place. The height of the slits were mesaure as the same as the PCB's. This idea worked very well dispite what I originally thought and the PCB and sensor are securely in place. The next modification I made was making a hole at the top of the case so that my sensor can detect motion without the acrylic being in the way. Once the case was together I secured all wires with a zip tie and put them off to the side. The project is a few days ahead of schedule and no further additions to the budget have been made. The enclousure was one of the final big milestones for this term. The next step is to work on the Prototype Acceptance Presentation.

Here is a link to the corel draw file for my design.

PCB Powerup - 12/11/2019

During the lab, I powered up my PCB for the first time to see if it will work. I plugged the sockets from the PCB onto the pins on the Raspberry Pi and plugged my motion sensor onto the PCB. I ran the test code on the Pi and it detected when there was motion or not correctly.The project is on track in terms of time and there are no further additions to the budget. I am now working on creating an enclosure for the Pi,sensor and PCB.


PCB Soldered - 09/11/2019

This week I soldered sockets onto my PCB board so that I can connect my sensor to it and so that the board can connect to the Raspberry Pi. I also solderd wires into the through-holes to connect the top side of the board to the bottom. During the process of soldering I ran into a few issues. The first issue I ran into was I mistakenly soldered both of the sockets to the wrong side of the PCB. I used the desoldering pump to re-solder my sockets correctly. However when I went to check the board by using a multi-meter the resistance showed overloaded, meaning something is wrong with the connections on the board. The connections seemed correct and soldered properly with no shorts; I believe I may have damaged my board during the proccess of desoldering and resoldering. I decided to print another board and tried to solder again. The process on soldering the second board went smoothly and the multi-meter showed proper results. In terms of my budget, I ordered and recieved my USB to Ethernet Adapter from Amazon so that I can easily SSH into my Pi. The cost has been updated on my budget. The Female Header Connector was provied from the prototype lab and cut down fit the specifications of the PCB. My project became slightly off track when I had to print and solder another PCB, but now that this step is complete, the project is on schedule.


Breadboard Milestone - 30/10/2019

This week I put my breadboard design into fruition by wiring up my PIR motion sensor to my Raspberry Pi. The process of wiring went smoothly, however I had trouble getting my sensor to work on the Raspberry Pi. I decided to write my test code out in Python. I chose to use Python due to its simplicity and compatiblity with the Pi. The problem was, I have a lesser knowledge in Python so I had some trouble getting the program up and running, therefore putting the project a day behind. I was able to get two Python programs working to demonstrate the funtionality of my motion sensor. The first program I made checks each iteration of the loop to see if the output on the sensor is HIGH or LOW. The problem with this code was that the IDE I was using to compile the code had trouble keeping up with the output and did no display the results properly. When the code was ran though the terminal it worked fine. The second code slows this down so it only checks the sensor output every 0.1 seconds. The two programs can be found here: motion.py, motion2.py.


I also sent my gerber files to the prototype lab to get my PCB made. I got my PCB made twice since I made some minor adjustments to the wires on the board. Now that I've completed the breadboard milestone my project is now back on track with project schedule. In terms of the budget, I've had to add more costs. Like mentioned in the previous post, I had to buy sockets to connect my motion sensor to the PCB. I will also need to purchase a USB to ethernet adapter so that I can SSH into my Raspberry Pi from my laptop. I tried to save money on the budget by skipping out on this, since I thought that the monitors in the lab had an HDMI port to display the Pi. I will add the cost to the budget when I order it.


Breadboard and PCB Design - 15/10/2019

Designed the breadboad and PCB for the Grove PIR Motion Sensor. Fritzing did not have the Grove PIR Motion sensor included in the list of parts; I couldn't find a PIR Motion Sensor Part with 4 Pins online either. Instead, for the diagrams I used the Grove Light Sensor. It has the exact same pin layout as the Motion Sensor using the same connector. I was able to edit the breadboard view in a program called InkScape to represent the motion sensor better.

Breadboard


Schematic


PCB


Fritzing Files

Fritzing File1
Fritzing File2

Additonal Purchase & Recieve Products - 8/10/2019

The items that I purchased below were delivered. I setup the Raspberry Pi with an operating system. In this case Raspian with kernal 4.19, installed on my 32GB micro SD card. I also configured SSH and VNC viewer so I can connect and control the Pi remotely. I also forgot to purchase a socket for my motion sensor so that it can connect to the PCB. I puchased 10 Seeedstudio Grove 4-pin Connectors


.

Purchases - 29/09/2019

Purchased Grove PIR Motion Sensor and Raspberry Pi 3 B+ Motherboard

Created Budget and Met With Collaborator - 24/09/2019

Today my group and I met with our industry collaborator here at Humber College. He agreed with our ideas to design the Lumi monitor into a mobile. He also agreed with the sensors we are using and gave me the idea to use my motion sensor to record hands free feeding data. Finally he showed us a previous prototype of the Lumi Monitor. Our group decided to use the Raspberry Pi as a development platform. My group also came up with an individual budget for our project which can be found here.

Constructed Project Plan and Schedule - 17/09/2019

Detailed Schedule Here
This is an estimated schedule / time frame my group will try to stick to when developing the Lumi Monitor over the next two semesters.

Hardware Proposal - 10/09/2019

This is the original proposal for our project. This outlines our original ideas for the project, project background and infromation about the sensors we plan to use:
Project Proposal Content
Project Proposal</p>

Repository Created - 05/09/2019

https://github.com/KyleV1999/LumiMonitor