Smart Watering Plant Using RT-Thread RTOS in STM32
by Varun Pandithurai in Circuits > Electronics
3086 Views, 3 Favorites, 0 Comments
Smart Watering Plant Using RT-Thread RTOS in STM32

I just built a smart plant watering system using RTOS - RT-Thread
Description
Resistive soil moisture sensor
Capacitive soil moisture sensor Both the soil moisture sensor works on the principle of electrical conductivity. Resistive soil moisture sensor works with change in resistance between the two leads of the sensor where as capacitive soil moisture sensor has only one lead which works with respect to the change in dielectric property of the soil.
Working
Technical Description

Product Features
The sensor collects data all the time.
All the process happens concurrently so no delay occurs unless manual delay which were made on intention
Multiple sensors can be added in future. My Experience in RT-Thread I am using RT-thread for this project. I am new to RT-thread this is my 1st project in RT-Thread I used RT-Thread studio for this project it is user friendly and free tool so I will be using it for my future projects. I also used the thread function which helped me achieve concurrency. I got help from RT-Thread Club and some direct help from the people from RT-Thread. They were so friendly that they helped me at various stages of the project. My special thanks to the members from RT-Thread for helping me to complete this project.
Have a look at their website to get started.
Hardware Framework
Software Framework
The program is written in c the only work of the main function is to activate the three threads.
Wiring
2. RED LED P(A, 6)
3. Soil Moisture Sensor P(C, 0)
4. Water Pump P(A, 10)
Check Out My Video in Youtube to Get More Clear About the Project

You can find the git-hub link to the source code in the description of the youtube video.