Suitable for detecting the properties of ambient light, light passing through a liquid or light reflected from an object the AS7262 spectral sensor has 6 spectral channels at 450 (violet), 500 (blue), 550 (green), 570 (yellow), 600 (orange) and 650nm (red).
Stable library from PyPi:
- Just run
python3 -m pip install as7262
Latest/development library from GitHub:
git clone https://github.com/pimoroni/as7262-python
cd as7262-python
sudo ./install.sh --unstable