Smart Garden Project Complete with Mobile App

Thank you very much @czuvich

The registration of devices on TTN is a very valuable feature.

I assume you are using the application manager api.

Also the interface of the app seems very nice. Is it developed using Flutter or other similar framework?

Yup.

Thanks! I used Xamarin Forms.

1 Like

As someone in the Ag sector and very interested in the application of IOT in the industy your designs intrigue me.

I have a few questions if you don’t mind: What soil moisture sensors do you use? Is there the ability to measure the moisture at multiple depths? Eg different rooting zones. Can you measure the ambient temperature as well? This is useful to see the difference.

Otherwise I’m very impressed.

Thanks Frankie. I use the Vegetronix VH400 sensors for soil moisture.

The probe can be inserted vertically or horizontally. For optimal results, you’ll probably want to install 2 sensors. One at the top of the soil and another at root zone. I’ve had the best luck installing them parallel with the ground plane to get the widest area possible. I only use one sensor though since I only need a rough estimate.

I use the DS18B20 temperature sensor which could be used for either ambient or soil depending on the enclosure. I currently use it for soil temperature since I like to see how the soil is doing underneath the mulch.

One thing to keep in mind is that temperature does have a slight impact on the soil moisture readings with these sensors.

This is a great project. I have been considering a similar project.

Which latching solenoid water valve did you decide on? The ones I have found made using solar and small batteries difficult as they required too many amps to switch.

Thanks for the background reference.

Thanks! I’m currently using a blend of the 1" PGV Hunter valves with DC latching solenoid and the K-Rain DC Latching solenoid.

Thanks for the info. I’m trying to resolve some of the information you provided with these solenoids.

  • Powered by a single AA LiFePO4 battery with solar replenishment
  • No regulator needed since the LiFePO4 provides a nominal voltage of 3.2V
  • 5V regulator with SHDN for interfacing with 5V devices

I’m not familiar with the acronym SHDN?

The 5V regulator steps up from 3.2V? How do you get 9V to drive the solenoids?

This is nice work.

I think I found it “SHDN” is a shutdown pin, so that the regulator can be disabled when it’s not in use.

Is the 5V enough to drive the solenoids?

I found that 12V is the sweet spot for the solenoids. I step up the voltage straight from 3V.

Hye, good project may i know what software did you use to develop the mobile app and how you do it? i also developed an IoT project but need mobile app

MIT AppInventor is pretty simple to get started.

Thanks! I used Xamarin Forms for my mobile app, but that’s what I do for a living (mobile developer/designer). Otherwise, as descartes mentioned there are platforms that can get you started quickly.

i have same project but with little different idea but i dont know how can i add read value of the soil moisture to the TTN to manage and monitoring
can you help me please with steps in detail
respects

Hi Mateen,

That’s a bit of a vague question. In short, you need to

  1. Read a soil moisture sensor via microcontroller
  2. Transmit the data over LoRaWAN to a TTN Gateway
  3. Transmit the data from a TTN Gateway to a backend that can store/analyze the data

It’s a fairly involved process if you’re starting from scratch, but there are plenty of examples online that can help with each step in that process.

thank you
but i dont find any example start from scratch to help me
can you help me please
i use node mcu8266 microcontroller and soil moisture sensor and temperature and humidity sensor and water pump

What LoRaWAN component do you use?

i dont use any LoRaWAN component and this is my code smart garden (2).txt (4.7 KB)

Sorry, but this forum is dedicated to LoRaWAN.

can you guide me to another free cloud not dedicated to specific type

You are using thinkspeak. Why don’t you use their Community?