GY-9960 Infrared RGB Gesture Sensor (APDS-9960) เซนเซอร์ตรวจจับสี RGB และท่าทาง

GY-9960 Infrared RGB Gesture Sensor (APDS-9960) เซนเซอร์ตรวจจับสี RGB และท่าทาง
GY-9960 Infrared RGB Gesture Sensor (APDS-9960) เซนเซอร์ตรวจจับสี RGB และท่าทางGY-9960 Infrared RGB Gesture Sensor (APDS-9960) เซนเซอร์ตรวจจับสี RGB และท่าทางGY-9960 Infrared RGB Gesture Sensor (APDS-9960) เซนเซอร์ตรวจจับสี RGB และท่าทางGY-9960 Infrared RGB Gesture Sensor (APDS-9960) เซนเซอร์ตรวจจับสี RGB และท่าทาง
รหัสสินค้า D21
หมวดหมู่ การเคลื่อนไหว การสั่น การเอียง
ราคา 70.00 บาท
สถานะสินค้า พร้อมส่ง
ลงสินค้า 20 มี.ค. 2562
อัพเดทล่าสุด 6 ส.ค. 2568
คงเหลือ 17 ชิ้น
จำนวน
ชิ้น
หยิบลงตะกร้า
บัตรประชาชน
บุ๊คแบ๊งค์
คุ้มครองโดย LnwPay

APDS-9960 GY-9960 RGB and Gesture Sensor เซนเซอร์ตรวจจับสี RGB และท่าทาง APD-9660

GY-9960 RGB Infrared Gesture Sensor (APDS-9960) เป็นเซนเซอร์ตรวจจับสี RGB และท่าทาง ใช้ในการตรวจวัดแสง UV ค่าสี RGB ระยะห่างของวัตถุ ตรวจจับการเคลื่อนไหวได้ 4 ทิศทาง ระยะตรวจจับ 10-20cm การสื่อสารเป็นแบบ I2C ใช้ไฟเลี้ยง 2.4-3.6V ทำให้เซนเซอร์ APDS-9960 สามารถนำไปประยุกต์ใช้ในกับสั่งงานควบคุมคอมพิวเตอร์ ไมโครคอนโทรลเลอร์ หุ่นยนต์และอื่นๆ ด้วยท่าทางเช่นการโบกหรือปัดมือ 

คุณสมบัติ  APDS-9960 RGB Infrared Gesture Sensor เซนเซอร์ตรวจจับสีและท่าทาง:
  • แบบ: GY-APDS 9960-3.3
  • ใช้ชิป: APDS-9960
  • แหล่งจ่ายไฟ: 3.3v
  • การสื่อสาร: โปรโตคอลการสื่อสาร IIC
  • ขนาด: 20 มม. * 15.3 มม
คำอธิบาย Pin GY-9960 RGB Infrared Gesture Sensor (APDS-9960)
Pin Label Description
VL Optional power to the IR LED if PS jumper is disconnected. Must be 3.0 - 4.5V
GND Connect to ground.
VCC Used to power the APDS-9960 sensor. Must be 2.4 - 3.6V
SDA I2C data
SCL I2C clock
INT External interrupt pin. Active LOW on interrupt event

สามารถดูตัวอย่างจากทาง SparkFun ได้ที่ลิงค์ https://learn.sparkfun.com/tutorials/apds-9960-rgb-and-gesture-sensor-hookup-guide#hardware-hookup 
การต่อสาย


ตัวอย่างโค้ต APDS-9960
May 30, 2014
https://github.com/sparkfun/APDS-9960_RGB_and_Gesture_Sensor

Tests the gesture sensing abilities of the APDS-9960. Configures
APDS-9960 over I2C and waits for gesture events. Calculates the
direction of the swipe (up, down, left, right) and displays it
on a serial console.

To perform a NEAR gesture, hold your hand
far above the sensor and move it close to the sensor (within 2
inches). Hold your hand there for at least 1 second and move it
away.

