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 and solder
them. Use the Arduino development board to write a test program. It's very simple, and graphical is more convenient. Code
: 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) When the brightness is 100:
Put it on white paper. The red is a little less than the blue and green. It needs to be calibrated.
After calibration,
take a red PCB and put it on. It is obvious that the red value is higher than the other
green ones:
Blue:
Later, 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.
All reference designs on this site are sourced from major semiconductor manufacturers or collected online for learning and research. The copyright belongs to the semiconductor manufacturer or the original author. If you believe that the reference design of this site infringes upon your relevant rights and interests, please send us a rights notice. As a neutral platform service provider, we will take measures to delete the relevant content in accordance with relevant laws after receiving the relevant notice from the rights holder. Please send relevant notifications to email: bbs_service@eeworld.com.cn.
It is your responsibility to test the circuit yourself and determine its suitability for you. EEWorld will not be liable for direct, indirect, special, incidental, consequential or punitive damages arising from any cause or anything connected to any reference design used.
Supported by EEWorld Datasheet