[Silicon Labs Development Kit Review] + Ambient Light Sensor VEML6035 and Hall Effect Sensor Si7210
[Copy link]
Light Sensor:
Ambient light detection is used in many applications, and light sensors are generally indispensable. Here we will learn about the VEML6035 ambient light sensor. The Vishay VEML6035 I 2C ambient light sensor is a 16 -bit, low-power, high-sensitivity CMOS light sensor that communicates via I2C commands. The active average power consumption of the sensor is 300W . The VEML6035 sensor integrates a photodiode, amplifier, and analog / digital circuits in a single chip. The sensor uses Filtron technology to provide good spectral sensitivity to match the human eye response. Typical applications include ambient light sensors for mobile devices, industrial on / off lighting operations, and optical switches for consumer, computing, and industrial equipment and displays. For detailed parameters, please visit the official website:
https://www.vishay.com/search?searchChoice=part&query=VEML6035
Si7210 Hall Effect Magnetic Sensor :
The two sensors are connected on the I2C bus in the development kit hardware.
Enable switch
Interface with MCU
VEML6035 device address is 0x29
To implement the function on SSv5, open the control.slcp
Open Configuration
Enable the off sensor switch
Then find VEML6035 and Si7210 under platform->board Drivers
Click install respectively to complete the installation.
The I2C bootloader has already been installed in the previous section.
Add a sensor processing task
Compile, download and run
It can be seen that the sensing is still very sensitive. When you cover it with your hand, it changes immediately.
|