To perform a FAR gesture, hold your hand within 2 inches of the
sensor for at least 1 second and then move it above (out of
range) of the sensor.

Hardware Connections:

IMPORTANT: The APDS-9960 can only accept 3.3V!

Arduino Pin APDS-9960 Board Function

3.3V VCC Power
GND GND Ground
A4 SDA I2C Data
A5 SCL I2C Clock
2 INT Interrupt

Resources:
Include Wire.h and SparkFun_APDS-9960.h

Development environment specifics:
Written in Arduino 1.0.5
Tested with SparkFun Arduino Pro Mini 3.3V

This 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!

Distributed as-is; no warranty is given.
****************************************************************/

#include 
#include 

// Pins
#define APDS9960_INT 2 // Needs to be an interrupt pin

// Constants

// Global Variables
SparkFun_APDS9960 apds = SparkFun_APDS9960();
int isr_flag = 0;

void setup() {

// Initialize Serial port
Serial.begin(9600);
Serial.println();
Serial.println(F("--------------------------------"));
Serial.println(F("SparkFun APDS-9960 - GestureTest"));
Serial.println(F("--------------------------------"));

// Initialize interrupt service routine
attachInterrupt(0, interruptRoutine, FALLING);

// Initialize APDS-9960 (configure I2C and initial values)
if ( apds.init() ) {
Serial.println(F("APDS-9960 initialization complete"));
} else {
Serial.println(F("Something went wrong during APDS-9960 init!"));
}

// Start running the APDS-9960 gesture sensor engine
if ( apds.enableGestureSensor(true) ) {
Serial.println(F("Gesture sensor is now running"));
} else {
Serial.println(F("Something went wrong during gesture sensor init!"));
}
}

void loop() {
if( isr_flag == 1 ) {
detachInterrupt(0);
handleGesture();
isr_flag = 0;
attachInterrupt(0, interruptRoutine, FALLING);
}
}

void interruptRoutine() {
isr_flag = 1;
}

void handleGesture() {
if ( apds.isGestureAvailable() ) {
switch ( apds.readGesture() ) {
case DIR_UP:
Serial.println("UP");
break;
case DIR_DOWN:
Serial.println("DOWN");
break;
case DIR_LEFT:
Serial.println("LEFT");
break;
case DIR_RIGHT:
Serial.println("RIGHT");
break;
case DIR_NEAR:
Serial.println("NEAR");
break;
case DIR_FAR:
Serial.println("FAR");
break;
default:
Serial.println("NONE");
}
}
}
ตัวอย่างผลลัพท์

Supported Gestures

Here is a list of the currently supported gestures. Make sure each gesture begins outside of the range of the sensor, moves into the range of the sensor, and ends outside the range of the sensor.

Gesture Description
UP A swipe from the bottom of the board to the top and out of range of the sensor. Make sure that your wrist/arm is not in the sensor's range at the end of the swipe!
DOWN A swipe from the top of the board to the bottom and out of range of the sensor.
LEFT A swipe from the right side of the board to the left and out of range of the sensor.
RIGHT A swipe from the left side of the board to the right and out of range of the sensor.
NEAR Object (e.g. hand) starts far above the sensor, moves close to the sensor, hovers for at least 1 second, and moves out of range of the sensor.
FAR Object starts near the sensor, hovers for at least 1 second, and then moves up above and out of range of the sensor.
NONE The sensor could not correctly guess the gesture being performed.

วิธีการชำระเงิน

  1. ชำระเงินค่าสินค้าโดยการโอนเงินเข้าบัญชีด้านล่าง โดยลูกค้าสามารถโอนเงินหลังทำรายการสั่งซื้อได้ทันทีไม่ต้องรอยืนยัน

  2. หลังจากโอนเงินแล้วสามารถแจ้งชำระเงินได้ที่ เมนูแจ้งชำระเงิน


