SEN0147

SEN0147 Datasheet


Smart Grayscale sensor SKU:SEN0147

Part Datasheet
SEN0147 SEN0147 SEN0147 (pdf)
PDF Datasheet Preview
Smart Grayscale sensor SKU:SEN0147

WiFi Bee V1.0 SKU:SEN0147

Contents
• 1 Introduction
• 2 Specifications
• 3 Tools need
• 4 Change the sensor between Analog and Digital

Analog mode Digital mode

Introduction

This time we reinvented the line-tracking sensor. Beyond recognizing two specific colors or output through digital or analog only, the Smart Gray Sensor has integrated both digital and analog output features. In digital mode, user can have two color data recorded through simple button operation, to achieve two-color detections with high and low outputs, and requires no more configuration after being set. In analog mode, the output value reacts precisely to the color grayscale detected. Apart from being a stable and adaptative sensor in various environments, the Smart Grayscale Sensor also demonstrates a great potential in low-cost projects of color, grayscale and adjacence lights.

Specifications
• Supply voltage 5v
• Interface Mode Digital / Analog
• Output:

Analog mode :0-5v output Digital mode TTL level output 0v or 5v according to application needs
• Digital switching signal feedback and dual analog gradation feedback
• You can set the digital mode supports color detection
• Dimensions 37x10x15mm

Tools need
• Smart Grayscale sensor V1.0
• Arduino controller

Change the sensor between Analog and Digital

Just short click the button and the mode will be changed between analog and digital.

Analog mode

Grayscale Sensor Connection Diagram in analog mode

In analog mode, the brighter the Sensor detects, the brighter LED will be. You can connect the sensor to analog pin to read the Grayscale from the sensor, just as the normal grayscale sensor. Code Example:
int grayscalePin=0 void setup

Serial.begin 9600 Serial.println "Smart Grayscale sensor:" void loop

Serial.print "Grayscale:" delay 500 ;

Digital mode

In digital mode, you can set the logic of two different color by your own. Long click the button until the LED slow blinking which means first color detecting ready . Let the grayscale sensor face to the first color such as white paper Meanwhile short click the button and the LED gets dark which means first color detected . Short click the button and make the LED fast blink which means second color detecting ready . Let the grayscale sensor face to the second color such as black paper Meanwhile short click the button and the LED gets dark which means second color detected . The first color such as white paper will be Logical '1', and the LED becomes bright. The second color such as black paper will be Logical '0', and the LED becomes dark. This setting maintains even if the power is off, so for one purpose, one setting is enough.

LED gets dark when facing the black paper LED gets bright when facing the white paper

Grayscale Sensor Connection Diagram in digital mode

Code Example:
int grayscalePin=8 void setup

Serial.begin 9600 pinMode grayscalePin,INPUT Serial.println "Smart Grayscale sensor:" void loop

Serial.print "Grayscale:" if digitalRead grayscalePin Serial.println "White detected" else Serial.println "Black detected" delay 500 ;

Powered By DFRobot 2008-2017
More datasheets: FQA6N90_F109 | 204-10SUGC/S400-A4 | FDW2503NZ | EPS180067UPS-P5P-KH | EPS120100UPS-P5P-KH | EPS120100UPS-P5RP-KH | EPS150080UPS-P5P-KH | EPS240050UPS-P5P-KH | EPS120100UPS-P6P-KH | 410-324


Notice: we do not provide any warranties that information, datasheets, application notes, circuit diagrams, or software stored on this website are up-to-date or error free. The archived SEN0147 Datasheet file may be downloaded here without warranties.

Datasheet ID: SEN0147 509073