Any one pls tell me how to build a automatic irrigation system using pic microcontroller. & It's programming
Any one pls tell me how to build a automatic irrigation system using pic microcontroller. & It's programming
I am not acquainted with the pic microcontroller, but i have made an automatic irrigation system for my olive tree with only a few components:
You only need the following componets:
- 1 5v 1A DC power supply
- 1 12v 1A DC power supply (https://www.kjell.com/no/produkter/elektro-og-verktoy/stromforsyning/stromforsyning/ac-dc/fast-utgangsspenning/ac-dc-stromadapter-12-v-(dc)-12-w-p44382)
- 1 soil moisture sensor (https://www.kjell.com/no/produkter/elektro-og-verktoy/arduino/moduler/luxorparts-jordfuktmaler-p87941)
- 1 100 ohm 1/4w resistor
- 1 10k 1/4w resistor
- 1 30 ohm 1/4w resistor
- 2 1n4148 diodes
- 1 VR05R241A single pole DIL relay (https://www.kjell.com/no/produkter/elektro-og-verktoy/elektronikk/electromechanics/releer/1-polet-dil-rele-5-v-dc-0-5-a-30-v-p36110)
Another suggestion for a full blown irrigation system based on the Arduino is well documented in "Make: Getting Started with Arduino" (https://www.amazon.co.uk/Make-Electronics-Prototyping-Publisher-Paperback/dp/B00SLUYAS4/ref=sr_1_3?ie=UTF8&qid=150746740… )
Good luck!
I have finished testing my design and have concluded that it should not be used. It is not stable. I cannot find any documentation for the moisture sensor that i have used with specifications for the D0 output pin, but it appears that it is a bad choice for controlling the circuitry i built around it. I have tried different variations of circuitry to control with the D0 output pin, but have been unable to get them to work reliably. My latest attempt is based on the A0 output pin input to the A0 pin of an Adafruit Feather HUZZAH, and that solution appears more promising (although i did not want to have to use anything so extravagant). This latest attempt is still being tested and i do not plan on repeating my previous mistake of publishing detailed information about it before it is fully developed and tested - and certainly not unless someone expresses an interest in it.
I’ve often tried things and not had them work first time around, only having to go back and try something different.
The fact that you stuck with it and resolved your issue is more important than your project not working from the start. That is part of the fun
Thanks for the update on your project Raymond
Hi Raymond,
I have to disagree with you a little. Everyone who has ever made anything NEW has been through the same process as you have described. I respect you for your in process posting of your results to date. I have found that when we wait for success and perfection we never quite get to the point of publishing. Keep up the great work and please continue to post work in progress. Another plus is that I find my friends here on the forum will give me helpful suggestions from time to time if they know what I am working on. All I have to do is keep my mind and eyes open to the possibilities.
John
I totally agree with what jw0752 is saying here. The community is very supportive, and your experiences will help others far more than you might immediately think.
Where other on-line communities might punish you for your tribulations, this community tends to jump in and offer support, guidance and help.
You don't learn to walk by following rules. You learn by doing, and by falling over.
- Richard Branson... or somebody or other...
Thank you for the words of encouragement Matt, John, and Paul! I believe the point all of you are making is a very important one - something i first began to grasp while taking an online FutureLearn course called "Prepare to Run a Code Club".
The people presenting the course shared some of their experiences running code clubs. One of those was about what happened when they asked the children in a club if there was anything special they wanted to do. Some of the children wanted to have a club event where their technology challenged parents could attend in order to better understand what they were doing. On the night they implemented this suggestion one of the parents was very discouraged and disappointed when his attempts to complete a project failed. But his son had a remarkable response to the situation. He said: "But dad, you have just learned something important - that this approach was not quite right. You should look at it that way and try another approach towards a solution." (or something along those lines).
I was truly amazed! Could this be an important difference between people who fail and those who are successful in life - the ability to accept that it is ok to err if we choose to perceive it as a learning experience rather than some kind of failure as a human being?
Anyway, i will publish my latest attempt shortly (after dinner).
Thank you all.
Thank you for the words of encouragement Matt, John, and Paul! I believe the point all of you are making is a very important one - something i first began to grasp while taking an online FutureLearn course called "Prepare to Run a Code Club".
The people presenting the course shared some of their experiences running code clubs. One of those was about what happened when they asked the children in a club if there was anything special they wanted to do. Some of the children wanted to have a club event where their technology challenged parents could attend in order to better understand what they were doing. On the night they implemented this suggestion one of the parents was very discouraged and disappointed when his attempts to complete a project failed. But his son had a remarkable response to the situation. He said: "But dad, you have just learned something important - that this approach was not quite right. You should look at it that way and try another approach towards a solution." (or something along those lines).
I was truly amazed! Could this be an important difference between people who fail and those who are successful in life - the ability to accept that it is ok to err if we choose to perceive it as a learning experience rather than some kind of failure as a human being?
Anyway, i will publish my latest attempt shortly (after dinner).
Thank you all.