หรือชำระเงินผ่าน PayPal โดยคลิกที่ ชำระเงินออนไลน์

ธนาคารกรุงเทพ จำกัด (มหาชน) สาขามหาวิทยาลัยเกษตรศาสตร์ ออมทรัพย์
บมจ. ธนาคารกสิกรไทย สาขามหาวิทยาลัยเกษตรศาสตร์ ออมทรัพย์
ธนาคารไทยพาณิชย์ จำกัด (มหาชน) สาขามหาวิทยาลัยเกษตรศาสตร์ ออมทรัพย์
บมจ. ธนาคารกรุงไทย สาขามหาวิทยาลัยเกษตรศาสตร์ ออมทรัพย์
ธนาคารทหารไทยธนชาต จำกัด (มหาชน) สาขาME BY TMB ออมทรัพย์
พร้อมเพย์ สาขา- -
Scan this!
ดิศรณ์ ตันติเกตุ
098-xxxxxx-2
Accept All Banks | รับเงินได้จากทุกธนาคาร
  • ค่าธรรมเนียม 3.9% + 11 THB
  • การชำระผ่าน PayPal คุณไม่จำเป็นต้องแจ้งชำระเงิน เนื่องจากระบบจะจัดการให้คุณทันที ที่คุณชำระเงินเสร็จสมบูรณ์

ติดตามร้านของเราผ่านแอพได้แล้ววันนี้
  • พิมพ์ “GenLogic” ในช่อง Search
  • หรือเข้าจากรายการร้านค้าโปรดของฉัน

  • ค้นหา
*ใส่ เบอร์มือถือ หรือ email ที่ใช้ในการสั่งซื้อ

เข้าร่วมร้านค้า Arduino4

ร้านGenLogic
ร้านGenLogic
/www.genlogic.co.th/
Join เป็นสมาชิกร้าน
251
สมัครสมาชิกร้านนี้ เพื่อรับสิทธิพิเศษ

สถิติร้าน Arduino4

หน้าที่เข้าชม1,830,165 ครั้ง
ผู้ชมทั้งหมด799,165 ครั้ง
เปิดร้าน12 ธ.ค. 2558
ร้านค้าอัพเดท8 ก.ย. 2568
รายการสั่งซื้อของฉัน
เข้าสู่ระบบด้วย
เข้าสู่ระบบ
สมัครสมาชิก

ยังไม่มีบัญชีเทพ สร้างบัญชีใหม่ ไม่มีค่าใช้จ่าย
สมัครสมาชิก (ฟรี)
รายการสั่งซื้อของฉัน
ข้อมูลร้านค้านี้
ร้านGenLogic
GenLogic
ขายบอร์ด Arduino และอุปกรณ์อื่นๆ ที่ใช้ร่วมกับ Arduino รวมถึง Microcontroller, Module, Breakout board, Sensor และอุปกรณ์อิเล็กทรอนิกส์ต่างๆ ในราคาถูก เหมาะสำหรับผู้ที่สนใจเกี่ยวกับ Arduino และการโปรแกรมระบบ Microcontroller และอิเล็กทรอนิกส์ทั่วไป และทำโปรเจคต่างๆ ร้านมีสินค้าสต็อกพร้อมจัดส่ง จัดส่งสินค้ารวดเร็วภายใน 1-2 วันทำการเท่านั้น
เบอร์โทร :
อีเมล : sale@genlogic.co.th
ส่งข้อความติดต่อร้าน
เกี่ยวกับร้านค้านี้
สินค้าที่ดูล่าสุด
ดูสินค้าทั้งหมดในร้าน
สินค้าที่ดูล่าสุด
บันทึกเป็นร้านโปรด
Join เป็นสมาชิกร้าน
แชร์หน้านี้
แชร์หน้านี้

TOP เลื่อนขึ้นบนสุด
พูดคุย-สอบถาม