DFRobot Gravity Smart Grayscale Sensor - Dual Analog & Digital Output Module
The DFRobot Gravity Smart Grayscale Sensor is a versatile optical sensor module offering both analog and digital outputs for precise grayscale and dual-color detection. It is designed for easy integration with Arduino, Raspberry Pi, and other microcontrollers via the standard Gravity 3-pin interface.
Features
- Dual-mode operation: Analog output (0-5V) for grayscale intensity and Digital output (TTL) for threshold-based detection.
- User-configurable digital mode allows setting two specific color thresholds via onboard button.
- Compact PCB design (37mm x 15mm) with Gravity interface for plug-and-play connectivity.
- Wide 5V DC operating voltage range compatible with most development boards.
- Stable performance in various ambient lighting conditions for robotics and automation.
Out of stock
The DFRobot Gravity Smart Grayscale Sensor redefines line-following and color detection by integrating both analog and digital signal outputs into a single, user-configurable module. Its core sensing principle relies on a phototransistor and integrated signal conditioning circuit to measure reflected light intensity, translating it into a precise analog voltage or a digital trigger.
In digital mode, the sensor allows for the calibration of two distinct color or grayscale thresholds via a simple button press, enabling reliable detection of light/dark boundaries or specific colors without requiring continuous code adjustment. The analog mode provides a continuous voltage output proportional to the detected grayscale level, suitable for nuanced light sensing applications. The module is built for stability across varying environmental conditions.
Additional Information
| Weight | 0.015 kg |
|---|---|
| Dimensions | 3.7 × 1.5 cm |













