You are on page 1of 7

instructables

Smart-Greenhouse

by Paloriv

Hello markers, capable of module the bright of a bulb depending on


the sun’s light. It also counts with sensors which
We are a group of three students and this proyect is measure humidity, temperature and brightness. To
part of the subject called Creative Electronics, a Beng show all the information there is a lcd screen. Aside,
Electronic Engineering 4th year module at the we make a program using processing that allow you
University of Malaga, School of Telecomunication to change the bright of the bulb manually in case you
(http://etsit.uma.es/). want to, with a 3D environment.

This project consists of an intelligent greenhouse

Smart-Greenhouse: Page 1
Step 1: Materials

- 1 Photoresistor - 1 Box
(https://www.ikea.com/es/es/productos/decoracion/pl
- 1 Sensor temperature/humidity DHT11 antas-jardineria/socker-invernadero-blanco-art-
70186603/)
- 1 Lcd LCM1602C
- 1 Bulb
- 1 Protoboard
- 1 10k-Ohm resistor

- 1 SAV-MAKER-I (alternative to Arduino Leonardo). - 4 1N4508 diodes


If anyone desires to make this board instead of using
Arduino Leonardo we add the link of github where - 1 1N4007 diode
you will find all the required information
(https://github.com/fmalpartida/SAV-MAKER-I). - 1 Zener 10V 4W diode

The dimmer circuit, which let the variation of the - 1 2.2uF/63V capacitor
light’s intensity of the bulb, is based on one maker
desing (https://maker.pro/arduino/projects/arduino- - 1 220nF/275V capacitor
lamp-dimmer). Used materials:
- 1 Optocoupler 4N35
- 1 330-Ohm resistor
- MOSFET IRF830A
- 2 33k-Ohm resistors

- 1 22k-Ohm resistor

- 1 220-Ohm resistor

Step 2: Temperature/humidity Sensor

We used the sensor DHT11. This library DHT11. You have to add the DHT11 library to
your Arduino library folder. We include the library for
sensor provide us digital data of air humidity and download.
temperatura. We consider is important to measure
this parameters because it influences the growth and As you can see, we add an image to show how is the
the care of the plant. sensor’s conection.

To program the sensor we had used the Arduino

Smart-Greenhouse: Page 2
Download
https://www.instructables.com/ORIG/FS8/2YBR/JRV8CH02/FS82YBRJRV8CH02.zip

Step 3: Light Sensor

To do the light sensor we used a photoresistor, that is a variable resistor with light’s change, and a 10k-Ohm
resistor. In the following image is shown how to do the connections.

This sensor is really important because all the data it gets, is used to regulate the brightness of the bulb.

Smart-Greenhouse: Page 3
Step 4: LCD Screen

We used the lcd LCM1602C. The lcd allow us to show all the information we capture with all the sensors.

To program the lcd we had used the Arduino library LCM1602C. You have to add the LCM1602C library to your
Arduino library folder.

We add an image to show how to connect the device.

Smart-Greenhouse: Page 4
Step 5: Dimmer Circuit

The first way that comes to mind when using an rectifying the tension in the circuit; D6, R5, C2 also
Arduino and having to dimmer a light is to use PWM, serves as rectifier, and R3, R4, D1 and C1 regulate
so that's the way we went for. In doing so we were the voltage value across C2. The optocoupler and R2
inspired by the well known design circuit by Ton drive the gate, making the transistor switch according
Giesberts (Copyright Elektor Magazine) which do to the PWM value provided by the Arduino board. R1
PWM of an AC source. In this circuit, the power serve as a protection for the optocoupler LED.
voltage for driving the gate is supplied by the voltage
across the gate. D2, D3, D4, D5 form a diode bridge,

Smart-Greenhouse: Page 5
Step 6: Programming SAV-MAKER-I

The function off this program is to read and show all the information that our sensors are receiving. Besides we
module the light with a PWM signal depending on the light values. This part forms the automatic regulation.

The code is added below.

Download
https://www.instructables.com/ORIG/F3S/FDKM/JRV8CH03/F3SFDKMJRV8CH03.ino

Step 7: Programming With Processing

The function off this program is to represent grafically what’s going on with the greenhouse in real time. The grafic
interface shows a 3D greenhouse with a bulb (which turn on or off at the same time it do it in real life) and a plant.
In addition, it represent a sunny day or a starry sky depending on the bulb’s state . The program also let us to have
the control of the bulb in a manual way.

The code is added below.

Download
https://www.instructables.com/ORIG/FN6/HTDE/JRV8CH05/FN6HTDEJRV8CH05.pde

Step 8: Making the Board

As you can see in the added photos, we put all the components on the protoboard following the image of the
connections we put.

Smart-Greenhouse: Page 6
Step 9: Final Result

Hello markers,
We are a group of three students and this proyect is part of the subject called Creative Electronics,
a Beng Electronic Engineering 4th year module at the University of Malaga, School of
Telecomunication (http://etsit.uma.es/).
This project consists of an intelligent greenhouse capable of module the bright of a bulb depending
on the sun’s light. It also counts with sensors which measure humidity, temperature and
brightness. To show all the information there is a lcd screen. Aside, we make a program using
processing that allow you to change the bright of the bulb manually in case you want to, with a 3D
environment.

Smart-Greenhouse: Page 7

You might also like