SLAU599B August   2015  – July 2021

 

  1.   Trademarks
  2. 1Getting Started
    1. 1.1 Introduction
    2. 1.2 Key Features
    3. 1.3 What's Included
      1. 1.3.1 Kit Contents
      2. 1.3.2 Software Examples
    4. 1.4 Next Steps: Looking Into the Provided Code
  3. 2Hardware
    1. 2.1 Hardware Features
      1. 2.1.1  BoosterPack Plug-in Module Pinout
      2. 2.1.2  TI OPT3001 Light Sensor
      3. 2.1.3  TI TMP006 Temperature Sensor
      4. 2.1.4  Servo Motor Connector
      5. 2.1.5  3-Axis Accelerometer
      6. 2.1.6  RGB Multicolor LED
      7. 2.1.7  Piezo Buzzer
      8. 2.1.8  Color 128x128-Pixel TFT LCD Display
      9. 2.1.9  Microphone
      10. 2.1.10 2-Axis Joystick With Pushbutton
      11. 2.1.11 User Pushbuttons
    2. 2.2 Power
    3. 2.3 Design Files
      1. 2.3.1 Hardware
      2. 2.3.2 Software
      3. 2.3.3 Quick Start Guide
    4. 2.4 Hardware Change log
  4. 3Software Examples
    1. 3.1 BOOSTXL-EDUMKII_Accelerometer_MSP432P401R
      1. 3.1.1 Source File Structure
      2. 3.1.2 Operation
    2. 3.2 BOOSTXL-EDUMKII_JoyStick_MSP432P401R
      1. 3.2.1 Source File Structure
      2. 3.2.2 Operation
    3. 3.3 BOOSTXL-EDUMKII_LightSensor_MSP432P401R
      1. 3.3.1 Source File Structure
      2. 3.3.2 Operation
    4. 3.4 BOOSTXL-EDUMKII_Temperature_MSP432P401R
      1. 3.4.1 Source File Structure
      2. 3.4.2 Operation
    5. 3.5 BOOSTXL-EDUMKII_MicrophoneFFT_MSP432P401R
      1. 3.5.1 Source File Structure
      2. 3.5.2 Operation
      3. 3.5.3 CMSIS DSP Software Library in MSP432
  5. 4Additional Resources
    1. 4.1 TI LaunchPad Development Kit Portal
    2. 4.2 Download Code Composer Studio IDE, IAR, or Energia
    3. 4.3 SimpleLink MSP432 SDK and TI Resource Explorer
    4. 4.4 The Community
      1. 4.4.1 TI E2E™ Community
      2. 4.4.2 Community at Large
  6. 5Schematics
  7. 6Revision History

Operation

This demo uses the MSP432 built-in eUSCI module in I2C mode to initialize and gather data from the digital ambient light sensor, OPT3001, on the Educational BoosterPack plug-in module MKII (see Figure 3-3). The measured illuminance value (Lux) is displayed on the colored 128x128 dot-matrix LCD of the BoosterPack plug-in module. Using MSP Graphics Library, the MSP432 MCU sends data to the LCD controller through SPI communication to draw texts.

GUID-E47387CB-EFC9-41D2-A9CA-4E3996237F19-low.jpgFigure 3-3 OPT3001 Ambient Light Sensor

The demo also controls the brightness of the LCD backlight LED by generating a Timer PWM.

Note:

Make sure that the J5 jumper on the BOOSTXL-EDUMKII is connected to 3.LCD BACKLT

The demo makes use of the illuminance value by brightening the LCD backlight when high illuminance value is detected, or by dimming the LCD backlight when low illuminance value is detected.