Wiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
resources:eval:user-guides:circuits-from-the-lab:cn0503:colorimetry [06 Apr 2021 08:57] Angelo Nikko Catapangresources:eval:user-guides:circuits-from-the-lab:cn0503:colorimetry [21 Jul 2021 08:48] (current) Angelo Nikko Catapang
Line 1: Line 1:
-====== Optical Platform Colorimetry (EVAL-CN0503-ARDZ) ======+====== Optical Platform: pH Measurement Demo ======
  
 Colorimetry can be used to determine the concentration of materials in a solution based on its absorbance. One application of colorimetry is pH measurement with the aid of a coloring reagent. This document details the steps in setting up the EVAL-CN0503-ARDZ for pH measurement. Colorimetry can be used to determine the concentration of materials in a solution based on its absorbance. One application of colorimetry is pH measurement with the aid of a coloring reagent. This document details the steps in setting up the EVAL-CN0503-ARDZ for pH measurement.
Line 14: Line 14:
  
 The following is a list of items needed in order to replicate this demo. The following is a list of items needed in order to replicate this demo.
-  * EVAL-CN0503-ARDZ, completely assembled (see Hardware User Guide) +  * [[ADI>CN0503]], completely assembled (see [[resources:eval:user-guides:circuits-from-the-lab:cn0503|Hardware User Guide]]
-  * EVAL-ADICUP3029 with firmware (see Software User Guide) +  * [[ADI>EVAL-ADICUP3029]] with firmware (see [[resources:eval:user-guides:eval-adicup3029:reference_designs:demo_cn0503|Software User Guide]]
-  * Host computer with CN0503 software (see Quick Setup Guide) and Microsoft Excel (Optional for generating your own measurement curve) +  * Host computer with CN0503 software (see {{ :resources:eval:user-guides:circuits-from-the-lab:cn0503:cn0503_gui_quick_start_guide.docx | Quick Setup Guide }}) and Microsoft Excel (Optional for generating your own measurement curve) 
-  * Bromothymol blue or API pH Test Kit (https://apifishcare.com/product/ph-test-kit)+  * Bromothymol blue or API pH Test Kit [[https://apifishcare.com/product/ph-test-kit | API Fish Care pH Test Kit]])
   * pH Buffer Solutions (Optional for calibration)   * pH Buffer Solutions (Optional for calibration)
   * Common household chemicals for testing (caustic soda, baking soda, vinegar, and distilled water)   * Common household chemicals for testing (caustic soda, baking soda, vinegar, and distilled water)
Line 23: Line 23:
 ===== Setting the EVAL-CN0503-ARDZ ===== ===== Setting the EVAL-CN0503-ARDZ =====
  
-Before starting with these steps, please check the Hardware User Guide for the steps to assembling the EVAL-CN0503-ARDZ. Additionally, please check the Software User Guide for the steps in setting up the firmware and the Quick Setup Guide for running the software. This demo assumes that you already have an assembled board with a working firmware already programmed on the EVAL-ADICUP3029 and a ready-to-run software in the host computer.+Before starting with these steps, please check the [[resources:eval:user-guides:circuits-from-the-lab:cn0503|Hardware User Guide]] for the steps to assembling the [[ADI>CN0503]]. Additionally, please check the [[resources:eval:user-guides:eval-adicup3029:reference_designs:demo_cn0503|Software User Guide]] for the steps in setting up the firmware and the {{ :resources:eval:user-guides:circuits-from-the-lab:cn0503:cn0503_gui_quick_start_guide.docx | Quick Setup Guide }} for running the software. This demo assumes that you already have an assembled board with a working firmware already programmed on the [[ADI>EVAL-ADICUP3029]] and a ready-to-run software in the host computer.
  
 Configure the onboard jumper shunt connection as below: Configure the onboard jumper shunt connection as below:
  
-^ Jumper Header            ^ Setting     ^ +^ Jumper Header            ^ Setting     ^ Image 
-| //LD2SEL and LD3SEL//    | Set to VARD | +| //LD2SEL and LD3SEL//    | Set to VARD | {{ :resources:eval:user-guides:circuits-from-the-lab:cn0503:ld2sel_-_ard.png?100 |}} {{ :resources:eval:user-guides:circuits-from-the-lab:cn0503:ld3sel_-_ard.png?100 |                              }}                                               
-| //IOSEL//                | Set to ARD  | +| //IOSEL//                | Set to ARD  | {{ :resources:eval:user-guides:circuits-from-the-lab:cn0503:iosel_-_ard.png?nolink&100 |}}                          
-| //P1.8V//                | Shorted     |+| //P1.8V//                | Shorted     {{ :resources:eval:user-guides:circuits-from-the-lab:cn0503:p1.8v_-_ard.png?nolink&100 |}}                          | 
 + 
 +==== Initial Connection and Setup ====
  
   - Connect the 430nm LED Board and the 615nm LED Board to LED2 and LED3, respectively.\\ {{ :resources:eval:user-guides:circuits-from-the-lab:cn0503:ph_ledplacement.jpg?nolink&600 |}}   - Connect the 430nm LED Board and the 615nm LED Board to LED2 and LED3, respectively.\\ {{ :resources:eval:user-guides:circuits-from-the-lab:cn0503:ph_ledplacement.jpg?nolink&600 |}}
-  - Connect the EVAL-ADICUP3029 to the EVAL-CN0503-ARDZ and connect a microUSB-to-USB cable from the board to the host computer. +  - Connect the [[ADI>EVAL-ADICUP3029]] to the [[ADI>CN0503]] and connect a microUSB-to-USB cable from the board to the host computer. 
-  - Run the software (using python scripts or the executable) and wait for the main window to open.\\ {{ :resources:eval:user-guides:circuits-from-the-lab:cn0503:ph_mainwindow.png?nolink&600 |}}+  - Run the software (using python scripts or the executable, see the {{ :resources:eval:user-guides:circuits-from-the-lab:cn0503:cn0503_gui_quick_start_guide.docx | Quick Setup Guide }}) and wait for the main window to open.\\ {{ :resources:eval:user-guides:circuits-from-the-lab:cn0503:ph_mainwindow.png?nolink&600 |}}
   - Click the Gear icon at the top right of the window to open Settings.\\ {{ :resources:eval:user-guides:circuits-from-the-lab:cn0503:ph_opensettings.png?nolink&600 |}}   - Click the Gear icon at the top right of the window to open Settings.\\ {{ :resources:eval:user-guides:circuits-from-the-lab:cn0503:ph_opensettings.png?nolink&600 |}}
-  - Select the correct COM Port of the device and connect (see Software User Guide for help)\\ {{ :resources:eval:user-guides:circuits-from-the-lab:cn0503:ph_clickconnect.png?nolink&600 |}}+  - Select the correct COM Port of the device and connect (see {{ :resources:eval:user-guides:circuits-from-the-lab:cn0503:cn0503_gui_quick_start_guide.docx | Quick Setup Guide }} for help)\\ {{ :resources:eval:user-guides:circuits-from-the-lab:cn0503:ph_clickconnect.png?nolink&600 |}}
   - Load the configuration file for pH Measurement ({{ :resources:eval:user-guides:circuits-from-the-lab:cn0503:cn0503_defaults_ph.zip |}})   - Load the configuration file for pH Measurement ({{ :resources:eval:user-guides:circuits-from-the-lab:cn0503:cn0503_defaults_ph.zip |}})
   - Configure the settings for path 2 and 3 with the desired name, set wavelengths to 430 and 615, respectively, and select measurement type: absorption for both.\\ {{ :resources:eval:user-guides:circuits-from-the-lab:cn0503:ph_pathsetting.png?nolink&600 |}}   - Configure the settings for path 2 and 3 with the desired name, set wavelengths to 430 and 615, respectively, and select measurement type: absorption for both.\\ {{ :resources:eval:user-guides:circuits-from-the-lab:cn0503:ph_pathsetting.png?nolink&600 |}}
   - Add empty cuvette/s (or filled with distilled water) to the cuvette holder assembly and insert to path 2 and 3, and click Optimize LED for each path. This properly sets the LED current in these paths so that the light intensity is close to 50%.\\ {{ :resources:eval:user-guides:circuits-from-the-lab:cn0503:ph_emptycuvette.jpg?nolink&600 |}}   - Add empty cuvette/s (or filled with distilled water) to the cuvette holder assembly and insert to path 2 and 3, and click Optimize LED for each path. This properly sets the LED current in these paths so that the light intensity is close to 50%.\\ {{ :resources:eval:user-guides:circuits-from-the-lab:cn0503:ph_emptycuvette.jpg?nolink&600 |}}
-  - Click OK and on the main window select optical path 3 and display mode ARAT.\\ {{ :resources:eval:user-guides:circuits-from-the-lab:cn0503:ph_arat.png?nolink&600 |}}+ 
 +==== Setting a Baseline Ratio ==== 
 +The baseline ratio is used to remove small factors introduced to the measurement such as by the optical glass elements, e.g. beam splitter, lens, and filters. The baseline ratio is the ARAT value of a known setups such as with an empty cuvette or distilled water sample where it is known that the ratio of incident and transmitted light should be approximately 1. This value is used as a reference for successive measurements which will be defined as the relative ratio RRAT. 
 + 
 +  - Click OK on the settings window and on the main window select optical path 3 and display mode ARAT.\\ {{ :resources:eval:user-guides:circuits-from-the-lab:cn0503:ph_arat.png?nolink&600 |}}
   - Click on Start Measurement and note the average value on the graph. Remember the empty cuvette or distilled water sample should still be in the path. The average value will be used as the baseline ratio for this path.\\ {{ :resources:eval:user-guides:circuits-from-the-lab:cn0503:ph_arataverage.png?nolink&600 |}}   - Click on Start Measurement and note the average value on the graph. Remember the empty cuvette or distilled water sample should still be in the path. The average value will be used as the baseline ratio for this path.\\ {{ :resources:eval:user-guides:circuits-from-the-lab:cn0503:ph_arataverage.png?nolink&600 |}}
   - Click on Stop Measurement (Repeat the two previous steps for path 3) then, click on the settings icon on the top right corner to bring back the settings and click on Advanced to bring up the another window.\\ {{ :resources:eval:user-guides:circuits-from-the-lab:cn0503:ph_stopandadvance.png?nolink&600 |}}   - Click on Stop Measurement (Repeat the two previous steps for path 3) then, click on the settings icon on the top right corner to bring back the settings and click on Advanced to bring up the another window.\\ {{ :resources:eval:user-guides:circuits-from-the-lab:cn0503:ph_stopandadvance.png?nolink&600 |}}
Line 46: Line 52:
   - Optionally, you can write pH to the primary unit field of path 2 and path 3. These are just labels and are not necessary.\\ {{ :resources:eval:user-guides:circuits-from-the-lab:cn0503:ph_unit.png?nolink&600 |}}   - Optionally, you can write pH to the primary unit field of path 2 and path 3. These are just labels and are not necessary.\\ {{ :resources:eval:user-guides:circuits-from-the-lab:cn0503:ph_unit.png?nolink&600 |}}
   - Click Okay here and on the settings window to go back to the main. Remove the empty cuvette/s or distilled water sample/s. The device is now ready to measure pH.   - Click Okay here and on the settings window to go back to the main. Remove the empty cuvette/s or distilled water sample/s. The device is now ready to measure pH.
 +
 +==== Performing a pH Measurement ====
 +
   - Place a prepared cuvette with the test sample to either path 2 and path 3. Check the Preparing Test Sample section on how to prepare a cuvette with the test sample and indicator.\\ {{ :resources:eval:user-guides:circuits-from-the-lab:cn0503:ph_samples.png?nolink&600 |}}   - Place a prepared cuvette with the test sample to either path 2 and path 3. Check the Preparing Test Sample section on how to prepare a cuvette with the test sample and indicator.\\ {{ :resources:eval:user-guides:circuits-from-the-lab:cn0503:ph_samples.png?nolink&600 |}}
-  - Select either path 2 or path 3, set display mode to INS1, and press Start Measurement. For quick demo purposes, the system was configured in path 3, by default, to use the measurement curve shown below. Check the Setting Measurement Curve section on how to set your own using spreadsheets and the advanced settings\\ {{ :resources:eval:user-guides:circuits-from-the-lab:cn0503:ph_curve.png?nolink&600 |}}+  - Select either path 2 or path 3, set display mode to INS1, and press Start Measurement.\\ {{ :resources:eval:user-guides:circuits-from-the-lab:cn0503:ph_curve.png?nolink&600 |}} 
 +<note important>For quick demo purposes, the system was configured in path 3, by default, to use the measurement curve shown below. Check the [[resources:eval:user-guides:circuits-from-the-lab:cn0503:fluorescence#generating_a_measurement_curve Generating a Measurement Curve]] section on how to set your own using spreadsheets and the advanced settings</note>
  
 ===== Preparing Test Samples ===== ===== Preparing Test Samples =====
Line 61: Line 71:
  
 The pH measurement curve is a function which models the relationship of the absorbance of either the weak acid or conjugate base of the reagent used to the pH of the solution. You can generate your own measurement curve using samples with known pH. The CN0503 is capable of approximating this using a 5th order polynomial function. The pH measurement curve is a function which models the relationship of the absorbance of either the weak acid or conjugate base of the reagent used to the pH of the solution. You can generate your own measurement curve using samples with known pH. The CN0503 is capable of approximating this using a 5th order polynomial function.
-<note important>While measurement curves use absorbance to measure pH, the CN0503 uses the RRAT value. RRAT is the ratio of the transmitted light intensity to the incident light intensity, and divided by the baseline ratio. RRAT is related to absorbance using the equation below.\\ {{ :resources:eval:user-guides:circuits-from-the-lab:cn0503:ph_rratabsorbance.png?nolink&400 |}}</note>+<note important>While measurement curves use absorbance to measure pH, the CN0503 uses the relative ratio RRAT. RRAT is the absolute ratio (ARAT) of the transmitted light intensity to the incident light intensity, and divided by the baseline ratio. RRAT is related to absorbance using the equation below.\\ {{ :resources:eval:user-guides:circuits-from-the-lab:cn0503:ph_rratabsorbance.png?nolink&400 |}}\\ It is possible to change the mathematical expression for the ARAT but this demo will stick to using the default</note> 
 +Using Microsoft Excel, it is easy to generate the measurement curve by following the steps outlined below. 
 +  - Create list of the RRAT measurements of each sample and the known pH in 2 different columns.\\ {{ :resources:eval:user-guides:circuits-from-the-lab:cn0503:ph_excelrrat.png?nolink&200 |}}  
 +    * To get the RRAT measurement of a solution, select either path 2 or 3 and RRAT in the display units, and click Start Measurement\\ {{ :resources:eval:user-guides:circuits-from-the-lab:cn0503:ph_rrat.png?nolink&600 |}} 
 +    * Use the average or median of the measurement values. 
 +  - Create a scatter plot of of the two columns with RRAT as the X-variable and pH as the y-Variable\\ {{ :resources:eval:user-guides:circuits-from-the-lab:cn0503:ph_curve.png?nolink&600 |}} 
 +  - Create a trend-line for the scatter plot and select the polynomial option with an order of up to 5. Also, check the box at the bottom to Display Equation on chart\\ {{ :resources:eval:user-guides:circuits-from-the-lab:cn0503:ph_trendline.png?nolink&400 |}} 
 +  - Use the equation of the trendline and input the coefficients to the CN0503 using the Command field in the Advanced settings. See the [[resources:eval:user-guides:eval-adicup3029:reference_designs:demo_cn0503|Software User Guide]] for details on the command.\\ {{ :resources:eval:user-guides:circuits-from-the-lab:cn0503:ph_polycommand.png?nolink&600 |}}
  
 +===== Reference Links =====
 +  * [[resources:eval:user-guides:circuits-from-the-lab:cn0503|Hardware User Guide]]
 +  * [[resources:eval:user-guides:eval-adicup3029:reference_designs:demo_cn0503|Software User Guide]]
 +  * {{ :resources:eval:user-guides:circuits-from-the-lab:cn0503:cn0503_gui_quick_start_guide.docx | Quick Setup Guide }}
resources/eval/user-guides/circuits-from-the-lab/cn0503/colorimetry.txt · Last modified: 21 Jul 2021 08:48 by Angelo Nikko Catapang