Difference between revisions of "Smart Pump Shield"

From Elecrow
Jump to navigation Jump to search
Line 50: Line 50:
 
:'''STEP 2. Configure which controller board will be used in the Arduino IDE'''
 
:'''STEP 2. Configure which controller board will be used in the Arduino IDE'''
 
:On top of the Arduino IDE, click “Tools>Board>” and select “Arduino Leonardo”from the available options.
 
:On top of the Arduino IDE, click “Tools>Board>” and select “Arduino Leonardo”from the available options.
 
+
:[[File:Select arduino board.png|800px]]
  
 
:'''STEP 3. Configure which communication port to use'''
 
:'''STEP 3. Configure which communication port to use'''
 
:The Arduino IDE needs to know in which USB computer port the Arduino Leonardo controller is connected in order to communicate with it.  
 
:The Arduino IDE needs to know in which USB computer port the Arduino Leonardo controller is connected in order to communicate with it.  
 
:To do so, select “Tools>Port” and select the COM port that indicates Arduino Leonardo. Please note that the actual numbers after the “COM” word will vary from computer to computer, so they could be different from the ones shown in the figure.
 
:To do so, select “Tools>Port” and select the COM port that indicates Arduino Leonardo. Please note that the actual numbers after the “COM” word will vary from computer to computer, so they could be different from the ones shown in the figure.
 +
:[[File:Select port.png|800px]]
 
:Once completed, proceed to the next section to upload the program into the Arduino IDE and program the Arduino Leonard controller in the Smart Pump Board.
 
:Once completed, proceed to the next section to upload the program into the Arduino IDE and program the Arduino Leonard controller in the Smart Pump Board.
  
 
:'''STEP 4. Load the program in the Arduino IDE'''
 
:'''STEP 4. Load the program in the Arduino IDE'''
 +
::[[File:Open.png|800px]]
 +
 +
:[[File:Select file.png|850px]]
 +
 +
::[[File:Samrt pump shield code.png|800px]]
 +
  
 
:'''STEP 5. Click the [[File:Upload.png|30px]] to upload the code to the Arduino board'''
 
:'''STEP 5. Click the [[File:Upload.png|30px]] to upload the code to the Arduino board'''
 
  
 
===Assembling the components===
 
===Assembling the components===

Revision as of 09:02, 1 June 2022

Description

The smart Pump Shield is based on Arduino Lenardo which has integrated into the mainboard. The mainboard will send the command to turn on the pump and suck water into the switch, the switch will separate the stream and will give just enough water for your plants. Then it will close the pump and the switch and continue to check when does your plant needs water. We add a RTC to set timing watering and a 0.96 inch OLED to show the time and the soil moisture status.

Model: PSMC18001M
Crowtail- smart pump shield 3 .jpg

Alt text


Features

  • Eliminates the need for messy jumpers and breadboards, connect all sensors and modules with ease!
  • Integrated Arduino UNO into the main board, program it easily.
  • Power the board with single 12V power supply directly.
  • 4 interfaces for sensors, one interface for water switch and one interface for motor or pump.


Specifications

Item Value
Size of the box 25 x 19 x 5.7cm
Length of water pipe 5m
Length of 4 Pin Crowtail cable 1m


Interfaces

Crowtail- smart pump shield 6 .jpg


Usage

Hardware Connection

Connect the Smart Pump Board to your computer system
Attach the micro USB side of the cable to the Smart Pump Board and the other end of the USB cable to an USB port in your computer.
Notice:Please power the board by DC power when you upload the code
Pump shield connect2PC.png

Software

STEP 1. Download the library and the program
i.e. D:\Program Files (x86)\Arduino\libraries.
  • 2.Download the program at watering_kit.zip Extract the file from the zip file. The filename is watering_kit.ino


STEP 2. Configure which controller board will be used in the Arduino IDE
On top of the Arduino IDE, click “Tools>Board>” and select “Arduino Leonardo”from the available options.
Select arduino board.png
STEP 3. Configure which communication port to use
The Arduino IDE needs to know in which USB computer port the Arduino Leonardo controller is connected in order to communicate with it.
To do so, select “Tools>Port” and select the COM port that indicates Arduino Leonardo. Please note that the actual numbers after the “COM” word will vary from computer to computer, so they could be different from the ones shown in the figure.
Select port.png
Once completed, proceed to the next section to upload the program into the Arduino IDE and program the Arduino Leonard controller in the Smart Pump Board.
STEP 4. Load the program in the Arduino IDE
Open.png
Select file.png
Samrt pump shield code.png


STEP 5. Click the Upload.png to upload the code to the Arduino board

Assembling the components

Note: For an overview of the process please watch this YouTube video .
  • 1.Attach the cable to the Soil Humidity Sensors as shown in the figure. Repeat for each sensor.