Step 10: Attach wires

Attach an 18" section of 12 AWG wire to the free pin of the 10K resistor. Solder a 6" section of black 22 AWG wire to this joint.

Attach an 18" section of 12 AWG wire to an unused part of the PCB. Solder a 6" section of red 22 AWG wire to this joint.
<p>that can be processed in a house right because we dont have a yard</p>
<p>Hi Randy, my flower has asked me to do it automatic watering, but his boss ran into a problem when trying to check the code gives error. Help my master how to fix it. When he was not at home for a long time, I have very bad without water.</p><p>That's what he can not, how to fix it)))?</p><p>Arduino: 1.6.5 (Windows 8.1), Board: &quot;Arduino Uno&quot;</p><p>The sketch name had to be modified. Sketch names can only consist</p><p>of ASCII characters and numbers (but cannot start with a number).</p><p>They should also be less than 64 characters long.</p><p>sketch_oct02b_:18: error: expected unqualified-id before numeric constant</p><p>sketch_oct02b_:25: error: expected ',' or ';' before 'void'</p><p>expected unqualified-id before numeric constant</p><p> This report would have more information with</p><p> &quot;Show verbose output during compilation&quot;</p><p> enabled in File &gt; Preferences.</p>
<p>I am interested in an industrial version being built --- </p><p>Can the author react out </p><p>amoskovitz@yahoo.com</p>
<p>can u plz mail me the source code? gaidar.kos@gmail.com</p>
<p>someone has a video toturial?</p>
<p>these arduino codes are not working for me is there any tips so I can figure out this problem </p>
<p>I have only one question, how often do you need to change the 9V battery? My bet is that it will last around 2 days...</p>
<p>Can someone please help me with the wiring diagram between the relays, probes and the arduino. Quite confusing. Thanks in advance!</p>
<p>Hi, this is a good project. I would like to do, so I was wondering if you can share the code for the arduino? would be great if you could do it.</p><p>thanks in advance</p>
<p>The code for the arduino is given in Step 19: Program</p>
Hello River_alexander<br><br>Thanks for all! =)
<p>Would a submersible pump work as well as a non-submersible pump?</p>
Can 1 arduino control multiple pumps for independent vases?
<p>I would all so be cool if you could make it so the water in an dish at the bottom of the plant got ran though back to the water container through an tight to clean out any solid mass</p>
<p>Sure, But you may need to run them off separate power supplies. So you may need to use transistors or relays.</p>
<p>I would love one or several of theses....but the fact that I am too lazy to water my plants means that something like this is far out of my grasp....</p>
<p>Thanks for instructable Randy!</p><p>Because I had one of those moments when you get to home depot and realize that the word tubing is not descriptive enough, haha, I wanted to add that the tube size for the specific pump in this instructable is 5/16&quot; OD x 3/16&quot; ID. I couldn't find the compatible tube size needed on the pumps packaging or instructions either, but luckily you had a close up shot of the tube where I could see the size.</p>
<p>Step ten says;<br>&quot;Attach <br> an 18&quot; section of 12 AWG wire to the free pin of the 10K resistor. <br>Solder a 6&quot; section of black 22 AWG wire to this joint.</p><p>Attach an 18&quot; section of 12 AWG wire to an unused part of the PCB. Solder a 6&quot; section of red 22 AWG wire to this joint.&quot;<br><br>However, the pictures show two additional wires coming off the PCB. You can see them again in images from steps 12,13, 15, and 22. Step 23 talks about where the OTHER end of those wire go (connecting to the Arduino), but I am wondering where they connect exactly on the PCB. I seem to be missing the step where it mention when and where those wires are connected.</p>
<p>Did you ever figure out what wires went where? I would really like to do this project, but I can't get it to work.</p>
<p>wired up and everything but doesn't seem to work. Just flashes number on the serial from very high to very low rapidly. Also Relay doesn't seem to work even when i wire it up differently and force it to work, I can hear the internal switch clicking but the pump just stays on. I made sure non of my wires or solders are crossed. </p>
<p>Hello All,</p><p>Completed this project. I have a complete working project running off solar power (which is pretty awesome, just connects the usb from the Arduino to the usb port of a Goal Zero nomad 7).</p><p>My previous relay in me last comment was faulty so I got a new one. Please note that as far as I know, the above will not control the relay as it would appear. Instead of what he has above, I connected the 5v to one pin of the relay coil, and the other pin to the Arduino. I then have a wire from that 5v across the pc board and out to one of my sensors. The other sensor is hooked up totally separately from the relay with a gourd the pc board, a 10k resistor to a wire that connects to A0 (on the Arduino) and a wire to the other sensor that that junction.</p><p>hopefully this helps to those who are not having success. I am not comfortable making a circuit diagram to show what I did as I have no idea my self how to read them. I can send pics, or explain better how I did things to anyone who asks.</p>
<p>Hey, would you mind sending me pictures of how you did this a.k.a. the PCP board and where the wires go to. I would really like to do this project, but the pictures and instructions aren't very well detailed. If you could email it to river@riveralexander.net that would be great. Thanks for the help!</p>
<p>thanks 4 de tip, it worked just like you said..</p>
<p>Hi! </p><p>Would you post a pic of your setup? I'm a newbie here and couldn't make it work :(</p><p>Thanks a lot!</p>
<p>not sure how to annotate pictures, the green wire from the relay goes out to any digital pin (mine goes to pin 2), the red wire on the top part of the relay goes to 5v. the red wire across is soldered to one of the sensor wires.</p><p>The black wire goes out to ground on the arduino, the 10k resistor goes over and is connected to a green wire (show) that connects to one of the analog inputs (mine goes to A0) and underneath is soldered to the other sensor wire.</p><p>The red wire on the bottom of the relay goes out to one of the parts of the pump wire as he illustrates above, the other wire goes into the single pin of the relay (which is on the ver right of the picture)</p><p>let me know if you need me to clarify anything. I know nothing about circuits or anything, just did some googling and playing around on a bread board to figure this all out.</p>
<p>sorry could you send me the schematic and program details as well thank you very much it would come in handy </p>
<p>hi, could you send me info as I want to do this as my final project. christianjay95@hotmail.com</p>
<p>hi sir, thank you for the info. can you send me on my email the full information and the program because the above info is quiet complex for me. I want to propose this to my professor for our thesis project. This is my email arjie.carolino@yahoo.com</p><p>Thank you sir..</p>
<p>I can use a air pump instead?</p>
<p>can i use bigger water pump</p>
<p>Yes you can use even a 300HP pump if you want. Just use proper relay and source</p>
<p>2 questions: 1) is this design adaptable to maintain more than one plant (potentially 3 or 4 at a time with 3 or 4 separate pumps, so the pumps all go to the same set of circuitry?) and 2) is it possible to add a rechargeable solar assembly to power everything?</p>
<p>1) yes</p><p>2) yes</p><p>With programming you can add as much pumps and sensor as you want. Its not so diffucult to add extra code lines.. </p><p>For the solar rechargeable system it will become a little expensive, but in any case you should add a solar panel that charges the battery in a few hours, and a battery capable of operate when cloudy days havent charged the battery. Maybe you can add a 7A motorcycle battery which will be more cheap and maybe more autonomous</p>
<p>Im interested to do this project as my final project.</p><p>please send me information, programming details.</p><p>emanuelsp@unitec.edu </p>
<p>Hi,</p><p>Great stuff!</p><p>I have a little question, there is any reason to use non-submersible pump? Can I use submersible pump?</p>
<p>ive tried to use submersible pump, and it worked ... :)</p>
<p>mde<br>Not that I want to reply in Randofo's case, but i can see why he used a non submersible pump.<br>It is a house-plant and he only uses a small container. also it all fits neatly in one box.<br>If you use a submersible pump (like i have used in garden projects) it needs to be in a larger container and needs to be submersed all the time. that might not always be a good choice inside a house.<br>Having said that: sure, you can use a submersible pump, just dont put it in the box but keep it submersed</p>
<p>can u plz mail me the source code as it is my final year project.my email id is alokj69@gmail.com</p>
<p>Can somebody give me the circuit diagram...Im a noob...! Please...This is my first project...</p>
<p>Hello! </p><p>Awesome project! I have a question, where did you find the data you needed to program the moisture sensor. I was trying to figure out how to identify the necessary moisture for different plants but haven't an online resource with that data. </p><p>Thanks! </p>
<p>@marlenjaramillo</p><p>marlen, i am not sure how Randofo does it, but generally you would just take a reading of the sensor while the soil is most enough that you consider as the right moisture for that plant. You then use that value in the program.<br><br>Another way is to just make a calculation:<br>measure the resistance of the sensor at a moment you consider the soil moist enough. Now suppose that value is 10k.<br>The probe is part of a voltage divider with another 10k resistor to ground. Therefore the voltage on the A0 pin becomes 2.5 Volt or in digital terms 1024/2=612.<br>if the resistance of the probe would be e.g.40k when the soil is moist enough, the voltage would be (5/(10+40))*10 =1Volt or in digital terms 1024/5=204.<br><br>As the project uses an entire arduino, you could easily add a variable resistor/potentiometer that is being read by one of the other analogue ports. one can then use that value (map it first so it only takes 1 byte) to set the irrigation threshold.<br><br></p>
<p>hye,sir</p><p>im electrical engneering student.</p><p>Im interested to do this project as my final project.</p><p>please send me information, complete project detail and programming details.</p><p>sankancu1724@gmail.com</p>
<p>has anyone actually made one of these? the wiring instructions are so convoluted that i cant imagine anyone has actually had luck with constructing this...</p>
<p>can someone post a schematic or wiring diagram? the directions arent very clear as far as what pins are connected to what wires and i want to double check...</p>
<p>you can easily add a sleek plant arm to the pot, so it has light..! please check out my designs, i'm in the process of combining the two technologies...</p><p><a href="http://www.instructables.com/id/USB-powered-LED-plant-light-20/" rel="nofollow">http://www.instructables.com/id/USB-powered-LED-pl...</a></p>
<p>I can't seem to find the code?</p>
<p>Thats exceptional...<br><br></p>
Can you use a bigger reservoir for the water.
<p>so 5v goes to the plant analog in comes from the other probe.</p><p>Where is the ground at? Kinda confusing?</p><p>Is this correct; I found no schematic found</p><p>redwire to arduino 5v and then soldered and to plant</p><p>black wire to a1 (analog in) and ground and to resistor side of relay.</p><p>digital 12 pin to one side of relay coil on micro relay</p>
<p><br>Thats great</p>

About This Instructable


774 favorites


Bio: My name is Randy and I run the Instructables Design Studio. I'm also the author of the books 'Simple Bots,' and '62 Projects to ... More »
More by randofo: How to Change a Lock Bedfellow Robot Bed Easy Science Fair Project
Add instructable to: