เซ็นเซอร์ตรวจจับสี TCS34725 Color Sensor Development Board Module V3.0

เซ็นเซอร์ตรวจจับสี TCS34725 Color Sensor Development Board Module V3.0
เซ็นเซอร์ตรวจจับสี TCS34725 Color Sensor Development Board Module V3.0เซ็นเซอร์ตรวจจับสี TCS34725 Color Sensor Development Board Module V3.0เซ็นเซอร์ตรวจจับสี TCS34725 Color Sensor Development Board Module V3.0
รหัสสินค้า SKU-00505
หมวดหมู่ เซนเซอร์แสงและการมองเห็น
ราคา 120.00 บาท
ลงสินค้า 11 ก.ย. 2565
อัพเดทล่าสุด 11 ก.ย. 2565
คงเหลือ 0 ชิ้น
ขออภัย สินค้าหมด
บัตรประชาชน
บุ๊คแบ๊งค์
คุ้มครองโดย LnwPay
ซ็นเซอร์ TCS3472 สำหรับตรวจวัดความเข้มสี แดง เขียว น้ำเงิน RGB และให้ค่าของสีแต่ละค่าออกมา มีไฟ LED สำหรับวัดในที่มืดหรือแสงไม่เพียงพอ ควบคุมเปิด/ปิดผ่านโคด Arduino
สื่อสารแบบ I2C ใช้ไฟเลี้ยง 3.3-5V

Model: TCS34725 Color: as shown in picture Dynamic range: 3,800,000:1 Data Rates: up to 400 kbit/s Red, Green, Blue (RGB), and White Light Sensing with IR Blocking Filter. Programmable analog gain and integration time. Programmable upper and lower thresholds with persistence filter. 65-uA Wait State with Programmable Wait State Time from 2.4 ms to > 7 Seconds. I2C Fast Mode Compatible Interface. Input Voltage Levels Compatible with VDD or 1.8 V Bus. Register Set and Pin Compatible with the TCS3x71 Series. Small 2 mm*2.4 mm Dual Flat No-Lead (FN). Fine workmanship and good performance. Easy to use. Long service life. Applications: 1. RGB LED backlight control. 2. Light color temperature measurement. 3. Ambient light sensing for display backlight control. 4. Fluid and gas analysis. 5. Product color verification and sorting.






วิธีการต่อใช้งานเบื้องต้น เซ็นเซอร์ตรวจจับสี TCS34725 กับ Arduino 

เซ็นเซอร์ตรวจจับสี TCS34725 -> Arduino UNO R3 

SCL -> A5
SDA -> A4
VIN -> 5V
GND -> GND

arduino and tcs34725


ดาวน์โหลด Library ติดตั้งลง Arduino IDE



อัพโหลดโค้ดตัวอย่างลงบอร์ด Arduino


1
#include <Wire.h>
2
#include "Adafruit_TCS34725.h"
3
 
4
/* Example code for the Adafruit TCS34725 breakout library */
5
 
6
/* Connect SCL to analog 5
7
Connect SDA to analog 4
8
Connect VDD to 3.3V DC
9
Connect GROUND to common ground */
10
 
11
/* Initialise with default values (int time = 2.4ms, gain = 1x) */
12
// Adafruit_TCS34725 tcs = Adafruit_TCS34725();
13
 
14
/* Initialise with specific int time and gain values */
15
Adafruit_TCS34725 tcs = Adafruit_TCS34725(TCS34725_INTEGRATIONTIME_700MS, TCS34725_GAIN_1X);
16
 
17
void setup(void) {
18
Serial.begin(9600);
19
 
20
if (tcs.begin()) {
21
Serial.println("Found sensor");
22
} else {
23
Serial.println("No TCS34725 found ... check your connections");
24
while (1);
25
}
26
 
27
// Now we're ready to get readings!
28
}
29
 
30
void loop(void) {
31
uint16_t r, g, b, c, colorTemp, lux;
32
 
33
tcs.getRawData(&r, &g, &b, &c);
34
colorTemp = tcs.calculateColorTemperature(r, g, b);
35
lux = tcs.calculateLux(r, g, b);
36
 
37
Serial.print("Color Temp: "); Serial.print(colorTemp, DEC); Serial.print(" K - ");
38
Serial.print("Lux: "); Serial.print(lux, DEC); Serial.print(" - ");
39
Serial.print("R: "); Serial.print(r, DEC); Serial.print(" ");
40
Serial.print("G: "); Serial.print(g, DEC); Serial.print(" ");
41
Serial.print("B: "); Serial.print(b, DEC); Serial.print(" ");
42
Serial.print("C: "); Serial.print(c, DEC); Serial.print(" ");
43
Serial.println(" ");
44
}


Serial Monitor จะแสดงค่าแสงที่อ่านได้

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

ร้านค้านี้ยังไม่ได้กำหนดวิธีการชำระเงิน กรุณา ติดต่อกับทางร้าน เกี่ยวกับรายละเอียดในการชำระเงิน
ทางร้านยังไม่ได้ทำการเพิ่มบัญชีรับเงิน กรุณาติดต่อ เจ้าของร้าน

CATEGORY

MEMBER

STATISTIC

หน้าที่เข้าชม114,268 ครั้ง
ผู้ชมทั้งหมด51,030 ครั้ง
เปิดร้าน31 ก.ค. 2559
ร้านค้าอัพเดท4 ก.ย. 2568

CONTACT US

รายการสั่งซื้อของฉัน
เข้าสู่ระบบด้วย
เข้าสู่ระบบ
สมัครสมาชิก

ยังไม่มีบัญชีเทพ สร้างบัญชีใหม่ ไม่มีค่าใช้จ่าย
สมัครสมาชิก (ฟรี)
รายการสั่งซื้อของฉัน
ข้อมูลร้านค้านี้
ร้านบ้านโค้ด-Bancode
บ้านโค้ด-Bancode
จำหน่ายบอร์ดไมโครคอนโทรลเลอร์ Arduino,Module,Shield,Sensor,R,L,C,IC เเละอื่นๆ โทร.0624952525
เบอร์โทร : 0964188828
อีเมล : bancode.dev@gmail.com
ส่งข้อความติดต่อร้าน
เกี่ยวกับร้านค้านี้
สินค้าที่ดูล่าสุด
ดูสินค้าทั้งหมดในร้าน
สินค้าที่ดูล่าสุด
บันทึกเป็นร้านโปรด
Join เป็นสมาชิกร้าน
แชร์หน้านี้
แชร์หน้านี้

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