Update 2

We bought a 12-bit ADC chip, MCP3204, to get better readings from the MFC, so we are not using our PIC18F45K20 anymore. Even though the MCP3204 only has 4 ADC channels and the PIC has 13, we do not need that many. For the MFC system we are testing with, it only has 4 MFCs on it. The chip interfaces with SPI and we were able to get readings from the chip. We are taking the average of 100 readings. The readings are off by a few mVolts. We have discussed it with our advisor, Dr. Kujoory, and he thinks it might be from the noise in the lab and/or the length of our wires.

snip_20160304084300

Here is a reading from the program.

 

We have the voltage readings and are sending them to a text file and displaying the contents of it on the website. The program only does a finite amount of readings and won’t display the readings until the amount we set is finished. We want to be able to display the data all the time so the user doesn’t have wait for the program to finish executing.

snip_20160304093310

Here is a table that is displayed on the website.

Our next stage, after we get better readings from the first relay,is to order more relays since we are only reading in one value in the MCP3204 chip, we want to read 4 values. We also want to get a Raspberry Pi 3 it should be faster than the Raspberry Pi B+ we currently have and it has built in Wi-Fi so we don’t need an adapter.
We also need to improve the website, right now it doesn’t display the readings in a graph. Jesse is going to look into it. We also need to have the website set up on an external server, that way you can be anywhere in the world and see the values from our system.

Advertisements