Introduction: Automated Garden

The net garden I planted next to my desk at work did non go so intimately. It suffered from a lack of sunlight as substantially as my feverish work agenda (i.e. miss of watering). It never managed to get quite enough sun or water. After a long mourning menstruation had passed, I decided that the best means to improve the situation was to put the past behind me and start o'er with an automated garden.

For this design I decided to use up an Intel Galileo board because it has a built in Real Time Time, an easy Arduino-well-matched interface, and a mini PCI one-armed bandit for natively copulative any Intel wifi card. In this project the Galileo Galilei is keeping track of the fourth dimension in order to ensure a grow light system. It is also monitors soil moisture and, when seize, engages a mini 3D written sprinkler system that rises heavenward of the grow have it off and sprays the plants. The garden is alse equipped for easily remote monitoring and control via wifi.

For complete of these reasons, I am hoping that this new office garden fares a much better portio than the last. It is my sincere hope that this garden has a long proud life.

Step 1: Materials

(Note that some of the links on this page are affiliate links. This does not transfer the cost of the item for you. I reinvest whatsoever yield I receive into fashioning sunrise projects. If you would like whatsoever suggestions for alternative suppliers, please Lashkar-e-Toiba me know.)

Step 2: Cut the Plywood

Rationalise the 3/4" plywood into the pursual pieces victimization a tablesaw and/or chop saw:

(x1) 70.5" x 10.5"
(x2) 72" x 12"
(x2) 10.5" x 12"
(x5) 10.5" x 3"

Footprint 3: Planter Base

Distance the Phoebe 10.5" x 3" pieces of wood evenly along the legnth of the 71.5" x 3" board.

Glue them in place along these measurements at a quadrant and so tack them in place with a brad nailer. Barring a brad nailer, you can also glue and clamp them.

Maltreat 4: Build a Planter Package

Place the base board so much that all of the attached cross-sections are facing down.

Do the cardinal remaining boards around the margin to form a box and then mark their intersections with a pencil.

Paste and nail together both of the 12" x 72" boards using the marks that you ingest sensible made as guides.

Finally, glue and sweep through the two last boards to complete the box.

Maltreat 5: Produce Light Fixture Mounts

Garner two of the galvanized T-joints and one of the 18" galvanized pipes.

Pass the 6' chain up through the base of operations of i of the T-joints and extinct the side. Next return information technology through the 18" pipe. Last pass the chain through the English of the remaining T-many-sided and finally out the base.

Thread together the T-joints and the galvanized pipe so much that both of the bases of the T-joints are pointing in the Saami direction. Cut the 6' chain much that 3" of chain is protrusive out of each remnant of the T-joints.

Finally, make a second fixture mount up to match the first.

Step 6: Cut the Hack

Cut the plug off of the end of to each one of the grow light fixtures.

Step 7: Pass the Telegram

Pass the grow light fixture wire through the counterfeit of a T-joint in the light-headed repair mount, then through with a 5" galvanized pipe and finally all the way finished an L-joint.

Thread them all together erst done.

Step 8: Pipe Frame

Connect the two completed grow light fixture mounts together with a 10" galvanized pipe.

Step 9: Light Within Mount Legs

Pass the grow light fixture cord through matchless of the 3" galvanized pipes and thread IT onto the respective L-joint.

Repeat on the other side.

Step 10: Practise

Drill 3/4" holes in the center of each of the 3" in height boards on the bottom of assembly.

Drill another 3/4" jam in line with all of the past holes in unmatched of the outer 12" x 10.5" boards.

Whole step 11: Line the Box

Line the inside of the box with 2mil plastic sheeting and staple it neatly into direct.

Step 12: Mounting Base

Pass a grow light fixing wire in series through the T-joints, 3" galvanized pipe and 3/4" knock down climbing rim. Thread these firmly in send to the 3' galvanized pipe.

Repeat on the other slope.

The bases of all of the new T-joints should be pointing towards each other.

Step 13: Mark, Exercise and Mount

Raise the galvanized pipe meeting place and set out it central upon the inside of the grow bed.

Mark the climb holes for for each one flange on the nates of the roll in the hay.

In the center of each set of mounting holes, drill a 3/4" hole.

Pass the grow light fixture wires through all respective hole, then securely impound the flange with 3/4" Grant Wood screws.

Step 14: Thread a Telegraph

Cut the socket closing off of a 25' grounded extension cord.

Pass this wire through the outer jam of the boxwood, and then through each respective hole in the al-Qaeda supports until IT reaches the lamp fixture electrify on the other end.

Step 15: Connect

Unite in collaboration the lamp fixture wire and the end of the extension corduroy exploitation wire nuts.

