NXP Rapid IoT integrates a variety of sensors, mainly including these components:
ENS210 humidity and temperature CCS811 air quality FXOS8700CQ accelerometer and magnetometer FXAS21002CQ gyroscope MPL3115A2 pressure and temperature SX9500 capacitive touch TSL25721FN ambient light In the previous post, the electrodes around the touch kit will trigger (TRIGGERS) the capacitive touch sensor to produce action, while the trigger (TRIGGERS) method of other sensors is to use Interval Element as the trigger source, for example, collect once every 1 second. In the example below, we use the ambient light sensor element (AMS TSL2572 Element) to sense the surrounding light brightness data and display it on the LCD screen:
The AMS TSL2572 Element property sets the action after being triggered to Ambient Light Read, and generates Set Text The data is displayed on the LCD screen.
atmo project file:
P004.rar
(47.47 KB, downloads: 0)
The property settings of other sensors are similar. MPL3115A2 - I2C Barometric Pressure/Altitude/Temperature Sensor MPL3115A2 is a digital barometric pressure/altitude and temperature sensor, and the AMS ENS210 Element also has a temperature sensing function. I originally wanted to compare the temperature sensing results of these two components, but in the NXP Rapid IOT development environment, the temperature sensing function is not implemented for the NXP MPL3115 Element? Perhaps the AMS ENS210 Element already has temperature sensing, so the NXP MPL3115 Element here no longer needs this function!
【NXP Rapid IoT Review】Hello Touch 【NXP Rapid IoT Review】Hello Buttons 【NXP Rapid IoT Review】Hello LED This content was created by EEWORLD forum user slotg. If you need to reprint or use it for commercial purposes, you must obtain the author’s consent and indicate the source