Sensores Térmicos & Humidade

Produtos visualizados

Electronic Brick - Moisture Sensor

BE15000607

Novo produto

Electronic brick of soil moisture sensor is mainly used to detect the moisture content in the soil. The control board can get the moisture value or threshold in the soil via analog or digital pins.

Mais detalhes

4,78 € com IVA

Adicionar à Lista de desejos

Mais informação

Product Description

Overview

 

What is an electronic brick? An electronic brick is an electronic module which can be assembled like Lego bricks simply by plugging in and pulling out. Compared to traditional universal boards and circuit modules assembled with various electronic components, electronic brick has standardized interfaces, plug and play, simplifying construction of prototype circuit on one’s own. There are many types of electronic bricks, and we provide more than twenty types with different functions including buttons, sensors, Bluetooth modules, etc, whose functions cover from sensor to motor drive, from Ethernet to wireless communication via Bluetooth, and so on. We will continue to add more types to meet the various needs of different projects.

Electronic brick of soil moisture sensor is mainly used to detect the moisture content in the soil. The control board can get the moisture value or threshold in the soil via analog or digital pins.

 

Documents

Please visit our wiki page for more info about this product. It will be appreciated if you can help us improve the documents by correcting the errors, adding more demo codes or tutorials.

 

Technical support

For technical support, please open a ticket on Itead Support System.

 

Additional Information

Link Wiki

N/A

Brick Interface

4PIN Parallel

Brick Power Supply

5V

Board Size

71.65 X 24.00 X 1.6mm

LED Color

No

Weight

22.0000

 

Code:

1. Push the snap switch of sensor to analog output, connect S port to A0 port of Arduino board, and we will use the following program to read the analog value of soil and send it to computer for display via the serial port.

 int ASignal = A0;
 void setup() {
 Serial.begin(9600);
 }


 void loop() {
 int sensorValue = analogRead(ASignal);
 Serial.println(sensorValue);
 }

 

2. Push the snap switch of sensor to digital output, connect S port to D2 port of Arduino board, and we will use the following program to read the digital value of soil and send the threshold to computer for display .

 int DSIGNAL = 2;
 void setup() 
 {
 Serial.begin(9600);
 pinMode(DSIGNAL, INPUT);
 }

 void loop() 
 {
 int DsignalState = digitalRead(DSIGNAL);
 Serial.println(DsignalState);
 delay(100);      
 }

Acessórios