โมดูลเซ็นเซอร์สีราคาประหยัด มีหลอด LED สำหรับให้แสงสีขาวในตัวจำนวน 2 ดวง และมีกรอบพลาสติกป้องกันแสงภายนอกเข้ามารบกวน สามารถเชื่อมต่อกับไมโครคอนโทรลเลอร์ได้ทั้งแบบ I2C หรือ UART ซึ่งใช้ไลบรารี่ของ Adafruit ที่รันบน Arduino ได้ โมดูลทำงานที่แรงดันไฟฟ้า 3.3V - 5V ใช้พลังงานไฟฟ้าต่ำ
ดาวน์โหลด Library ของ Adafruit และ ทดลองตัวอย่าง Arduino Sketch
รายละเอียดสินค้า
- เป็นเซ็นเซอร์สี ใช้ไอซีเบอร์ TCS34725
- เชื่อมต่อกับไมโครคอนโทรลเลอร์ผ่าน I2C หรือ UART
- มีหลอด LED ให้แสงสีขาวจำนวน 2 ดวง
- ทำงานได้ที่แรงดันไฟฟ้า 3V ถึง 5V
- ความเร็วในการวัด 10Hz (0.1 วินาที)
- ขนาด 26 * 25 * 13 มิลิเมตร
- น้ำหนัก 5 กรัม
It is a low-cost color identification module; Working voltage is 3~5V; Lower power consumption, small size and easy installation; Working principle: LED light on the object that to be tested and then light return for filter test to know the color according to RGB ratio value. Data reading mode: UART (TTL level) or IIC (2 wire); Baud rate of serial port: 9600bps / 115200bps; Output modes: continuous and check; With power off memory; Can identity 7 kinds of colors without calculating RGB value; Suitable for different working environment and connect to MCU or computer; Can set independent sensor chip mode as a simple sensor module, MCU does not deal with data.
Features:
- high performance
- built-in MCU calculating color
- IIC, serial port communication mode
- LED light is adjustable
- Equipped with related upper computer software
Application:
- smart robot, teaching lab instrument, production line product test, colorimeter, LED color test
Specification:
- Measuring range: RGB 0~255
- Response Frequency: 10Hz
- Working voltage: 3~5V
- Working temperature: -20~85'C
- Storage temperature: -40~125C
- Dimensions 1.02 in x 0.98 in x 0.51 in (2.6 cm x 2.5 cm x 1.3 cm)
- Weight 0.18 oz (5 g)
โค้ดตัวอย่าง(คลิ๊ก)
ตัวอย่างการต่อแบบ USB TTL
ตัวอย่างการต่อแบบ Serial ทางขา Rx,TX

ตัวอย่างการต่อแบบ I2C
