Download Tokopedia App
Tentang TokopediaMulai Berjualan PromoTokopedia Care
tokopedia-logo
Kategori
Atur jumlah dan catatan

Stok Total: 550

Subtotal

Rp216.000

IMPORT Photosensitive resistor Light Sensor Analog Grayscale Sensor Electronic Board Line finder tracking module For Arduino DIY Kit

Rp216.000
  • Kondisi: Baru
  • Min. Pemesanan: 1 Buah
  • Etalase: Semua Etalase
Mohon tanyakan stok terlebih dahulu sebelum order

Brand Name : GREATZT
Model Number : MH-SR602
Material : Polymer
Usage : Ray Sensor
Output : Switching Transducer
Origin : Mainland China
Theory : Optical Sensor
Type : Optical-Electronics Sensor
is_customized : Yes
Hign-concerned Chemical : None
SIZE : 24mmx21mmx9mm


Product description

The grayscale sensor is an analog sensor. It can be used in combination with the Arduino sensor expansion board v5.0 to sense the different colors of the ground or the desktop and 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

SSignal output

+Power supply (VCC)

-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, thereby realizing the test of the gray value.

Programming principle

The gray level sensor has three pins, which are the power supply positive Vcc, the power supply ground GND, and the signal end S. 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 S 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.

Sample 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()
{(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 interface0("Grayscale is ");//Print the analog value read through the serial port(val, DEC); / / print the analog value read through the serial port
Delay(100);
}
Program effect

When you detect different gray values, feedback back to the measured value at this time. As shown in the figure below, this figure is a schematic diagram of the data returned by the serial port when the gray level sensor detects 85% of the gray value.

Terimakasih telah berbelanja di toko kami

Ada masalah dengan produk ini?

ULASAN PEMBELI

Toped Illustration

Belum ada ulasan untuk produk ini

Beli produk ini dan jadilah yang pertama memberikan ulasan