Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
by Caitlin Geldof
Home-grown fruits and vegetables are often better dry, the smart greenhouse will automatically water
than those you buy, but sometimes you can lose sight your plants (in this project we will visualise the
of your greenhouse. In this project we will make an watering based on a led). The time your plants are
intelligent greenhouse. This greenhouse will being watered and when the door and windows are
automatically open and close his windows and door opened or closed is shown on a homemade website.
when it's too hot or too cold. When the plants are to
Tools:
A rivet pliers
A multifunctional saw
A drill diameter 1 mm
A step drill 8mm
tape measure
A file
Sandpaper
snap-off knife
A soldering iron
Servo motors
Push buttons
Raspberry Pi 3 Model B
Temperature sensor
Moisture sensor
Breadboard
Transistor
Universal Power supply
Resistors
MCP3008
Pi T-Cobbler (Optional)
Led
Wires
Ethernet cable
5,2V adapter
8GB micro SD card
Hinges
Alluminium blind rivets
Bright polystyrene plate
Angle section
Soldering Tin
Double-sided tape
Pins
Electrical heat shrink sleeve
Cable ties
Box
(https://cdn.instructables.com/ORIG/FRS/6JH0/J3YQD5U8/FRS6JH0J3YQD5U8.pdf)
1. Download the image "Raspbian Jessie with pixel" from the Raspberry Pi website.
You will see that this is a ZIP-file.
2. Extract this ZIP-file to a desired location.
3. Download the tool Win32 Disk Imager, this can be downloaded on Sourceforge.
Click on the folder icon to select the image
Then select at "Device" your microSD
Then click on "Write"
After the image is written on your microSD, you can open the microSD in Windows Explorer.
1. Download Putty
2. Create a SSH connection (see image)
3. Sign in
Username: pi
Password: raspberry
SETTING WIFI UP
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
ifconfig wlan0
You'll need:
A multifunctional saw
A file
The rest of the materials mentioned in the bill of materials
Steps:
1. Saw the polystyreen panel like illustrated on the draft above.
2. Saw the angle section like illustrated on the picture above:
3 x 50 cm
2 x 50 cm (angle 140°)
4 x 20,5 cm with one lit shortened by 1,5 cm
mitre cut these profiles with the 2 x 50 cm (angle 140°)
!! Please note that the blind rivets are diametrically opposed, so we don't have problems further on. !!
5. Now you slide the front and the back into the greenhouse.
1. Mark the door and the windows like shown on the pictures above.
2. Saw the marked parts using a multifunctional saw.
After sawing you'll see that there is burr on the side of the windows and door.
3. Polish the sides and also the sides of the pieces that you have sawn out until you don't see any burr
anymore.
4. Pin the windows and the door with hinges as illustrated on the pictures.
R2 = 220 resistor
R3 = 1k resistor
R4 = 10k resistor
R5 = 1k resistor
R6 = 10k resistor
R7 = 1k resistor
R8 = 10k resistor
R10 = 470 resistor
R11 = 220 resistor
R12 = 220 resistor
Paste the servo motors to the polystyreen panel, using double sided tape.
Make sure that their pivot point is in a straight line with the hinge point of the door and the windows. (see picture)
To ensure that the door and the windows are pulled open by the servo motor, we will need to drill a
small hole (diameter 1 mm). Between the wick of servo and the hole we will place a pin.
To get our wiring inside, we will drill a hole with a step drill. While you drill, ensure that you push
your drill to a certain side. In this way we get a kind of rectangle.
Tuck the spelt so when the servo opens, the door goes with it.
Extend the wires (linking other wires) so you can reach your breadboard at the end of the greenhouse.
In this step we will start to drill 4 holes with a diameter of 1 mm to plug our buttons in (to open and close the door).
1. Keep your button where you want to attach him (next to the door) and draw a dot on the place of the
legs of your button. ( 2 times, 2 buttons)
2. Drill in the dot you've drawn.
Drill a hole with the step drill as seen in the previous step, so we can bring the wires of the inner button inside.
Attach the wires of the two buttons together with a clamping strap.
Extend the wires (linking other wires) so you can reach your breadboard at the end of the greenhouse.
Solder to each thread of the temperature sensor a male-female thread. So it will be easier to connect our
temperature sensor to the breadboard.
!! Don't forget to place electrical heat shrink sleeve over the soldered parts. !!
In this step we will make sure that the cables don't run through our plants.
1. Insert a clamping strap through the holes that were formed when you have placed your blind rivets
right in front of each other.
2. Insert all cables in the clamping strap and pull.
And finally:
Past your breadboard and Raspberry Pi in the little box with double sided tape and drill a hole in the backpanel so
you can bring your power supply out.
Before we can run the code, we must first install some things on our Raspberry Pi.
<span style="background-color: initial;">GRANT ALL PRIVILEGES ON *.* TO 'name'@'%' WITH GRANT OPTION</span>
General
Database: ENMDatabase
SSH/SSL
Proxy user: pi
Inserting tables
1. Right click on the ENMDatabase --> Open console
2. Execute the sql files (Database.zip) in the 'console'
3. Result: see image above
Download (https://cdn.instructables.com/ORIG/F8P/MJBY/J3YQ7VI4/F8PMJBYJ3YQ7VI4.zip)
http://www.instructables.com/ORIG/F8P/MJBY/J3YQ7VI4/F8PMJBYJ3YQ7VI4.zip
…
(https://cdn.instructables.com/ORIG/F8P/MJBY/J3YQ7VI4/F8PMJBYJ3YQ7VI4.zip)
In Flask:
This is the very last step before we can use our greenhouse!
In this step we are going to put our greenhouse ready for use.
Always wait to connect the universal power supply until the Raspberry Pi is fully booted up, otherwise the
servo motors will not work correctly!
Now your iGreenhouse is ready to use. You can grown your own fruit and vegetables.