

The SENSOR DO, manufactured by DF Robot (Part ID: DO SENSOR), is a versatile device designed to detect and measure physical properties or changes in the environment. It is commonly used in monitoring and control systems to gather real-time data for applications such as environmental analysis, industrial automation, and IoT systems. This sensor is particularly well-suited for detecting dissolved oxygen levels in liquids, making it an essential tool in water quality monitoring and aquaculture.








The SENSOR DO is designed to provide accurate and reliable measurements in a variety of conditions. Below are its key technical specifications:
| Parameter | Value |
|---|---|
| Operating Voltage | 3.3V - 5.0V |
| Operating Current | ≤ 50mA |
| Output Signal | Analog voltage (0-3.0V) |
| Measurement Range | 0 - 20 mg/L (Dissolved Oxygen) |
| Accuracy | ±0.1 mg/L |
| Operating Temperature | 0°C to 50°C |
| Response Time | ≤ 60 seconds |
| Sensor Lifespan | Approximately 1 year (depending on usage) |
The SENSOR DO features a simple 3-pin interface for easy integration into circuits. Below is the pin configuration:
| Pin | Name | Description |
|---|---|---|
| 1 | VCC | Power supply input (3.3V - 5.0V) |
| 2 | GND | Ground connection |
| 3 | Signal | Analog output signal proportional to oxygen levels |
Below is an example of how to interface the SENSOR DO with an Arduino UNO to measure dissolved oxygen levels:
// SENSOR DO Example Code for Arduino UNO
// Reads the analog signal from the SENSOR DO and converts it to dissolved oxygen (mg/L)
const int DO_PIN = A0; // Analog pin connected to the Signal pin of SENSOR DO
float voltage = 0.0; // Variable to store the sensor output voltage
float doLevel = 0.0; // Variable to store the dissolved oxygen level (mg/L)
void setup() {
Serial.begin(9600); // Initialize serial communication at 9600 baud
pinMode(DO_PIN, INPUT); // Set the DO_PIN as an input
}
void loop() {
// Read the analog value from the SENSOR DO
int analogValue = analogRead(DO_PIN);
// Convert the analog value to voltage (assuming 5V reference)
voltage = analogValue * (5.0 / 1023.0);
// Convert the voltage to dissolved oxygen level (mg/L)
// Example conversion formula: DO = voltage * scaling_factor
// Replace 'scaling_factor' with the appropriate value from the sensor datasheet
doLevel = voltage * 6.67; // Example scaling factor
// Print the results to the Serial Monitor
Serial.print("Voltage: ");
Serial.print(voltage);
Serial.print(" V, Dissolved Oxygen: ");
Serial.print(doLevel);
Serial.println(" mg/L");
delay(1000); // Wait for 1 second before the next reading
}
scaling_factor in the code with the appropriate value provided in the SENSOR DO datasheet for accurate conversion.No Output Signal
Inaccurate Readings
Fluctuating Readings
Short Sensor Lifespan
Q: Can the SENSOR DO be used in saltwater environments?
A: Yes, but regular cleaning and maintenance are required to prevent salt buildup on the probe.
Q: How often should the sensor be calibrated?
A: Calibration frequency depends on usage, but it is recommended to calibrate before each use for critical applications.
Q: Can the SENSOR DO be used with microcontrollers other than Arduino?
A: Yes, the SENSOR DO can be used with any microcontroller that has an analog input pin and supports the required operating voltage.
Q: What is the lifespan of the sensor probe?
A: The probe typically lasts about 1 year, depending on usage and maintenance.
By following this documentation, users can effectively integrate and utilize the SENSOR DO in their projects for accurate dissolved oxygen measurements.