Water Level Sensor(DM446)

아두위키 : Arduwiki
ArduWiki (토론 | 기여)님의 2024년 3월 23일 (토) 17:05 판 (Created page with "center|class=coders100 This is a water level detection sensor that operates by being directly immersed in water. After use, it's essential to dry off any moisture on the sensor to ensure accurate measurements, as moisture can affect its performance. Care should be taken during use as the sensor's circuit part is not waterproof. == '''Specifications''' == * Operating Voltage: 5V * Analog Output == '''Required Hardware''' == *...")
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

This is a water level detection sensor that operates by being directly immersed in water.

After use, it's essential to dry off any moisture on the sensor to ensure accurate measurements, as moisture can affect its performance.

Care should be taken during use as the sensor's circuit part is not waterproof.

Specifications

  • Operating Voltage: 5V
  • Analog Output

Required Hardware

  • DM446
  • Arduino UNO
  • UNO Cable
  • F-M Cable (3 pieces)

Connection

The A0 pin can be replaced with another analog pin.

DM446 Arduino Uno
S A0
+ 5V
- GND

Example Code

void setup()
{
	Serial.begin(9600);
	Serial.println("Serial start");
}

void loop()
{
	// Using the A0 pin. Output the value to the Serial Monitor.
	Serial.println(analogRead(A0));
	delay(500);
}

Execution Result