Author Options:

Arduino moist sensor with email function Answered


I would like to do a project with an Arduino one including soil sensors and wifi options.

I have all the materials (i think) needed for this but i would need some help with the code.

The idea is to connect atleast 2 soil sensors to the arduino that also has an LCD on it.
I want to be able to monitor the current state of the soil on the LCD in percentage of how moist the soil is.

As for example, when i just watered my plants the LCD would show close to 100% of moist. And for example when the moist drop below 25% i would receive an email depending on which of the sensors that sent the alarm. If i have both tomatoes and peppers in 2 different pots, i want the arduino to know the difference between theese 2 so i can get an email specifying which pot i need to water.

I could however see this on the LCD aswell since it would always show me the current moist percentage of both sensors but i would also want it to be specified in the email. 

So let's say i'm out of town and my tomatoes run low on moist, so the sensor alarms the arduino and it sends me an email saying
"Moist in Tomato pot is below 25%, water them" or something alike. I could help write the code and modify it afterwards for my needs.

I just need someone to help me get started with it :)



The forums are retiring in 2021 and are now closed for new topics and comments.

4 years ago

So what's your problem? Finding the sensors? Attaching them to the Arduino? Calibrating the sensor data? Sending an email?

Or should we just do all of your school project for you?

To get you started:

- buy an Arduino, learn how to program it

- get a sensor, learn how to attach it to the Arduino, make measurements in wet and dry soil

- get a LAN or WLAN module for Arduino and learn how to connect to your local LAN/WLAN - in case you don't have a local internet connection, buy a modem that connects to the mobile phone network and get a SIM card with a data plan

- find out, how to send emails

- get a LCD and learn how to connect it with the Arduino

- get all the parts together and you are done.