首先在Arduino IDE中安装Arduino_APDS9960库,可以在Arduino IDE中搜索安装该库,或者在Github下载使用。
在本教程中,我们将学习如何使用带有 Arduino 的 APDS9960 手势传感器使用 Visuino 软件在 OLED 显示器上显示手部方向。 第1 步:您需要什么 Arduino UNO(或任何其他 Arduino) APDS9960 传感器 跳线 面包板 OLED显示屏 Visuino 程序:下载Visuino 第2 步:电路 将传感器引脚 [GND] 连接到 Arduino 板引脚 [GND] 将...
The apds9960 object reads gesture, proximity, and measures clear light and color (RGB) values using the APDS9960 sensor connected to the I2C bus of the Arduino hardware.
将传感器的SDA引脚连接到Arduino开发板的A4引脚,将SCL连接到A5引脚,将INT连接到D2引脚。传感器分线板...
To begin reading sensor data, you will need to download Adafruit_APDS9960 from the Arduino library manager. Open up the Arduino library manager: Search for the Adafruit APDS9960 library and install it We also have a great tutorial on Arduino library installation at:http://learn.adafruit.com/...
通过这个项目,您可以将您的 PCB 与组件组装在一起,并使用手势传感器和带有 Arduino Nano 的 16x2 液晶显示器创建多个项目。 结论 该项目展示了用完全由手势控制的控制界面取代机械按钮的巨大成果。 此外,通过单个连接的传感器,可以降低电路连接和编程的复杂性。可以控制 4 个控制命令。
官方提供了Arduino版本的源代码:https://github.com/sparkfun/APDS-9960_RGB_and_Gesture_Sensor 代码移植的核心为两部分:1)Arduino代码的转成标准C语言。2)修改I2C的驱动,适配openharmony。 这里介绍一下I2C的部分代码。其他代码,会放在附件中。 /*** * Raw I2C Reads and Writes ***//*...
步骤 1,下载tasmota工程导入在Arduino,找到user_config.h中的#define USE_APDS9960,取消注释刷机 2,...
Written by Dean Miller, Limor Fried for Adafruit Industries. BSD license, check license.txt for more information All text above must be included in any redistribution To install, use the Arduino Library Manager and search for "Adafruit APDS9960 Library" and install the library.About...
arduino源代码( 包括库和测试代码等); 该APDS-9960 RGB和手势检测模块官方视频讲解; APDS-9960芯片datasheet ; 该模块硬件使用指南; 附件下载 (4) 下载全部 Hardware.zip 下载 描述:包括原理图和PCB源文件,用eagle软件打开,或看PDF档 Libraries.zip