How to Use Gesture APDS9960 With SkiiiD

by skiiiD in Circuits > Arduino

198 Views, 0 Favorites, 0 Comments

How to Use Gesture APDS9960 With SkiiiD

skiiiD - Easiest way to code Gesture APDS6690 on Arduino.

A tutorial to develop Collision Switch XD206 with skiiiD.

Launch SkiiiD

1.png

Launch skiiiD and select New button

Select Arduino UNO

2.png

Select ① Arduino Uno and then click ② OK button

*This is Tutorial, and we use Arduino UNO. Other boards(Mega, Nano) have the same process.

Add Component

3.png

Click '+' (Add Component Button) to search and select the component.

Saerch or Find a Component

4.png

① Type 'Gesture' on the search bar or find the Gesture APDS9960 on the list.

Select Gesture APDS9960

5.png

② Select Gesture APDS9960 Module

Pin Indication and Configuration

6.png

#4 then you can see ③ pin indication. (You can configure it.)

*This module has 4 pins to connect

skiiiD Editor automatically indicate pin setting *configuration available

[Default Pin Indication for Gesture APDS9960 Module] in case of Arduino UNO

VCC: 3.3V

GND: GND

INT: 2

SDA: A4

SCL: A5

After configuring pins ④ click ADD button on the right below side

Check Added Module

7.png

⑤ Added Module has appeared on the right panel

SkiiiD Code of Gesture APDS9960

8.png

skiiiD Code is intuitive function-based codes. This is based on skiiiD libraries

getGesture()

"Return the detected gesture as int."

getColor()

"return the detected color as int."

getBrightness()

"return the detected light's brightness."

getDistance()

"return measured distance between the sensor and the object as cm, mm, inch, or feet."

Contact and Feedback

We are working on components and boards libraries. Feel free to use it and feedback us, please. Below is contact methods

email: contact@skiiid.io

twitter: https://twitter.com/skiiiD_official

Youtube: https://www.youtube.com/channel/UCfS2RQL3m3hVoHkF...

skiiiD user forum: https://www.facebook.com/groups/skiiiD/

Comments are fine too!