<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-CN">
		<id>http:///https//wiki.microduino.cn/index.php?action=history&amp;feed=atom&amp;title=Microduino-Color_Detector</id>
		<title>Microduino-Color Detector - 版本历史</title>
		<link rel="self" type="application/atom+xml" href="http:///https//wiki.microduino.cn/index.php?action=history&amp;feed=atom&amp;title=Microduino-Color_Detector"/>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Microduino-Color_Detector&amp;action=history"/>
		<updated>2026-06-06T07:19:14Z</updated>
		<subtitle>本wiki的该页面的版本历史</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https//wiki.microduino.cn/index.php?title=Microduino-Color_Detector&amp;diff=11095&amp;oldid=prev</id>
		<title>1304410487@qq.com：Created page with &quot;{{Language|Microduino-Color detector}} {| style=&quot;width: 800px;&quot; |- |  Microduino-ColorDetector  Microduino-Color dete...&quot;</title>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Microduino-Color_Detector&amp;diff=11095&amp;oldid=prev"/>
				<updated>2015-10-28T06:42:21Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Language|Microduino-Color detector}} {| style=&amp;quot;width: 800px;&amp;quot; |- | &lt;a href=&quot;/index.php/%E6%96%87%E4%BB%B6:Microduino-Color_detector.jpg&quot; title=&quot;文件:Microduino-Color detector.jpg&quot;&gt;400px|thumb|right| Microduino-ColorDetector&lt;/a&gt;  Microduino-Color dete...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Language|Microduino-Color detector}}&lt;br /&gt;
{| style=&amp;quot;width: 800px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[File: Microduino-Color_detector.jpg|400px|thumb|right| Microduino-ColorDetector]]&lt;br /&gt;
&lt;br /&gt;
Microduino-Color detector is a color detection senor. &lt;br /&gt;
&lt;br /&gt;
This module adopts TCS3414CS color chip and it can be connected through IIC interface. Based on 8×2 filtered photodiode and 16-bit analog-digital converter, you can measure light or light reflection on the surface of an object to acquire color value. &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Features==&lt;br /&gt;
*High accuracy and sensitivity; &lt;br /&gt;
*Low-consumption, long product life and high-stability;   &lt;br /&gt;
*Small and easy to install.   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Specification==&lt;br /&gt;
*Electrical specification &lt;br /&gt;
**Operation voltage: 3.3 ~6.0 V&lt;br /&gt;
**Input device&lt;br /&gt;
*Tech parameters &lt;br /&gt;
**ROHS authentication: YES&lt;br /&gt;
**Operation temperature: -40 ~ 85 °C &lt;br /&gt;
*Size &lt;br /&gt;
**Size of the sensor: 5mm*5mm&lt;br /&gt;
**Size of the board: 20mm*20mm&lt;br /&gt;
**1.27mm-ptich 4Pin interface&lt;br /&gt;
&lt;br /&gt;
*Connection method &lt;br /&gt;
**Interface: IIC&lt;br /&gt;
**Pin description: GND, VCC, signal 1 and signal 2. Since the output signal is IIC, you need IIC interface to receive signals, which can connect Sensorhub's IIC pin. &lt;br /&gt;
[[file:mCookie-sensorhub_rule.JPG|thumb|800px|center]]&lt;br /&gt;
[[File: Microduino-Temp&amp;amp;Hum_I2C.jpg|600px|thumb|center]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Document==&lt;br /&gt;
*Schematic: '''[[File: Microduino_Color_detector.Zip]]'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Development==&lt;br /&gt;
===Preparation===&lt;br /&gt;
*Make sure you build Microduino IDE or refer to: [[Microduino Getting started]]&lt;br /&gt;
*Core selection &lt;br /&gt;
**1. Adopt [[Microduino-CoreUSB]] or [[mCookie-CoreUSB]] as the core. &lt;br /&gt;
**2. Adopt [[Microduino-Core]] or [[Microduino-Core+]] as the core plus [[Microduino-USBTTL]] as the program download module. &lt;br /&gt;
&lt;br /&gt;
===Program===&lt;br /&gt;
[[https://github.com/Microduino/Microduino_Tutorials/tree/df0a1175ef707a5c541c6cf37efa4b83dbeb6030/mCookie_sensor/MicroduinoColorSensor MicroduinoColorSensor]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Define variable values; RGB reading range.&lt;br /&gt;
   #define redMax 32767&lt;br /&gt;
   #define greenMax 32767&lt;br /&gt;
   #define blueMax 32767&lt;br /&gt;
   int redValue,greenValue,blueValue;&lt;br /&gt;
&lt;br /&gt;
*readRGB();    Read RGB color function &lt;br /&gt;
&lt;br /&gt;
*Reflect RGB value (0~32767) to (0.225);  &lt;br /&gt;
  redValue=map(red, 0, redMax, 0, 255);&lt;br /&gt;
  greenValue=map(green, 0, greenMax, 0, 255);&lt;br /&gt;
  blueValue=map(blue, 0, blueMax, 0, 255);&lt;br /&gt;
&lt;br /&gt;
===Hardware Buildup===&lt;br /&gt;
*Connect the sensor to the IIC interface of the Sensorhub with a wire. &lt;br /&gt;
[[Microduino-Sensorhub]]&lt;br /&gt;
[[file:Microduino-sensorhub_I2C.PNG|thumb|400px|center]]&lt;br /&gt;
[[mCookie-Hub]]&lt;br /&gt;
[[file:mCookie-sensorhub_I2C.PNG|thumb|400px|center]]&lt;br /&gt;
* Connect the core, Sensorhub and the Color Detector to a computer with a USB cable.   &lt;br /&gt;
* Select the right board and COM port, compile and download.  You can refer to [[AVR Core：Getting started]]&lt;br /&gt;
 [[file:upload.JPG|thumb|800px|center]]&lt;br /&gt;
*Download the program above. &lt;br /&gt;
*Select the right port from Tools→Serial Port in Arduino IDE and then download program. &lt;br /&gt;
*Open the serial monitor after download. The console will print current RGB value circularly.  &lt;br /&gt;
&lt;br /&gt;
==Application==&lt;br /&gt;
Microduino-Color detector is suitable for environment color detection. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Project===&lt;br /&gt;
* '''[[Chameleon]]'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Purchase==&lt;br /&gt;
&lt;br /&gt;
==History==&lt;br /&gt;
&lt;br /&gt;
==Pictures==&lt;br /&gt;
&lt;br /&gt;
*Front &lt;br /&gt;
[[file: Microduino-Color-Detector -F.JPG|thumb|600px|center|Microduino-Temp&amp;amp;Hum Front]]&lt;br /&gt;
*Back &lt;br /&gt;
[[file: Microduino-Color-Detector -b.JPG|thumb|600px|center|Microduino-Temp&amp;amp;Hum Back]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>1304410487@qq.com</name></author>	</entry>

	</feed>