Skip to content

Commit 22ad2e0

Browse files
Merge pull request #859 from arduino/Hannes7eicher/Plant_Water_Kit_Content_Revision
Plant Watering Kit Content Revision
2 parents db6fb63 + 2c422e0 commit 22ad2e0

File tree

1 file changed

+19
-12
lines changed
  • content/hardware/08.kits/maker/plant-watering-kit/tutorials/iot-smart-garden-setup-with-nanorp2040

1 file changed

+19
-12
lines changed

content/hardware/08.kits/maker/plant-watering-kit/tutorials/iot-smart-garden-setup-with-nanorp2040/content.md

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Now on to the circuit assembly! Begin by grabbing the Arduino Nano RP2040 Connec
6161

6262
![Nano mounted on the adapter](./assets/step1.png)
6363

64-
Then find the relay module, and a grove cable. You will need to cut the grove cable in half to expose the copper cable inside so you can connect it to the Screw terminal adapter. Connect the wires from the grove cable to the Nano Screw Terminal Adapter as follows:
64+
Then find the relay module, and a grove cable. You will need to cut the grove cable in half to expose the copper cable inside so you can connect it to the Nano Screw Terminal Adapter. Connect the wires from the grove cable to the Nano Screw Terminal Adapter as follows:
6565

6666
- Black wire (-) to GND pin.
6767
- Red wire (+) to 3.3V pin.
@@ -76,14 +76,14 @@ Now let's wire up the submersible pump. This pump runs on 5V, and draws more cur
7676

7777
***Note: These types of subermisible pumps can easily break if they're run without being submersed in water. In this project, a faulty pump might have a short circuit, causing the board to reset as soon as the pump is engaged.***
7878

79-
Now find the LED Grove button and a Grove cable. This cable also needs to be cut to expose the copper wire inside. The wires from the grove cable should be connected as follows:
79+
Now find the LED Grove button and a Grove cable. This cable also needs to be cut to expose the copper wire inside. The wires from the Grove cable should be connected as follows:
8080

8181
- Black wire (-) to GND pin.
8282
- Red wire (+) to 3.3V pin.
8383
- Yellow wire to D5 pin.
8484
- White wire to D4 pin.
8585

86-
![LED Grove Button connected](./assets/step4.png)
86+
![LED Grove button connected](./assets/step4.png)
8787

8888
Find the open ended USB cable, this will be used both to power the board through it's Vin pin, and the pump through the relay. Connect the black wire to GND, and connect the red wire, together with a separate jumper cable, to Vin. The other jumper wire that you just connected should be wired to the other screw terminal connector on the Relay module.
8989

@@ -95,7 +95,11 @@ If you find this step hard, you can also use one of the loose screw terminals pr
9595

9696
The USB-cable can then be plugged into any USB port, on a laptop, or in a wall-adapter, as long as it can provide at least 500 mA at 5V. Most wall-adapters meet these requirements, so don't worry too much about finding the right one.
9797

98-
Lastly, find the moisture sensor and a grove cable. Connect it to the Nano Screw Terminal Adapter as follows:
98+
Lastly, find the moisture sensor and a Grove cable. Taking a closer look at the Grove cable you will see that one side is a 3 pin connector (this goes into the moisture sensor), while the other end is a 4 pin connector (this will be cut off in the next step, we won’t be needing that).
99+
100+
Now you will need to cut the Grove cable to expose the copper wire inside so you can connect it to the Nano Screw Terminal Adapter but be careful not to cut it too short at the side that goes into the moisture sensor (3 pin connector). We recommend cutting the cable close to the 4 pin connector giving you the maximum cable length. If needed you can always shorten the cable afterwards.
101+
102+
Connect it to the Nano Screw Terminal Adapter as follows:
99103

100104
- Black wire (-) to GND pin.
101105

@@ -109,11 +113,11 @@ Lastly, find the moisture sensor and a grove cable. Connect it to the Nano Screw
109113

110114
The complete circuit should look something like this:
111115

112-
![Circuit for this project.](assets/step7.png)
116+
![Complete circuit](assets/step7.png)
113117

114118
If you are using the 3D-printed enclosure we provide a 3D-model for, now is a good time to fit the components inside if you haven't already. Use the standoffs to click the components into place.
115119

