Reader small image

You're reading from  Arduino for Kids

Product typeBook
Published inMar 2017
PublisherPackt
ISBN-139781785884818
Edition1st Edition
Tools
Concepts
Right arrow
Authors (2):
Rishi Gaurav Bhatnagar
Rishi Gaurav Bhatnagar
author image
Rishi Gaurav Bhatnagar

Rishi Gaurav Bhatnagar is a creative technologist who likes to work at the intersection of design and technology. He is an Intel software innovator, Arduino maker fellow, a volunteer at Random Hacks Of Kindness, also Campus Diaries 25 under 25- Science & Tech. When he is not tinkering with technology and storytelling, he spends time building new modules for students that help fuel their curiosity and build their innovation muscle.
Read more about Rishi Gaurav Bhatnagar

Vijay Varada
Vijay Varada
author image
Vijay Varada

Vijay Varada is an artist, engineer, and entrepreneur whose motto is, create positive change in the world through art, design and technology for sustainable and exponential development and progress. He is the CEO, and cofounder of Fracktal Works, which is engaged with design and research in the field of additive manufacturing, rapid prototyping, and product design with its line of desktop and industrial 3D printers aimed at using the technology to empower the abilities of students, engineers, designers, and industries. Vijay actively contributes to open source hardware projects, particularly assistive technologies for the blind.
Read more about Vijay Varada

View More author details
Right arrow

Chapter 10. Plant, Meet Arduino!

The things you will learn in this chapter are as follows:

Creating your own sensor with stuff from around your house.

Making your plants talk


Caring for a plant can be a lot of responsibility. After all, they are living things, and you wouldn't want anything dying on your watch!

Gardening can be complex, making sure there is enough sunlight or your plant is getting enough water. Things can go wrong if care isn't taken while tending to your plants.

But you are no ordinary gardener, are you? You are going to use the magical power of the Arduino to bring gardening into the 21st century! We are going to be using the concept of automation as well as the sensors and circuitry we have used before to make our digitally empowered plant!

Problem Statement: Build a smart-gardening system.

Solution: A system that can quantify the amount of moisture in soil, and automatically intimate a human being if the plant needs to be watered.

What you will need


You will need the following things:

  • An Arduino Uno

  • A breadboard

  • Male-to-male jumper cables

  • Iron nails

  • A buzzer

  • A potted plant

  • 9V battery

  • 9V battery clip

I'm thirsty!


One of the biggest challenges we will be tackling in this project is to figure out if our plant needs to be watered or not.

We do this by measuring the moisture, or the water content of the soil that the plant is in. We will need to measure some quantifiable parameter that directly relates to the moisture of the soil.

This is where our sensor becomes important. As we have discussed before, a sensor is something that converts a physical parameter into an electrical signal that can be measured. In this case, the physical parameter is the soil moisture itself that we want to convert into electric signals.

Commercial soil moisture sensors estimate water content based on the dielectric constant of the soil. The dielectric constant can be thought of as the soil's ability to conduct electricity. The dielectric constant of soil increases as the water content of the soil increases.

This is due to the fact that the conductivity of water is much more than that of soil and its components...

Measuring the conductivity of soil


You can visualize the soil to be a kind of resistor, similar to the LDR we used earlier. The lesser the water content, the more the resistance; and the more the water content, the lesser the resistance.

Now, before we try and figure out what kind of circuit to use for our project, we need to find a way in which we can connect our wires to the soil!

We know that metals are good conductors of electricity. We need to provide a voltage between two points in the soil. We can use a large metal object, like an iron nail that can be embedded into the soil such that it can be an interface between our circuit and the soil.

Usually, these objects that are used as an interface in order to make some measurement are referred to as probes. You might have seen doctors using probes used to measure muscle activity of an athlete:

Image source: http://i.ytimg.com/vi/yZ_nxY91yxI/hqdefault.jpg

Muscle activity of an athlete being tracked using muscle probes.

The following is an image...

Summary


This was a fun chapter to get you used to solving real-world problems. Think of ways in which this system can be improved by adding other sensors like an LDR or actuators like a water pump to make this project even better.

Let's recap what we learned:

  • Understanding the dielectric constant of the soil, which can be thought of as the soil's ability to conduct electricity

  • How we can interface the soil to our circuit using probes

  • Then we came across our super voltage divider circuit again

  • Using conditional statements to give our project logic

You have got through the journey in this book with flying colors, High-5! (Use the Bot!)

I hope what you have learnt so far would have changed your perspective of how you can do things by creating objects that can think for themselves and interact with you or the world around them.

This is just the beginning of the huge playground of sensors, actuators, electronics, and mechanisms out there that control everything from the automatic breaking system in cars...

lock icon
The rest of the chapter is locked
You have been reading a chapter from
Arduino for Kids
Published in: Mar 2017Publisher: PacktISBN-13: 9781785884818
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
undefined
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime

Authors (2)

author image
Rishi Gaurav Bhatnagar

Rishi Gaurav Bhatnagar is a creative technologist who likes to work at the intersection of design and technology. He is an Intel software innovator, Arduino maker fellow, a volunteer at Random Hacks Of Kindness, also Campus Diaries 25 under 25- Science & Tech. When he is not tinkering with technology and storytelling, he spends time building new modules for students that help fuel their curiosity and build their innovation muscle.
Read more about Rishi Gaurav Bhatnagar

author image
Vijay Varada

Vijay Varada is an artist, engineer, and entrepreneur whose motto is, create positive change in the world through art, design and technology for sustainable and exponential development and progress. He is the CEO, and cofounder of Fracktal Works, which is engaged with design and research in the field of additive manufacturing, rapid prototyping, and product design with its line of desktop and industrial 3D printers aimed at using the technology to empower the abilities of students, engineers, designers, and industries. Vijay actively contributes to open source hardware projects, particularly assistive technologies for the blind.
Read more about Vijay Varada