

The SENSOR DO is a digital output sensor designed to detect specific environmental conditions and transmit a digital signal to a microcontroller or other devices. This sensor is widely used in applications requiring real-time monitoring and decision-making based on environmental changes. Its digital output simplifies integration with microcontrollers, making it ideal for both hobbyist and professional projects.








The SENSOR DO is designed for ease of use and compatibility with a wide range of microcontrollers. Below are its key technical specifications:
| Parameter | Value |
|---|---|
| Operating Voltage | 3.3V to 5V |
| Output Type | Digital (High/Low) |
| Output Voltage (High) | ~Vcc (3.3V or 5V, depending on input) |
| Output Voltage (Low) | ~0V |
| Current Consumption | < 20mA |
| Response Time | < 10ms |
| Operating Temperature | -20°C to 85°C |
| Dimensions | 30mm x 15mm x 10mm |
The SENSOR DO typically has three pins, as described in the table below:
| Pin | Name | Description |
|---|---|---|
| 1 | VCC | Power supply pin. Connect to 3.3V or 5V. |
| 2 | GND | Ground pin. Connect to the ground of the circuit. |
| 3 | DO | Digital output pin. Outputs HIGH or LOW based on the detected condition. |
Below is an example of how to connect and use the SENSOR DO with an Arduino UNO:
// Define the pin connected to the SENSOR DO's digital output
const int sensorPin = 2;
// Define an LED pin for visual feedback
const int ledPin = 13;
void setup() {
// Initialize the sensor pin as an input
pinMode(sensorPin, INPUT);
// Initialize the LED pin as an output
pinMode(ledPin, OUTPUT);
// Start the serial communication for debugging
Serial.begin(9600);
}
void loop() {
// Read the digital signal from the sensor
int sensorValue = digitalRead(sensorPin);
// Print the sensor value to the Serial Monitor
Serial.print("Sensor Value: ");
Serial.println(sensorValue);
// Turn the LED on if the sensor detects the condition
if (sensorValue == HIGH) {
digitalWrite(ledPin, HIGH); // Turn LED on
} else {
digitalWrite(ledPin, LOW); // Turn LED off
}
// Add a small delay for stability
delay(100);
}
The sensor is not providing any output.
The sensor output is unstable or fluctuating.
The sensor does not detect the environmental condition.
Q: Can the SENSOR DO be used with a 3.3V microcontroller?
A: Yes, the SENSOR DO is compatible with both 3.3V and 5V systems. Ensure the VCC pin is connected to the appropriate voltage.
Q: How can I extend the sensor's detection range?
A: The detection range is determined by the sensor's design and cannot be extended. Consider using a different sensor if a longer range is required.
Q: Is the SENSOR DO waterproof?
A: No, the SENSOR DO is not waterproof. Avoid exposing it to water or high humidity environments unless it is enclosed in a protective casing.