116-
In the top-cover of the enclosure you will find a hole that will fit the LED-Button. Simply push the button into place, it might take a little force but it will firmly click into place.
120+
In the top-cover of the enclosure you will find a hole that will fit the LED-button. Simply push the button into place, it might take a little force but it will firmly click into place.
117121

118122
We recommend gathering the cables that will leave through the opening, and zip-tying them to the bottom of the enclosure using the two slits in the bottom-plate, this way it stays organised and is a little bit easier to close.
119123

@@ -127,7 +131,7 @@ To connect your board to the Arduino IoT Cloud, we will use the [Plant Watering
127131

128132
See the image below to understand how to set it up.
129133

130-
![Thing overview complete.](assets/template_overview.png)
134+
![Template overview](assets/template_overview.png)
131135

132136
### Manual Setup
133137
***This section is for you who want to set up the cloud manually. For easy setup, use the template provided (see section just above).***
@@ -147,7 +151,7 @@ Begin by navigating to the [Arduino IoT Cloud](https://create.arduino.cc/iot/thi
147151

148152
**4.** Your Thing overview should now look like the following:
149153

150-
![Thing overview complete.](assets/things.png)
154+
![Thing overview](assets/things.png)
151155

152156
**5.** Go to the sketch tab, and use the following code:
153157

@@ -294,7 +298,7 @@ void onWaterTimeChange() {
294298

295299
**7.** Inside the dashboard view, click on **"Add"** then **"Things"** and select your Thing. This will generate a list of widgets and you can click on **"Create Widget"** to complete it. You should now see something similar to this dashboard:
296300

297-
![Dashboard overview.](assets/dashboard_initial.png)
301+
![Dashboard overview](assets/dashboard_initial.png)
298302

299303
Once you see the values changing, we know that the connection is successful, and we can monitor and interact with our device.
300304

@@ -310,15 +314,15 @@ We have now assembled the hardware + configured the Arduino IoT Cloud, and we ar
310314

311315
**2.** Place the moisture sensor into the soil of the plant.
312316

313-
**3.** Place the pump inside a water container. Attach the plastic pipe to the pump, and place the other end into the plant pot. Place the enclosure with your electronics next to the plant. Your setup could now look like this: ![Plant setup.](assets/completesetup.jpg)
317+
**3.** Place the pump inside a water container. Attach the plastic pipe to the pump, and place the other end into the plant pot. Place the enclosure with your electronics next to the plant. Your setup could now look like this: ![Plant setup](assets/completesetup.jpg)
314318

315319
**4.** Finally, plug in a USB adapter into the wall. This will now power the entire setup, which should now connect to the IoT Cloud, via your Wi-Fi network. And that is it, you now have a Smart Garden setup!
316320

317321
## Usage
318322

319323
Let's take a look at what our Smart Garden can do. To control it, we can either use the dashboard in the Arduino IoT Cloud, or the Arduino Remote app ([Playstore](https://play.google.com/store/apps/details?id=cc.arduino.cloudiot&hl=en&gl=US) / [Appstore](https://apps.apple.com/us/app/arduino-iot-cloud-remote/id1514358431)).
320324

321-
![Control and monitor your Smart Garden!](assets/dashboard-overview.png)
325+
![Control and monitor your smart garden](assets/dashboard-overview.png)
322326

323327
***In this dashboard, we have also added a chart widget to monitor the soil moisture over time.***
324328

@@ -337,6 +341,9 @@ Let's take a look at what our Smart Garden can do. To control it, we can either
337341
With a smart garden setup, you can easily monitor the environment of your plant, and water it remotely. In this tutorial, we have gone through the basic elements needed for achieving just that: but there are more things you can do. Below is a list of some fun ideas that you can do with your plant:
338342

339343
- **Automatic watering** - instead of watering your plant remotely, you can also activate the pump automatically whenever moisture drops too low. We do however think it is more fun to control it from a phone, but the choice is yours.
344+
340345
- **Cooling/heating fan** - With some more work, you can connect a cooling/heating fan. This can help you bring the temperature to a perfect level (some plants like it cold, some hot).
346+
341347
- **Humidifier** - a humidifier is an awesome component that increases the humidity (a perfect combo if you also add a humidity sensor).
342-
- **UV lights** - a UV light allows you to grow plants even when there's no natural sun light
348+
349+
- **UV lights** - a UV light allows you to grow plants even when there's no natural sun light.

0 commit comments

Comments
 (0)