太白金星

Color sensor module based on TCS3200D chip

 
Overview
  • This project is used to verify the solution verification board design of the Lichuang Mall color sensor TCS3200D .

  • This design is a color sensor module based on TCS3200D .

  • TCS3200D adopts an 8-pin SOIC surface mount package and has 64 built-in photodiodes with red, green, blue and transparent filters to obtain color data of the object being measured.

  • The circuit of this design includes the TCS3200D chip and a circle of white LED light-emitting tubes around it. At the same time, the brightness of the LED light-emitting tube can be adjusted by the microcontroller pwm. The adjustment pin is left floating to be the brightest by default, and a stamp hole SMT is added to the pin header interface. Welding pads, stamp holes on both sides of the SMT pads are symmetrical, easy to solder without identifying the direction, and easy to quickly integrate into other development boards

    • -
  • The next step will be PCB board proofing, and then the PCB blank board photos, welding finished product photos, and program testing will be updated.

  • Stamp hole SMT pad file is in attachment

    • -

After proofing, prepare the components IMG_20200216_172640.jpgand solder IMG_20200216_180954.jpgthem. Use the Arduino development board to write a test program. It's very simple, and graphical is more convenient. Code Create a new bitmap image.jpg: Can't the python's built-in code insertion function be used? It prompts a service failure. Please contact customer service. I have put the code in the attachment.

Auto-generated, sucks. . . But it works. At least stacking blocks is much faster than coding. I tested the function of adjusting the brightness. It is very good. It is the automatic brightness compensation of the mobile phone. It is difficult to get good results. When the brightness is 6: (I don’t understand the rotated one. The picture is still horizontal when uploaded) IMG_20200216_210616.jpgWhen the brightness is 100: IMG_20200216_210744.jpgPut it on white paper. The red is a little less than the blue and green. It needs to be calibrated. IMG_20200216_210904.jpgAfter calibration, IMG_20200216_211010.jpgtake a red PCB and put it on. It is obvious that the red value is higher than the other IMG_20200216_211116.jpggreen ones: IMG_20200216_211523.jpgBlue: IMG_20200216_211636.jpgLater, the function of automatically changing the brightness of the light source according to the detected brightness of each color was added to the program. The programming software used is linkboy . The saved file is in the attachment.

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-05-15 03:21:50

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号