Escolar Documentos
Profissional Documentos
Cultura Documentos
AIM:
To calibrate soil moisture sensor.
APPARATUS:
Arduino
Procedure:
1. Install flowercare app on your mobile phone. If you struggle how to use the sensor please refer
appendix A.
2. Take the soil from the field (please take from the field where the calibration needed to be
done). Take 10 samples from the field. Amount of soil for a sample is approximately 100 grams.
3. Keep the sol in sunny place for 2 days to evaporate the water.
4. Put these samples into 10 different vessels and different amount of waters such that 5ml, 10 ml,
15 ml 20 ml 25 ml, 30 ml 40 ml 50 ml 60 ml 70 ml.
5. Connect your sensor (which should be calibrated). Then upload the coding and read the analog
voltages.
For example calibrating the Arduino soil moisture sensor calibration. Connect the sensor as
shown in fig-01
int analogPin = 0; // Soil moisture sensor (middle terminal) connected to analog pin
0
// outside leads to ground and +5V
int val = 0; // variable to store the value read
void setup()
{
Serial.begin(9600); // setup serial
}
void loop()
{
val = analogRead(analogPin); // read the input pin
Serial.println(val); // debug value
}
6. Put the soil moisture sensor in to the first vessel and measure the voltage through Arduino serial.
Then put the reference sensor and measure the moisture value and record the data as shown
below.
11. Now you can see the calibration function there which is required for your accurate reading
measurement.
APPENDIX A
Product Description:
Xiaomi flower plant monitor can help you care your plant with ease. For about 3000 plants of
unique habits, it can detect the light, temperature, mositure and fertility through inductor in real
time, and show the data through connecting Mihome APP by Bluetooth.
Pre-install APP:
Two pre-install APP: 1. Mihome APP; 2. Mi Flower Plant APP (support Android 4.3/ iOS 7.0 and
above)
(Mihome APP)
Android Link:
https://play.google.com/store/apps/details?id=com.xiaomi.smarthome&hl=en iOS Link:
https://itunes.apple.com/zh/app/xiao-mi-zhi-neng-jia-ting/id957323480?l=zh&ls=
1&mt=8
How to Use:
1. Install Mihome APP or Flower Plant APP to smartphone, turn on Bluetooth after
successfully download, then open the battery cover of monitor and move the battery's
insulating piece away
2. Put the monitor close to smartphone, turn on Mihome APP or Flower Plant APP, select “My
Device” and click “+”, add lists follow the prompts
APPENDIX B
Arduino soil moisture sensor connection diagram