SLVAFN0 august   2023 MSPM0L1306 , MSPM0L1343 , MSPM0L1346 , TPS8802

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2Demo Hardware
  6. 3Demo Software
    1. 3.1 Dual-Ray Measurements and Alarm Detection
    2. 3.2 Additional Demo Functionality
  7. 4Demo GUI
  8. 5Test Results
  9. 6Summary
  10. 7References

Demo GUI

To improve the evaluation of dual-ray smoke detection systems, a graphical user interface (GUI) developed with TI GUI Composer is included with this application note.

TI GUI Composer is a tool for rapid development of customer user interfaces to interact with your target application. For more information about the GUID Computer, visit TI Developer Zone.

To use the Dual-Ray Smoke Detector Demo GUI:

  1. Visit the TI Cloud Tools Gallery.
  2. Click on the DualRaySmoke_FR2355_MSP_TPS Version 2.6.1 GUI.
  3. Connect the PC to your MSPM0 design using a UART bridge such as the back-channel UART included in XDS110 or the LP-MSPM0L1306 LaunchPadâ„¢.
  4. Select the corresponding COM port at 9600 baud.
  5. GUI Composer automatically detects when the hardware is connected after receiving data from the device.

Figure 4-1 and Figure 4-2 show the Dual-Ray Smoke Detector Demo GUI and the features:

GUID-20230724-SS0I-K86R-GLHR-R1KQ1DK5ZXMZ-low.jpg Figure 4-1 Smoke Detector Demo GUI - Basic Settings and Real-time Measurements
GUID-20230724-SS0I-XT3T-NCRF-LXJ5GSJZDK6S-low.jpg Figure 4-2 Smoke Detector Demo GUI - Advanced Settings

The features included in the GUI are:

  1. Menu: used to configure port and baud rate.
  2. Connection Status: shows the current hardware connection and status.
  3. Infrared LED plot: shows the real time ADC data for the IR LED. The dark IR ADC data (measurements taken with the IR LED turned off) are plotted in gray while the light IR ADC (taken with the IR LED turned on) are plotted in red.
  4. Blue LED plot: shows real time data for the blue LED with the light data plotted in blue and dark data plotted in gray.
  5. Reflection Delta plot: shows the difference between the dark and the light measurements for both the blue and IR LEDs. Plotting these deltas makes it easy to evaluate how intrusive substances influence the system.
  6. Reflection delta axis customization: adjusts the axis of the reflection delta plot.
  7. Temperature sensors: shows the temperature measured using the MCU internal sensor and the external LMT84 temperature sensor measurements.
  8. Selects the Basic Settings window (default).
  9. Read Current Configuration button: press to update the GUI with the current configuration of the device.
  10. Restore Default Configuration button: press to restore the default configuration of the device.
  11. Basic Settings panel, including:
    1. Temp Sensor: enables or disables reading the temperature sensor.
    2. Alarm Detection: enables or disables the alarm detection functionality. Disable to take measurements without triggering alarm unnecessarily.
    3. Sounder: enables or disables the horn or sounder.
    4. CO Sensor: enables or disables the CO sensor measurements.
    5. Low-Power Mode: enables or disables low power mode for supply current measurements. Enabled mode discontinues UART writes to the GUI.
    6. Alarm Triggered LED: shows if the alarm is activated.
    7. Alarm Silence LED: shows if the alarm has been silenced using the silence button.
    8. Sampling Period: adjusts the period of AFE measurements.
    9. Blue/Red Alarm Threshold: adjusts the threshold at which the blue/IR LED reflection delta triggers the alarm.
  12. Advanced Settings tab: select to view advanced settings shown in Figure 4-2.
  13. CO Sensor: Displays the ADC result of the CO signal chain output in decimal format, shown in both analog dial and digital display format. ADC result can be converted to PPM level using the calibration code from the sensor mounted to the board.
  14. Advanced Settings panel, including:
    1. Photo diode TIA: enables or disables the TPS8802 photoelectric receiver.
    2. Blue/Red PGA Gain: adjusts the PGA gain when measuring each LED.
    3. Blue/Red LED Strength: adjusts the drive strength of each LED.
    4. Blue/Red LED current: ADC measurement result of the CSx sense voltages divided by the CSx resistor values. Provides feedback of LED current drive being set by the LED strength sliders.
    5. Blue/Red LED On/Off time: sets the period allowed for the photo receiver output to settle plus the time needed to take measurements.
    6. CO Amp: enables or disabled the CO amplifier in the TPS8802.
    7. CO Gain: sets the gain of the CO amplifier circuit in the TPS8802.
    8. Sounder Voltage: sets the output voltage of the TPS8802 boost converter when the alarm is active.