Grauscale Sensor

Grauscale Sensor

  • SKU: 35164
  • Shipping Weight: 2.7g
710:viewed
US$0.62
  (9990 Pieces available)
  • Description
  • Customer Reviews
  • Payment & Shipping
Overview:
The grayscale sensor is an analog sensor. It can be used in combination with the Arduino sensor expansion board v5.0 to sense different colors on the ground or the desktop to generate corresponding signals. It can realize interactive works related to color, and can also be used as a tour of the patrol car. Grayscale recognition of the field sensor or soccer robot. The power supply needs to be the same as the controller, usually 3.3V or 5V.
 
Specifications:
Working voltage: 3.3V or 5V
Working current : < 20mA
Operating temperature range: -10 ° C ~ +70 ° C
Detection resolution: 10%
Interface type: analog signal output
Size: 24mm x 21mm
Weight: 3g
Interface definition:
OUT: signal output
VCC: Power Supply (VCC)
GND: Ground (GND)
Instructions:
working principle:
The gradation sensor comprises a white high-brightness light-emitting diode and a photoresistor. Since the light returned by the light-emitting diode on different gradation papers is different, the photoresistor receives the returned light, and the photoresistor is different according to the intensity of the light. The resistance values ​​are also different, so that the gray value is tested.
 
Programming principle:
The grayscale sensor has three pins, which are the power supply positive Vcc, the power supply ground GND, and the signal terminal OUT. In actual use, the sensor can be directly connected to the analog interface of the Arduino controller, for example, the analog port A0, after the Arduino is powered on, The sensor white highlight LED lights up, the sensor button is placed on different gray paper, the data is read by the AD conversion of the Arduino controller, and then the measured analog quantity is printed through the serial port.
 
Connection diagram:
The OUT port is connected to the analog input pin of the controller. Connect 5V and GND to the +5V and GND of the power supply, respectively.
 
Example program:
Connect the grayscale sensor to the Arduino UNO controller according to the program and observe the value of the serial port output under different gray values.
 
Void setup() { Serial.begin(9600); //Open the serial port and set the serial port baud rate to 9600bps } void loop() { int val; val=analogRead(0); //Connect the grayscale sensor to the analog interface 0 Serial.print("Grayscale is ");//The analog value Serial.println(val, DEC) read through the serial port is printed; //The analog value delayed (100) is read through the serial port;
 
Program effect:
When you detect different gray values, feedback back to the measured value at this time.
发送反馈
历史记录

Choose a ranking for this item. 1 star is the worst and 5 stars is the best.

*

NOTE: HTML tags are not allowed.
NOTE: Reviews require prior approval before they will be displayed

Hot Products

New Products For April

1306S 3100KV Brushless Motor CW
1306S 3100KV Brushless Motor CCW
FFC 0.5-30P-100MM A-B
15CM Servo Extend Cable
30CM Servo Extend Cable
BT136-600E TO-220

Recently Viewed

Grauscale Sensor
Subscribe To Our Newsletter

Get the Products Catalogue

Why Choose Chipskey.cc?

  • Over 80,000 products
  • Best bang for your buck
  • Professional customer service
  • Free or low cost shipping

Join Our Community: