Sale!

APDS-9960 RGB Light Sensor Gesture Module I2C IIC

Original price was: 25,89 €.Current price is: 18,76 €. Excluding VAT

The APDS-9960 sensor is a versatile module that measures RGB light and detects gestures. Used in color and lighting projects, it is perfect for makers and designers.

Available on back-order

Domande su questo prodotto? Scrivi a Lana su WhatsApp

Categories: ,

🎬 The product on video

Description

What it is

The APDS-9960 module is a multifunction sensor that allows measuring ambient RGB light and detecting gestures. It is designed to be used in various types of projects, such as lighting monitoring systems or gesture-based interactions.

Features

  • RGB Light Sensor
  • Gesture Detection
  • I2C/IIC Interface

What it is for

The APDS-9960 sensor is ideal for projects that require measuring ambient light and detecting gestures. It can be used in applications such as lighting monitoring systems, gesture-based user interfaces, or any other project that needs to detect changes in ambient light or recognize specific movements.

Tutorial: How to Use APDS-9960 Module

The APDS-9960 module is a multifunction sensor that allows detecting gestures, measuring ambient light, and acquiring RGB data. It is ideal for interactive and environmental monitoring projects.

What you need

  • Arduino
  • I2C Connection
  • Arduino IDE Software

Steps

  1. Connect the SDA pin of the APDS-9960 module to pin A4 on the Arduino.
  2. Connect the SCL pin of the module to A5 on the Arduino.
  3. Connect VCC and GND to the corresponding power supply on the Arduino.
  4. Install the Adafruit_APDS9960 library via the Arduino Library Manager.
  5. Include the library in your sketch: #include
  6. Create an object of the APDS9960 class: Adafruit_APDS9960 apds = Adafruit_APDS9960();
  7. In the setup(), initialize the sensor and verify the connection.
  8. In the loop(), read the sensor data for gestures, ambient light, and RGB.

Example code

#include <Adafruit_APDS9960.h>

Adafruit_APDS9960 apds = Adafruit_APDS9960();

void setup() {
  Serial.begin(9600);
  if (!apds.begin()) {
    Serial.println(F("Failed to initialize APDS-9960!"));
    while (1);
  }
}

void loop() {
  apds.enableGesture(true);
  delay(250);
}

Mini project

Create a lighting monitoring system that sends notifications when the light is too low or high.

Common mistakes

  • Put the sensor in gesture mode without first activating it.
  • Omit the connection verification of the sensor in the setup().
  • Do not install the Adafruit_APDS9960 library correctly.
  • Use non-standard I2C pins for Arduino.

Recommended accessories

  • Arduino Uno R3
  • Jumper Connections
  • Breadboard
  • Adafruit_APDS9960 Library

Frequently asked questions

What is the power supply voltage for the APDS-9960 module?
Check the datasheet.

What type of connections are needed to connect the module to the microcontroller?
I2C (SDA and SCL).

Reviews

There are no reviews yet.

Be the first to review “APDS-9960 RGB Light Sensor Gesture Module I2C IIC”

Your email address will not be published. Required fields are marked *