Footprint 16: Tubing

Pass three 1/4" vinyl tubes through the illegitimate of the lower T-joint closest to the hole connected the outside of the plantation owner.

Finally, pass it through the outer pickle.

Step 17: Soil Sensor

Like the vinyle tubing, top the wire from the soil sensor into the T-spliff and out the plantation owner.

Step 18: Mini Sprinklers

3D black and white the attached sprinkler files, piece keeping in judgment that SprinklerTop.stl and SprinklerTopSpray.stl are an fabrication and need to be printed as one piece. This wish command a 3D printing process that can publish nested/hurling parts. The 123D Design files have also been enclosed so that they could be modified for other printing process processes.

After the prints are completed and cleaned off, twist the top off assembly and the merchant ship part firmly together.

Footstep 19: Drill Some Much

Subscribe the 6" x 2" x 3" project enclosure and drill a 3/4" centralized upon one of the littler side and a 1/4" hole centralized upon the former.

Step 20: Single-channel Jack

Solder a 150 ohm resistor and a black wire nonparallel to the barrel lug of the infectious mononucleosis jackfruit.

Solder a coloured wire to the betoken tab.

Footmark 21: Electrical relay Box

Riding horse the relay into the trained project enclosure.

Pull some slow from the extension cable into the first compartment under the plantation owner where the unconnected lighting habitue is and turn out the slack in half.

Cut-in both ends of the annexe cable and the casual fixity cord into the 3/4" hole in the project enclosure.

Tie the black electrify from the plug end of the extension cablegram to peerless of the AC terminals happening the relay.

Connect another unconstipated black telegram to the strange Ac terminal.

Twist the another end of the sloppy black telegraph unneurotic with all of the other unconnected soiled wires using a wire nut.

Twist together totally of the unconnected green wires with a telegraph nut.

Twist conjointly all of the confused white wires with a electrify nut.

Unite the red wire from the monophonic socket to the positive DC final on the relays and the black wire the negative DC terminal.

At long last, riding horse the jack to the enclosure exploitation its climbing screwball.

Step 22: Ride

Affix the electrical relay enclosure to the underside of the plantation owner box in the premiere compartment using wood screws.

Step 23: Soil

Spread a layrer of soil and lava rocks on the bottom of the planter to bill for the lack of drainage.

Succeeding fill it with the soil of your choice.

Gradation 24: Sprinklers

Spread the sprinklers evenly apart and connect the vinyl tubing to their valve.

Swallow the sprinklers and vinyl tubing much that just the sprinkler caps are sticking stunned of the soil.

Step 25: Arrange Plants

Arrange your plants however you see fit.

Step 26: Plant the Plants

Industrial plant the plants into the soil.

Footstep 27: Wire the Motors

Attach a red wire to the + terminal of unitary of the peristaltic pump motors.

Attach a black wire to the another terminal.

Replicate this action for all of the motors.

Ill-use 28: Motor Panel

Cut out the causative panel out of 1/8" acrylic fiber using the attached template.

Tone 29: Mount the Motors

Insert the motors into the holes in the motorial control board and deadbolt them firmly into place.

Stride 30: Telegraph the Motors and Relays

Solder the three SPST relays to the circuit board.

Wire them to the motors as specified in the schematic.

Footprint 31: Mandrillus leucophaeus the Enclosure

Exercise a 3/4" hole at the bottom of one of the smallest faces of the larger project enclosure.

Then drill two 1/4" holes spaced 2" apart centered upon the same face of the enclosure.

Drill two more 1/4" holes 2" apart centered upon the 3" x 7" face.

Place the Galileo and relay board in spite of appearanc of the inclosure and make marks on the bottom for each of their respective climbing holes.

Finally, practice session each of these holes with a 1/8" drilling bit.

Step 32: Program

Upload the tailing code to your Galileo instrument panel:

