1. Home
  2. /
  3. Sensor Boards
  4. /
  5. Photosensitive Resistive Light Sensor

Photosensitive Resistive Light Sensor

$3.99

1352 in stock

  • Brand Name: sincere&promise
  • Usage: Position Sensor
  • Type: Optical-Electronics Sensor
  • Theory: Other
  • Output: Analog Sensor
  • Model Number: grayscale sensor
  • Material: Mixture
  • Working voltage: 3.3V or 5V
  • Working current: < 20mA
  • range of working temperature: -10 – 70

 

Product description

The grayscale sensor is an analog sensor. It can be used in combination with the Ard-uino 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

  1. Working voltage: 3.3V or 5V
  2. Working current :<20ma
  3. Operating temperature range: -10 ° C ~ +70 ° C
  4. Detection resolution: 10%
  5. Interface type: analog signal output
  6. Size: 23mm x 21mm
  7. 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, thereby realizing the test of the gray value.

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 Ard-uino controller, for example, the analog port A0, after the Ard-uino 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 Ard-uino 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.

Sample program

Connect the grayscale sensor to the Ard-uino 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 "); / / print the analog value Serial.println (val, DEC) read through the serial port; / / print the analog value delayed through the serial port (100);

234567

 

9512

 
Delivery

All orders within the USA are shipped via UPS at the following rates (you will have the option to select your rate when placing an order):

  • Free Standard (1-5 business days) — Free (orders over $100)
  • Standard (1-5 business days) — $5.95
  • Next Day Air (1 business day) — $18.95

You may also like

Thermocouple Temperature Sensor Board Module
Soil Moisture Hygrometer Detection Humidity Sensor Module For arduino Development Board DIY Robot Smart Car
Menu