Thursday, June 2, 2016

Temperature Sensor PMOD

The chip we used was the MAX31723. Its function is to read the surrounding temperature, ranging from -55 degrees Celsius to 125 degrees Celsius with an accuracy of  ±0.5 degrees Celsius.





We used SDK and GTKterm. To get the system operating you must first download the necessary files and GTKterm program if they are not already downloaded.

The first download can be made by searching Maxim Integrated MAXPMBAE on Google.  Once on the MAXPMBAE page choose the tab labeled Design Resources and under Software select Zedboard Platform Project Files v1.6. Next to filename click on Zedboard-Platform-Project-Files-v1-6.zip. The files will then begin to download and once finished be sure to unzip/extract the file before use.





The following link gives a three step process on how to install gtkterm.
http://pkgs.org/centos-6/epel-i386/gtkterm-0.99.5-11.el6.i686.rpm.html

In the first step, this link is provided:
http://dl.fedoraproject.org/pub/epel/6/i386/

Open the previous link and look for:
epel-release-6-8.noarch.rpm
Click on this link and it will download. Then in the downloads folder, or at the bottom of your web browser, click the file to install it.
Then go to the terminal and type the following:
sudo yum install gtkterm
Directions to use gtkterm are in Sven's blog:
http://svenand.blogdrive.com/archive/173.html#.VWh9l9jbJ9A


At the beginning of the blog, it talks about permissions. Following these steps can help with that:
To check for the permissions, open a terminal and type:
          cd ..
          cd ..  (to move all the way out)
          cd dev (must be in this directory)
          ls -l ttyAMC0  (checks the permission)
If the permission is not crw-rw-rw, then type:
          sudo chmod 666 ttyACM0


NOTE: It is ttyACM0    (0 is zero)
            Once approved, to open GTKterm type gtkterm in the terminal.
            Configuration > Port > /dev/ttyACM0
                                    > Speed > 115200







The next step is to launch SDK.

It might be helpful to use the link at the bottom of the page and follow the steps starting with page 5 for extra help because it provides pictures that go along with each step.

Launch SDK

Workspace Launcher > workspace:Designs/maxim/v1_6/sdkWorkspace > ok

You should now have three components in the Project Explorer. If the three files are not there, you will need to import them.

Do this step if files are not there:
file > import menu > expand the general tab > Existing Projects into Workspace > next > set root directory to Designs/maxim/v1_6/sdkWorkspace > Finish


Next you need to program the FPGA

Program FPGA > Bitstream: C:/Designs/maxim/v1_6/top.bit > BMM File: C:/Designs/maxim/v1_6/edkBmmFile.bmm > Program

NOTE: When programming the FPGA make sure that both USBs are connected to the Virtual Machine/Box.

Once the FPGA is programmed we can now run the program.

Under the Project Explorer right click on maximPMOD > run as > Launch on Harware

After a few seconds the application should begin to run in the GTKterminal. You then will need to select the chip you are using which in this case is the MAX31723 and in the next selection we chose option 3 which is to retrieve temperature indefinitely.

At this point you should be receiving temperature readings in Celsius both in the terminal and on the small screen located on the ZedBoard. If you have reached this point SUCCESS!








Our Functioning System:


         https://www.youtube.com/watch?v=-wPew3HAt_g&feature=youtu.be




Helpful Links and Sources:

Emily's Blog Post on MAY 29 titled 'GTKTERM'

http://pdfserv.maximintegrated.com/en/an/UG5483.pdf









No comments:

Post a Comment