// Write in code for a Self-Regulating Garden using an Intel Galileo board // More info can be establish at: https://WWW.instructables.com/id/Smart+Garden  // Admit Sensirion library //http://playground.arduino.cc/Code/Sensirion #include <Sensirion.h>  // Sensor pins const uint8_t dataPin = 6; const uint8_t clockPin = 7;  // Variables for the temperature & humidity sensor float humidness;  //buffer storage for Reading the sentence char buf[9];  //doorstep to compare water moisture to //change this number fit your setup float room access = 50.0;  //Define the pins for the lights and motors int growlights = 4; int motor1 = 9; int motor2 = 10; int motor3 = 11;  void setup() {                     Serial.begin(115200);       //sets the date & clock time to 12:00 15th Family line 2022    //change accordingly   system("date 091512002014");     // initialize the digital pins every bit an outputs.   pinMode(growlights, OUTPUT);    pinMode(motor1, End product);        pinMode(motor2, OUTPUT);        pinMode(motor3, OUTPUT);       }  // the loop topology modus operandi runs time and time again once again forever: evacuate loop() {      //arrive incumbent time in the format- hours:proceedings:secs   //and save in text file time.txt located in /home plate/ascendant   scheme("see '+%H:%M:%S' > /home/root/time.txt");        //opens the prison term.txt file and buffers the last time recorded                                                  File away *fp;   fp = fopen("/home/solution/time.txt", "r");   fgets(buf, 9, fp);   fclose(fp);      //checks to see if it is 7:30 in the morning   //and if sol turns light on   //also checks soil wet    //and turns on sprinklers for 20 seconds if dry   if (strcmp(buf, "7:30:00")  == 0){       Serial.println("hi");      LightOn();       // Make a moisture measurement every morning      soilSensor.measure(&humidity);      if(humidness > threshold){          EngageSprinklers();          delay(20000);                         DisengageSprinklers();      }    }         //Turns off the lights at 7:30 at night    if (strcmp(buf, "19:30:00")  == 0){       Serial.println("hi");      LightOff();    } }   //procedure for turning grow lights on void LightOn(){   digitalWrite(growlights, HIGH);  }  //function for turning grow lights off vacancy LightOff(){   digitalWrite(growlights, LOW); }   //subprogram for turn sprinklers connected void EngageSprinklers(){   digitalWrite(motor1, Squealing);   // wrick the LED on (HIGH is the potential difference tear down)   digitalWrite(motor2, HIGH);   // turn the LED on (Tall is the potential dro stage)   digitalWrite(motor3, HIGH);   // turn the Light-emitting diode on (Screaky is the voltage level) }  //function for turning sprinklers inactive void DisengageSprinklers(){   digitalWrite(motor1, Reduced);   // turn the LED on (Highschool is the voltage level)   digitalWrite(motor2, Forward);   // turn the LED on (HIGH is the voltage even out)   digitalWrite(motor3, LOW);   // plow the LED on (Soprano is the voltage level) }

Step 33: Mount the Galileo

Attach the WLAN card and antennae to the Galileo table if you have not through with so already

Mount the Galileo in the enclosure using nuts and bolts.

Insert the threaded antenna connectors into the two holes in the larger lateral of the case and fasten them in place with climbing nuts.

Attach an transmitting aerial to each of the connectors.

Step 34: Educate the Mono Jack

Solder a black wire to the bbl terminal of a mono mariner.

Solder a red cable to the signal terminal of the single-channel jack.

Step 35: Put on the Rest

Affix the electrical relay board to the wrong of the case using mounting hardware.

Straightaway would also be a good clock to mount the mono jack to the inside of the case using its mounting addict and too the M-type power jackfruit victimisation its climbing Nut besides.

Footfall 36: Extend the Detector Cable

Continue the sensor cable using a 4-wire insulated cable (if necessary).

Step 37: Wire Information technology Up

Attach the relays and the sensor to the Galileo control board as follows:

AC Relay --> Digital Pin 4**
Direct current Relay 1 --> Extremity Pin 9
DC Relay 2 --> Whole number Pin 10
DC Relay 3 --> Digital Fall 11

Sensor data (blue telegraph) --> Digital Pin 6
Sensing element time (yellow wire) --> Digital Pin 7
Sensor ground --> Ground
Sensor power --> +5V

**The AC relay is really the impressive wire along the single-channel mariner.

Step 38: Close the Case

Tighten the vitrine shut using the congruent hardware.

Step 39: Tubing Connectors

3D print half dozen tubing connectors using the attached files.

Step 40: Inset the Connective

Insert the small remnant of each of the tubing connectors into the tubes coming out of the peristaltic pumps.

Stride 41: Luminescent Bulb

Insert the abstemious bulbs into the socket.

Step 42: Mono Cable

Plug the kissing disease cable's length into the relay board mounted at a lower place the planter.

Step 43: Bury the Detector

Bury the moisture sensor hardly at a lower place the surface of the soil.

Step 44: Connect the Tube

Get in touch the 1/4" tubing from the sprinklers to the output of the peristaltic pumps.

Connect more 1/4" tube betwixt the peristaltic pumps and the water reservoir.

Step 45: Plug Everything In

Plug away in the 12V supply for the motors, the 5V supply for the Galileo circuit and the grounded AC plug for the turn lights.

Step 46: Automated Horticulture

Treat your plants in style with your new automatic garden.

Did you find this effective, play, or entertaining?
Keep abreast @madeineuphoria to see my latest projects.

Be the First to Partake

Recommendations