sparkfun / Sparkfun_apds 9960_sensor_arduino_library
Licence: other
SparkFun APDS-9960 RGB/Gesture Sensor Arduino Library
Stars: ✠64
Labels
Projects that are alternatives of or similar to Sparkfun apds 9960 sensor arduino library
Ntc thermistor
[For Arduino and STM32] Library for working with a NTC thermistor.
Stars: ✠19 (-70.31%)
Mutual labels: arduino-library
Sslclient
🔒Add SSL/TLS functionality to any Arduino library
Stars: ✠45 (-29.69%)
Mutual labels: arduino-library
Sx126x Arduino
Arduino library to use Semtech SX126x LoRa chips and modules to communicate
Stars: ✠55 (-14.06%)
Mutual labels: arduino-library
Uduino
Simple and easy connection between Arduino and Unity
Stars: ✠25 (-60.94%)
Mutual labels: arduino-library
Rf24gateway
TCP/IP (RF24Ethernet) and RF24Network Gateway
Stars: ✠36 (-43.75%)
Mutual labels: arduino-library
Libssh Esp32
Libssh SSH client & server port to ESP32 Arduino library
Stars: ✠52 (-18.75%)
Mutual labels: arduino-library
Dimswitch
Arduino library to control dimmable ballasts for fluorescent light tubes
Stars: ✠17 (-73.44%)
Mutual labels: arduino-library
Fram mb85rc i2c
Arduino library for I2C FRAM - Fujitsu MB85RC & Cypress FM24, CY15B
Stars: ✠41 (-35.94%)
Mutual labels: arduino-library
Segacontroller
Arduino library to read Sega Genesis (Mega Drive) and Master System (Mark III) controllers.
Stars: ✠55 (-14.06%)
Mutual labels: arduino-library
Easyntpclient
Library to read time from Network Time Protocol (NTP) servers.
Stars: ✠20 (-68.75%)
Mutual labels: arduino-library
Sigmadsp
A versatile Arduino library for interfacing with the ADAU1701 audio DSP
Stars: ✠30 (-53.12%)
Mutual labels: arduino-library
Htu21d
This is an Arduino library for HTU21D, Si7021 and SHT21 Digital Humidity & Temperature Sensor
Stars: ✠53 (-17.19%)
Mutual labels: arduino-library
Ewma
Exponentially Weighted Moving Average Filter
Stars: ✠21 (-67.19%)
Mutual labels: arduino-library
Tm16xx
Arduino TM16xx library for LED & KEY and LED Matrix modules based on TM1638, TM1637, TM1640 and similar chips. Simply use print() on 7-segment and use Adafruit GFX on matrix.
Stars: ✠61 (-4.69%)
Mutual labels: arduino-library
Cayennelpp
Library for Arduino compatible with Cayenne Low Power Payload
Stars: ✠51 (-20.31%)
Mutual labels: arduino-library
Fastgpio Arduino
C++ library for the Arduino IDE that allows you to manipulate general-purpose I/O (GPIO) pins on your Arduino or Arduino-compatible board with minimal overhead.
Stars: ✠62 (-3.12%)
Mutual labels: arduino-library
Ws2812fx
WS2812 FX Library for Arduino and ESP8266
Stars: ✠1,113 (+1639.06%)
Mutual labels: arduino-library
SparkFun APDS9960 RGB and Gesture Sensor Arduino Library
Avago APDS-9960 Breakout Board (SEN-12787)
Getting Started
- Download the Git repository as a ZIP ("Download ZIP" button)
- Unzip
- Copy the entire library directory (APDS-9960_RGB_and_Gesture_Sensor_Arduino_Library ) to <Arduino installation directory>/libraries
- Open the Arduino program
- Select File -> Examples -> SparkFun_APDS9960 -> GestureTest
- Plug in your Arduino and APDS-9960 with the following connections
-OR-
- Use the library manager
Arduino Pin | APDS-9960 Board | Function |
---|---|---|
3.3V | VCC | Power |
GND | GND | Ground |
A4 | SDA | I2C Data |
A5 | SCL | I2C Clock |
2 | INT | Interrupt |
- Go to Tools -> Board and select your Arduino board
- Go to Tools -> Serial Port and select the COM port of your Arduino board
- Click "Upload"
- Go to Tools -> Serial Monitor
- Ensure the baud rate is set at 9600 baud
- Swipe your hand over the sensor in various directions!
Repository Contents
- /examples - Example sketches for the library (.ino). Run these from the Arduino IDE.
- /src - Source files for the library (.cpp, .h).
- library.properties - General library properties for the Arduino package manager.
Documentation
- Installing an Arduino Library Guide - Basic information on how to install an Arduino library.
- Product Repository - Main repository (including hardware files) for the SparkFun_APDS9960 RGB and Gesture Sensor.
- Hookup Guide - Basic hookup guide for the sensor.
Products that use this Library
- SEN-12787- Avago APDS-9960
Version History
- V_1.4.1 - Removing blank files, updating library.properties file.
- V_1.4.0 - Updated to new library structure
- V_1.3.0 - Implemented disableProximitySensor(). Thanks to jmg5150 for catching that!
- V_1.2.0 - Added pinMode line to GestureTest demo to fix interrupt bug with some Arduinos
- V_1.1.0 - Updated GestureTest demo to not freeze with fast swipes
- V_1.0.0: Initial release
- Ambient and RGB light sensing implemented
- Ambient light interrupts working
- Proximity sensing implemented
- Proximity interrupts working
- Gesture (UP, DOWN, LEFT, RIGHT, NEAR, FAR) sensing implemented
License Information
This product is open source!
The code is beerware; if you see me (or any other SparkFun employee) at the local, and you've found our code helpful, please buy us a round!
Please use, reuse, and modify these files as you see fit. Please maintain attribution to SparkFun Electronics and release anything derivative under the same license.
Distributed as-is; no warranty is given.
- Your friends at SparkFun.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].