Developing Communities Be Good Do Good
Chandler 85248
chandan
Here are the steps for using Grove Moisture sensor with Arduino IDE :
1. Connect the barrel connector from the power supply to the board.
2. Connect the middle micro USB port to the computer.
3. Click on the Arduino IDE icon on your desktop or Arduino.exe file in the area where it was installed, for example, It might be found here: C:\Program Files (x86)\Arduino. It will open the Arduino Window for User Interface.
4. Click on the tools tab on the Arduino Window - make sure that Intel edison is selected as the board and proper COM Port (COM3 in our case) is selected.
5. The experiment:
a. Connect moisture sensor to sense moisture/water and then display the result in LCD.
6. Connect the moisture sensor to Digital 2 (D2) pin.
7. Connect the LCD display to first I2C pin below D5.
8. In a browser window, Please go to https://github.com/Seeed-Studio/Grove_LCD_RGB_Backlight.
9. Copy the rgb_lcd.cpp and rgb_lcd.h file to ****/arduino/libraries/src folder in your computer.
10. Go to the C:\Users\****\Documents\Arduino area.
11. Open a new folder named moisture-sensor.
12. Click on Arduino Icon on the desktop. From the Arduino Window,
a. Click on File Tab on the top left corner of the window.
b. Click new and name the file as moisture-sensor.
e. Copy and past the moisture-sensor.ino (local seeestudio) file and save at C:\Users\csl2011\Documents\Arduino\moisture-sensor area.
13. Click on the arrow sign for upload below theEdit tab.
a. This will compile and upload the sketch/program to the Edison Board.
b. Compile and upload messages will be displayed on the lower part of the Arduino window.
14. Check out the water sensor function by dipping the moisture sensor in a cup of water and wait for the display to go green and display water level....then remove the moisture sensor from water and wait for the display to go red....and display the corresponding message.
Copyright 2019 Chandan Shamala Library. All rights reserved.
Chandler 85248
chandan