Controller for greenhouse on Arduino. Automatic greenhouse with ventilation and irrigation automatic greenhouse Arduino

Gyvercontrol - a universal controller-timer for greenhouses and other places where you need a timer automation or microclimate indicators / other sensors, has 10 separately customizable control channels, assembled from low-cost Chinese components and replaces several "shopping" controllers of different purposes: watering, lighting, lighting, opening the door and much more. It can be used both for greenhouses / beds and for aquariums, terrariums, incubators and other automatic systems. Be sure to read the documentation On the controller (links above), it is described in detail about all the possibilities. Here is only a brief list!

This project is completely open, that is, any of you can make a controller for the greenhouse with your own hands, GyverControl combines the controller of watering, lighting, ventilation and much more. The most important thing is that it is possible to make such a controller in a smart greenhouse at cost, i.e. By the retail value of Chinese components. And this is very cheap.

Iron:

  • Arduino.Nano. (ATMEGA 328P) as the main system controller
  • 7 Channels With a logical output of 5V, which can be connected to a conventional relay, solid-state relay, power keys (transistors, transistor-based modules)
  • 2 channels servo drives, regular model servo large and small sizes are connected.
  • 1 channel Controlling linear electric drive with limitations of motion restrictions and with time-out work
  • Air temperature sensor ( BME280.)
  • Air humidity sensor ( BME280.)
  • 4 analog sensors (soil moisture or other)
  • Support (real) time module RTCDS3231. with autonomous food
  • Large LCD display (LCD 2004, 20 columns, 4 lines)
  • Government - encoder
  • Support for DHT11 / DHT22 humidity sensors, DS18B20 temperature and thermistors

Software chips:

  • Storage of all settings in non-volatile memory ( not reset when rebooted)
  • Soil humidity sensors (all analog sensors) are not under constant voltage, it is supplied only at the time of the survey, which allows you to extend the life even the cheapest soil moisture sensors (the voltage is supplied for 50 ms to the survey and turns off after 50 ms after).
  • Optimized Display data output
  • Each of the 10 channels (7 relays, 2 servo and 1 drive) has individual settings and can work on timer or on sensors
  • 4-6 modes of work Each channel: Three different timers and work by condition from sensors, PID modes and dawn
  • Servo works with my library ServosmoothThis ensures smooth movement: smooth overclocking and braking with a limit of maximum speed, as well as the absence of jerks and unplanned movements when starting the system
  • Linear drive has conteviki, External buttons To control I. speed \u200b\u200bsetting Movement. PWM frequency drivers - 31 kHz, i.e. do not float
  • Screen debuggingwhere all current information about iron and sensors are displayed.
  • Graphics Temperatures and humidity of air and testimony from analog sensors in the last day
  • Service menuallowing manually controlling each piece

Application as a greenhouse / boxing controller:

  • Periodical watering (relay)
    • Scheme with individual pumps / valves
    • Scheme with one pump and multiple valves
  • Watering based on soil moisture sensors
  • Lighting control (relay) with time binding by time
  • Road (the drive opens the window / servo opens the flap) on the temperature sensor or air humidity
  • Moisturizing (inclusion of humidifier) \u200b\u200bon air humidity sensor
  • Heating (enable heater) on temperature sensor
  • Performing actions servo drive (pressing buttons on devices, rotation of the handles, turning dampers, move items) on the sensor or timer

Application as aquarium controller:

  • Dawn mode for LED ribbons (via Mosfet) and incandescent lamps (servo)
  • PID regulator to maintain water temperature
  • Servo drives (2 pcs) for food reset
  • The remaining channels can be used by timers to start filters / aerators / backlight

Other applications:

  • The system supports 4 analog sensors, it does not have to be soil humidity sensors, the Chinese have full of other "module sensors", which similar Connect to the diagram:
    • Light sensor: "Smart" lighting system, backup lighting
    • Termistor. (up to 80 degrees): control of the heating of the object
    • Sensor sound: Closing the window with severe noise outside (why not? \u003d))
    • Sensor IR radiation (Fire sensor) - different options for signaling, or even extinguishing (turn on the pump with water, open the crane of the server)
    • Rain sensor: closing windows, signaling, turning on pumping on pumping
    • Water level sensor/ Water availability sensor: automatic filling of the tank, automatic pumping of water pump from the tank / basement, overlapping water lines during leakage, leakage alarm
    • Gas analyzers In assortment: alarm or even ventilating (open a window) in terms of carbon monoxide and other industrial gases
    • Optic sensor obstacles: Here you need a fantasy
    • Potentiometer: as an additional system control body
  • The servo is a fairly universal thing, can open / close the flaps, can press the buttons of other devices, rotate the adjustment knobs of other devices, with the attached connecting rod, it is possible to linearly move objects / sliders of other devices. Servo drives There are different sizes, from micro (2 kg / cm) and medium (13 kg / cm) to very powerful (50 kg / cm)
  • The relay is able to close the power contacts and manage any devices, also the relay can turn on the power supply (for example, LED tape). The relay can be placed parallel to the wire to the button of another device, and it will turn it on or off.
  • Version 1.4 and higher allows you to maintain the temperature with the PID of the regulator, for
    Terrariums / Incubators / Any Temperature Maintenance:
    - Serve the PWM signal to the field transistor controlling heating
    - Turn the servo rotation of the network dimmer
  • Version 1.4 and above has a dawn mode that allows you to use the controller for
    Aquarium / terrarium and other animal farms
  • The main authority is encoder, whose handle can rotate and pressed (It is a button). When you start the system, we fall on the channel setting 0. Rotating an encoder handle You can move the selection cursor (arrow) on the menu items. To change the value of the selected item, you need press the Handle of the Encoder and turn it while holding down. You can also click on the button, the cursor will change from the arrows on the tick > And the rotation can be changed the selected value. Re-click will return the arrow, with which you can select another menu item. Having a retainer when the selected channel name is a change channel to configure. Sheets to the right and we will have in order 7 relay channels, two servo and linear drive.
  • To proceed to setting the mode, you need bring to it the cursor and click the buttonwithout turning. A mode setup window will open, exit you can click on the inscription back (back). Holding and rotating the handle on the selected mode name, you can change the mode, all of them 4.
  • At the root of the menu (Channel Selection) Listful left from channel 0 There will be a debug screen ( Debug.) and service mode ( Service.). The debug screen shows all the current positions of the relay, drives and indications from the sensors. Rotating the handle on the debug screen consistently scolded daily charts Indications from sensors: air temperature, humidity and testimony from analog sensors. Divisions on the chart have a step 1.6 hours. On the service screen, you can control any channel in manual mode, with the active screen of the service the automation does not work, the system is completely in manual mode. You can select the desired channel, the position of the servo or setting the current time, and to the restraint of it to change it.
  • If a turn on the system with a gropped handle Encoder, will happen full reset settings Channels and modes.

Modes of operation channels

  1. Timer - a simple periodic timer: Periods are set Pause and time Work In the format of CC: mm: ss. With a pause period, a selected action is performed and performed during the period of work. For example, pause costs 1 hour, work - 10 seconds. Each hour will be accomplished for 10 seconds, that is, if the relay channel is selected, the relay will turn on and turns off after 10 seconds, then turn on it again and turns off after 10 seconds and so on. How the channel behaves in the work site set in the direction parameter, that is, it can be on off and off / inc (relay), right left and left right (servo) and open close and close / Open (linear drive). This mode is not binding to real time, the system reboot reses the current timer. Attention! Work should not be longer pause!
    • Min. Meaning: 1 second
    • Max. Meaning: 999 hours
    • Binding to Real Time: No
  1. TimerRTC - a periodic timer, unlike the previous one, has a reference to real time, has a setting Period Inclusion and duration Work(in seconds), which will be accomplished, and START - the initial hour from which the counting of the period begins ( for periods more than 2 hours). For example, a period of 15 minutes, work 10 seconds: every 15 minutes will be valid for 10 seconds. The binding to real time works as follows: the action will be accomplished with the selected period. from the beginning of the hour, that is, if the 15 minute is selected, the action will be 0, 15, 30 and 45 minutes eVERY hours. If the selected period is more than an hour (from two or more), you can choose an hour of start from which the countdown will go. All periods are multiple 24 hours, so the work begins in the same hours of every day! Example: a period of 8 hours, an initial hour 0. The action will be executed in 0, 8 and 16 hours of each day. If you put an initial hour (start) 3 hours, the action will be performed at 3, 11 and 19 hours of each day. When dumping the power, the next action will be committed in the near future "alarm clock". Attention! Work should not be longer than the period!
    • Periods to choose from: every 1, 5, 10, 15, 20, 30, 60 minutes and 1, 2, 3, 4, 6, 8, 12, 24 hours
    • Application: Watering in hydroponic systems, venting without a sensor
Period Once a day When it works
1 min 1440 Every minute
3 min 480 0, 3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45, 48, 51, 54, 57 min. every hour
5 minutes 288 0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55 min. every hour
10 min 144 0, 10, 20, 30, 40, 50 min. every hour
15 minutes 96 0, 15, 30, 45 min. every hour
30 minutes 48 0, 30 min. every hour
1 hour 24 Each hour
2 hours 12 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22 hours of each day (+ shift on the starting hour)
3 hours 8 0, 3, 6, 9, 12, 15, 18, 21 hours of each day (+ shift on the starting hour)
4 hours 6 0, 4, 8, 12, 16, 20 hours of each day (+ shift on the starting hour)
6 o'clock 4 0, 6, 12, 18 hours of each day (+ shift on the starting hour)
8 ocloc'k 3 0, 8, 16 hours of each day (+ shift on the starting hour)
12 hours 2 0, 12 hours of each day (+ shift on the starting hour)
24 hours 1 0 hours of each day (+ shift on the starting hour)
  1. WEEK. (former day) - a simple timer on one action with reference to real time, has a setting ON. (time in CC format: mm: ss) - the time with which the action is actively and Off (Time in CC format: mm: SS) - the time with which the action is not active. There are also 7 "cells" - days of the week Days., From Monday to Sunday. When rebooting, the action will be returned to the desired position according to the current time. Example: The timer is set to 6 and 20 hours (Start and Stop). The action corresponding to the current channel and the parameter of the Direction will be actively from 6 to 20 hours, and inactively from 20 to 6 am the next day. With a sudden reboot, the system will make an action as it should be on this period of time, that is, from the past example, if a sudden reboot occurs between 6 and 20 hours, when the system is started, the system activates the action across the channel. Attention! ON must be less off!
    Also mode has a setting Globalwhich forces any other mode to work "on schedule" Week. What does it gives: for example, you can configure watering on Tuesday and Friday from 17 to 18 pm (from a barrel), put the Global tick and configure the Sensor mode under watering. How it will work: the system will water this channel on the Sensor mode, but to do it only on schedule (Tuesday and Friday 17-18).
    • Choice of the day of the week
    • Time selection: 0-23 hours, multiple 1 hour
    • Binding to real time: yes
    • Application: Perfect Mode for Lighting and Rare Watering
  1. Sensor - action based on the sensor. With a survey period PERIOD The selected sensor called SENSOR and when the threshold value is exceeded THRESHOLD Action is performed according to the selected channel (relay / servo / drive). The survey period is set in seconds or minutes (as it increases). The sensor is selected from the list: T.VD. - air temperature, V.VEZ. Sens_1 by Sens_4.. The threshold value is set from 0 to 1023 in step 1 to the value of 50 and in increments of 10 ranging from 50 (soil humidity sensors have a range of values \u200b\u200b0-1023). For example, the air temperature sensor is selected, the survey period is 1 hour and a threshold value 25. Each hour the system checks the temperature when the channel corresponds to the channel will be performed (turn on the relay, open the window). An hour later there will be a check again.
    • Application: Opening / closing of lesions for temperature / humidity (drive), watering soil moisture, fan control / humidifier (relay) or dampers (servo) for temperature / humidity.
  1. PID (For channels 3, 4 and servo) - a proportional-integral-differential regulator, allows you to maintain a controlled value with high accuracy (heater-temperature, damper-temperature, fan-temperature, fan-humidity, and so on). The mode is available for channels 3 and 4 (marked with stars), as well as both servo channels in servo mode. Has settings of coefficients P., I., D. (D Most likely it is not useful in real work, but it still is there). Choose Sens. - the input source is one of the sensors as in Sensor mode ( Air T. - air temperature, Air h. - air humidity and 4 analog sensors (soil humidity) with Sens_1 by Sens_4.). Setting SET. Indicates how the value of the reading from the selected sensor the regulator will try to provide the system. Setting
    T. Specifies the period of iteration of the calculation, for slow processes it makes sense to put more (read in a separate chapter "Setting up the PID of the regulator"). Settings mIN. and max They are responsible for the minimum and maximum control signal from this channel, for channels 3 and 4 it is a PWM signal, operating range 0-255. For channels, it is an angle, 0-180 degrees.
    Application: maintaining a given value (temperature, humidity) is not relay, i.e. Smoothly and without sharp inclusions. PWM signal can control the transistor that is responsible for the heater. A servo can rotate the dampers (ventilating) or the rev drives to control network heaters, fans and other equipment.
  1. Dawn (For channels 3, 4 and servo) - "Dawn" mode to control lighting with smooth dawn and sunset. The mode is available for channels 3 and 4 (marked with stars), as well as both servo channels in servo mode. Smoothly turns on per hour Start. for Dur minutes, then turns off per hour Stop. during Dur minutes. Turns on to the maximum value specified in maxand turns off to mIN.. On the channels 3 and 4, this value sets the operating diversity, the operating range is 0 - 255. You can control the field transistor, for example, LED ribbon. On the channels of the servo working range 0 - 180, degrees turning the shaft servo. It can control the grinding of the network dimmer, for incandescent lamps or dimmable LEDs.
    Application: Organization of conditions of illumination approximated to real, for aquariums, terrariums, peasants, and so on.

Relay channel settings

  1. Direction - How does the relay behave when activating the timer / sensor. ON OFF or Off-incl
  2. A TYPE- the logic of the relay
    • Relay - The relay channel behaves like a regular relay, can be used to control any permanent or alternating current (control of network devices): watering individual pumps, watering individual valves from the water source, control of humidifiers, heaters, fans, lighting devices and all other Similar. Does not depend on other channels.
    • Valve - Type of the channel relay for the system, where there is a common pump / valve from the water source and several individual valves on watering different sections. The relay channel configured as a valve simultaneously with its activation (by timer / sensor) activates another channel / channels configured as common.
    • Common - Type of the channel relay for the system, where there is a common pump / valve from the water source and several individual valves on watering different sections. The relay channel configured as shared has no mode settings. Instead, ON. activated by itself simultaneously with any other channel configured as valve. It is automatically deactivated in the absence of inactive valve channels.

Channel Settings Servo

  1. Direction - How does the servo behave when the timer / sensor is activated. Turn in the direction Min-Max corner or vice versa Max-Min. angle
  2. Limits- angles of rotation Servo from 0 to 180 degrees in increments of 10
  3. Additionally: In the Sketch in the settings section, there is a setting of the maximum servo speed speed (SERVO1_SPEED and SERVO2_SPEED) and their acceleration and acceleration and braking (SERVO1_ACC and SERVO2_ACC). I did not make them in the settings of the service menu and channels, because They are not so often needed.

Drive channel settings

  1. Direction - How does the actuator behave when the timer / sensor is activated, OPEN CLOSE or Close-open
  2. Time-out- The time that will be sent to the drive movement. Contiler (if any) interrupt the drive movement

Schematic diagram and installation example in

the greenhouse of the thermostat on the ATMEGA8 microcontroller.

One of the heat heating methods is the use of electricity. With good and smart automation, you can provide a high efficiency of the heating system, as well as ease of maintenance and automation in maintaining a given temperature. The efficiency of the greenhouse can be noticeably improved if the soil is heated and maintain air temperature. When developing this device, a homemade electric boiler 5 kV was applied. Two Tan 2 + 3 square meters. It is possible to use one by one to use, now warm on the street, so that one Ten is fully coping with the task. Heats the greenhouse 11 by 5 meters, the height of the center is 3 m, the double film, the greenhouse is in-depth to the ground for one meter. The control unit tracks five points and controls three contours. Two - warm beds, room temperature. In the instrument's menu, you can install its temperature and hysteresis for each contour. Separately, day and night temperatures are installed for each contour.

The thermostat also provides for the temperature control of the coolant for emergency shutdown of the boiler when overheating, as well as the ability to connect the temperature sensor to monitor the additional parameter (for example, the outdoor temperature). The transition time from the daytime mode at night and on the contrary is set to the menu and is common to all contours. The pump operation is controlled by the automation unit. If the temperature has reached the specified parameters and the boiler turned off - the pump will still work the set time and turns off. The pump is applied by one common, on warm beds and on the room. Warm beds and air temperatures are controlled by electric valves, by 12 volts. Television of thermostat:

This looks like a photo of a paved board from the tracks:

1. Construction of automatic work

The thermostator microcontroller works with 5 DS18B20 sensors. Sensors are connected to one bus. Perhaps it will be necessary to reduce R1. The MK distinguishes the sensors by their serial number. In the manufacture of the first time you will have to determine how to determine which sensor for what is responsible and set them accordingly.

The data is displayed in the format of integers, the tenths are discarded, insignificant zeros are distributed. Temperature range from -9 to +99 degrees. When the temperature goes beyond or when the sensor error is error on the display, instead of the indications of the corresponding sensor.

When you first connect, with successful initialization of all 5-sensors, their serial numbers are recorded in EEPROM. This will allow you to work correctly in the event that some sensors are dismantled or faulty. If the sensors are replaced, it is necessary to erase the EEPROM and turn on the device. Erase Eeprom is still possible only in the programmer. Then may come up with how to do it through the menu. MK will work without quartz 8 MHz. Must be appropriately installed FUSE. Indicator based on the HD44780 processor.

2. Work with thermostat

1. The "Menu" button in a circle leafs the menu page.

2. In the settings menu (setting), the parameter available for installation flashes.

3. Installing the Plus / Minus buttons as usual.

4 4.s for DS1307. Time is displayed in CC format: mm: SS. Display format 24-hour. Access to the clock through the menu. The page is available on the time setting - in turn: seconds (Plus / Minus buttons reset the value of seconds), minutes, hours. The time of turning on the daytime mode is exhibited - day and night - night. For modes, the format output of the CC: MM. The clock settings are recorded in memory DS1307.

5.Port from one parameter to another UP / DOWN buttons. Buttons operate on a single press, independent of the duration.

6. For 10 seconds from the last click of the setting, they will be recorded in memory. The display will switch to the main mode.

7. When you press any button, and the backlight is turned on when the power is applied. The backlight will turn off after 30 seconds from the last press on the buttons.

3. Algorithm of boiler management

1. When feeding the power to the device, the controller polls sensors, reads information from the clock of real time. The controller compares the current time with the daily and night modes specified and selects the appropriate settings for the operation of thermostat.

2. After 5 seconds the device is activated and starts to control the boiler.

3.Well temperatures from the gender-1 sensors, half-2 or the office becomes below given, the pump is turned on, the heater and the voltage is supplied to the corresponding actuator mechanism of the coolant in this circuit. When the temperature rises higher than the hysteresis specified on the value, the heater is turned off, the pump remains in operation for 30 seconds to ensure the cooling of the heating element to a safe temperature. To ensure the flow of water through the circuit of the boiler, the flow of the coolant remains open to this circuit during the pump operation. If the boiler is needed for another contour, the coolant overlaps on an unnecessary circuit immediately.

4. Emergency mode

1. If the temperature of the coolant exceeded the boiler predetermined for the parameter, regardless of the state of the sensors, the pump is turned on, the heater is turned off, and the contour office opens through the cauldron through the boiler.

2. Troubleshooting a sensor of any contour This circuit is considered to be disconnected if the heater was working on it, then after 30 seconds, the pump and the contour will be disconnected.

3. In case of the fault of the coolant temperature sensor when the boiler is running, the device will translate the boiler into mode, as specified in clause 4.1.

Many adherents of the garden, engaged in the cultivation of various cultures, begin with the construction of an ordinary greenhouse. After disembarking seeds and various troubles for maintenance and preservation of crops begin. If the greenhouse is small, then it will not deliver any of the concern. But what about those who have a massive structure in the site, which requires almost a permanent supervision? Our material will talk about the features of "smart greenhouses", which allow us to significantly alleviate the work of gargrin.

What it is?

Many grown greenhouse vegetables for the sake of the process itself, because it is pleasant to feel that these products are practically created with their own hands. Some owners of country sites with great pleasure would take up for a similar thing even more seriously, but only no strength or time for this. Automated system controlling watering, ventilation, feeding fertilizers so far is the limit of dreams of some dachens. In fact, all dreams are already successfully working in real life.

Due to the fact that progress is developing non-stop developing, "smart greenhouse" exists in reality.The development of the construction market and related technologies led to the fact that the automatic can manage all processes today.

Actually, what is the greenhouse automation? Enough to take an example of an ordinary greenhouse and consider which processes there are occur. Considering the fact that the climate control is done properly, but it is rather possible, if possible, although daily.

With the advent of the first rays of the Sun, the temperature in the greenhouse begins to grow sharply.This is a very favorable time for plants. That's just the fact that at the same time the temperature difference between the soil and air grows. In connection with this, the roots, remaining cold, cannot fully provide sprouts moisture. This phenomenon is not very beneficial effect on the growth of Zazezi.

With ventilation even worse. Usually, to ventilate the greenhouse, the owner goes when the temperature inside exceeds the indicator at 40 ° C. With the opening of the doors and windows of drafts together with warm air, the moisture remains, forming, in fact, the desert climate. Thus, the ideal medium for breeding pests and diseases is created.

By evening, when the temperature restores its balance, plants will come to normal. But if you compare the results of the harvest, then vegetables from the automated greenhouse will be greater, and they will look much more prettier. It turns out that the main task of the "smart" greenhouse is to provide a comfortable microclimate for plants.

Features

This work of "garden" art appeared quite a long time and has been well-deserved for many years. Almost retirees can be allowed on the summer site all the time. The remaining categories of people in the measure of their employment can visit their gardens only periodically.

The automatic greenhouse is a unique design designed to maximize labor relief. And you can make a "smart" any greenhouse. It all depends on the intelligence of the gardener and the use of modern technologies.

The "smart" greenhouse for owning his "reasonable" title must necessarily comply with the following characteristics:

  • adjusting the temperature inside the greenhouse should occur automatically using the air sensor;
  • mandatory presence of a drip irrigation system;
  • the soil in the greenhouse should be recovered without the help of a person.

There is no great need for an automated greenhouse from top to bottom with the novelties of modern production systems. The equipment of the greenhouse can be produced with minimal cost. The main aspect is the agreed functionality of all installed systems. This ensures maximum efficiency.

Types and designs

All advantages from their own greenhouse can be seen at that moment when fresh and delicious vegetables appear on the table. And this is happening daily, and not only in warm summer days. There is no need for canning and freezing in the future. The greenhouse gives all the freshest, natural and its own.

To choose a quality design, you need to take into account the parameters of the areaand, of course, decide on the choice of cultivated culture. It is difficult not to be lost in the diversity of the proposed options, because today there is a large range of models on the market, and one is better than another. And modern dacha crafts offer their own inventions, much more perfect than some factory developments. So what do you choose your choice?

First you need to decide what kind of greenhouse needs:

  • that it will grow in it in which volumes;
  • the design will be used only in summer or all year round;
  • design dimensions;
  • the number of grown vegetables (for personal needs or also for sale);
  • the degree of automation of the greenhouse, etc.

Mainly on the market shows glass greenhouses on a metal frame in the form of a house, as well as interesting arched structures from polycarbonate. The sheet from this material is easier to bend in the form of an arch than to cut, in addition, a factor of tightness of the structure is important. Before making a choice, it is necessary to consider all the disadvantages and advantages of these greenhouses.

In the form of arch

  • a small reflection plane, so the sunlight gets more;
  • a large amount of free space - plants are where to grow long;
  • the design has a pretty appearance;
  • easy constructions and lightness of transportation;
  • the ability to add new segments to expand the seed area.

Cons Design:

  • with such a greenhouse, the snow practically does not roll, and there is a possibility that the design can progress and break;
  • with incorrect assembly, it is possible to break the tightness and, except for water, harmful insects may fall into the greenhouse;
  • with an insufficiently reliable fastening to the foundation, the design can be demolished by the wind.

Greenhouse-house

Benefits:

  • such a structure is easy to make with your own hands;
  • the snow on the roof is not delayed, so do not worry about the deflection;
  • in the greenhouse of this type it is easier to establish various automation systems;
  • the choice of materials for construction is quite diverse;
  • there is an additional improvement in appearance.

Disadvantages:

  • the greenhouse has a strong degree of reflection due to the smooth surface, so the solar heat plants may not be enough;
  • in the future, if the expansion of the area is required, it will be difficult to do;
  • a large number of compound parts requiring constant monitoring;
  • the roof in such greenhouses is sufficiently heavy, so when the construction is built, a powerful and solid foundation is necessary.

In addition to traditional forms, other types of greenhouses can be considered. It all depends on the convenience of work and requirements that the plants themselves are. For example, cucumbers require a wide space, and tomatoes need height.

A lot of demand for Dachnikov today enjoys a greenhouse called "Umnets". Due to the fact that the design of this greenhouse is very convenient and durable, it will be very long. But the most important thing is how this greenhouse is different from others is what it has a relevant roof.

Grouple all the advantages of the "clever" can be as follows:

  • reliability and simplicity of design;
  • practical type of roofing;
  • easy adjustment of humidity and temperature parameters.

To control the roof serves a special lift on the rollers, the use of which does not require special skills. For the winter period, the greenhouse can be left uncovered. Due to this, the soil is saturated with moisture, preventing the freezing of soil and possible roof deformation.

In addition, this "smart" greenhouse is able to independently create the necessary microclimate inside.The very name of the greenhouse suggests that the quality is here at the height. Well, an indisputable advantage is low cost, which will allow you to recoup the costs for a short time.

"Smart" greenhouse can be created with your own hands. The automation of the greenhouse will help to carry out the ARDUINO controlling system, thanks to which constant monitoring of the main processes is possible. ARDUINO automatics notifies the owner of the operation of the ventilation system, humidity, power supply interruptions and other functions. Data can be displayed on a computer or tablet display or alert can be carried out using light alarm.

The autonomous work of the homemade greenhouse is achieved by installing the kit, which includes electrical strokes, closures with thermal sensum and modules for various purposes.

The basic project of the self-made "smart" greenhouse allows you to automatically perform the following functions:

  • control and temperature control inside the greenhouse;
  • monitoring air humidity;
  • soil moisturizing;
  • plant lighting.

Best options

In most cases, daccias prefer foreign samples of production, believing that foreign manufacturers produce better products. In fact, domestic analogues in the quality and functionality are not inferior to them.

The "intelligent" greenhouse in polycarbonate Kurdyumov provides for the use of a system of drip irrigation and automatic ventilation without the use of electricity. It is equipped with automatic ventilation system to ensure a comfortable climate that contributes to the growth of crops.

The principle of operation of the mechanism is quite simple:

  • there is a liquid hydraulic cylinder on the fraumuga, which, in fact, can be called a thermal sensor;
  • when air heats up in a greenhouse, the liquid is expanding, pushes the piston and open the window;
  • when the temperature drops, the reverse process occurs.

The piston is able to develop an effort to 100 kg, which makes it possible to move the window with an area of \u200b\u200bup to 2 square meters. m. The service life of such a device reaches several years, so the price can be considered quite acceptable. Footings are usually located in such a way as not to cause excessive sail, otherwise, with strong wind gusts, the greenhouse can be destroyed.

Drip Watering is a way of supplying moistureIn which water is in small portions delivered directly to the root system of the plant. This uses a simple set of tubes, hoses and sprayers. Due to this, the necessary level of humidity is always preserved in the soil. In addition, water has time to warm up to the ambient temperature, which is well affected by the growth of seedlings.

The article describes the hardware implementation of the microclimate control system in the greenhouse. This system is part of a real nursery. With its help, the process of growing plants has become partially automated that does not require constant presence of a person.

A specific instance of this system is carried out on a frame-actuated greenhouse, 6 meters long, 3 meters wide, 2 meters high. There is one door and 2 vents in the greenhouse, electricity and plumbing were carried out. Water heating occurs in a capacity of 70 liters. The pressure in the container is about two atmospheres. About 35 plants are grown in the greenhouse.

The system has the following form:

Figure 1. Microclimate control system diagram in greenhouse

The central place in the system is occupied by Arduino Mega (in Fig. 1 -1):

Figure 2. Arduino Mega

Arduino is a fully open platform consisting of the board and development environment, which implements the revised version of the Processing / Wiring language.

The hardware platform used is built on the ATMEGA1280 microcontroller.

In this system, 8 digital inputs / outlets are involved (in total on the platform 54) and 10 analog (all of them 16). The board is powered by an external power supply.

The board has the following characteristics:

  • operating voltage: 5V;
  • recommended input voltage: 7-12 V;
  • limit input voltage: 6-20 V;
  • 54 digital I / O ports;
  • 16 analog inputs;
  • current consumption in one output: up to 40 mA;
  • 3.3B output consumption current: 50 mA;
  • flash Memory memory: 128 Kb, of which 4kb are used by the loader;
  • RAM: 8 Kb;
  • non-volatile memory: 4 kb;
  • clock frequency: 16 MHz;
  • size: 75x54x15 mm;
  • weight: 45 g;

The necessary sensors and modules are connected to ARDUINO MEGA.

Turning on / off watering depends on a number of parameters:

  • soil moisture;
  • water temperature;
  • times of Day.

In this system, 4 soil moisture sensors are involved (in Fig. 1 - 2).

To measure the soil moisture, a homemade sensor is used, which is two nails and a resistor. The principle of operation is based on the dependence of the electrical resistance of the soil from its humidity.

Nails, introduced into the soil at some distance from each other, act as probe, between which resistance is checked. According to the final analog signal, one can judge the degree of humidity.

The sensor scheme is shown in Figure:

To measure the water temperature, the LM335Z-analog thermal sensor is used (thermostabilities, in Figure 1 - 3):

Figure 4. Analog thermal sensor LM335Z

The sensor used has the following characteristics:

  • range: -40 ... + 100;
  • accuracy: 1 ° C;
  • dependence: 10 MB / OS.

To connect the sensor to the board, a resistor is required, resistance 2.2 com. Setting the current through the sensor in the range from 0.45 mA to 5 mA (resistor R1), we obtain the voltage on the sensor, which in tens of MV represents the absolute temperature in the degrees of Kelvin.

The connection scheme has the following form:

In order for watering only in the dark day, 2 light sensors Light Sensor-BH1750 are used (in fig. 1 - 4):

This sensor is used to measure illumination in the range from 1 to 65535 lux.

It has the following characteristics:

Power supply: 3-5V;

Resolution: 16 bits;

Dimensions: 19x14x3 mm;

Error: ± 20%.

The sensor connection is made as follows:

Figure 7. Connecting Light Sensor Light Sensor-BH1750

When the readings obtained from sensors satisfy certain conditions (it differ for each type of plants), it turns on irrigation. An electromagnetic valve is used to regulate irrigation. It connects to the board with a relay (in fig. 1 - 5). Namely uses a relay module for Arduino projects Relay Module 2 DFR0017. It uses a high-quality OMRON G5LA relay. The relay output status is displayed using the LED. This module is controlled using the I / O digit port. The contact switching time is 10 ms. Like sensors for measuring the temperature and humidity of the soil, the relay module is connected in the control electronics through three wires:

Figure 9. DHT11 TEMPERATURE HUMIDITY SENSOR

In addition to watering, this system controls the air temperature in the greenhouse.

For the simultaneous measurement of temperature and humidity, the DHT11 Temperature Humidity Sensor sensor is used (Naris. 1 - 6).

It is connected to the control electronics through three wires: nutrition (VSC), GND land) and alarm.

On the board, in addition to the sensor, the microcontroller is located, in the memory of which the calibration corrections are recorded for sensors. The signal from the device is transmitted over the bus in digital form. This allows you to transmit data to a distance of up to 20 m.

This sensor has the following characteristics:

  • power supply: 5 V;
  • temperature range: 0-50 ° C, error ± 2 ° C;
  • humidity: 20-90%, error ± 5%.

Two modes are used to adjust air temperature in the greenhouse: passive and active ventilation. Passive ventilation is the opening / closing of the vents, and the active / switching off the fan.

The opening of the vents is made with the help of two (one by one for the window) Futaba T306 MG995 servos (in Figure 1 - 7):

Figure 10. Futaba T306 MG995 servo

The servogen used has the following characteristics:

  • work speed: 0.17 C / 60 degrees (4.8 V without load);
  • moment: 13 kg-cm at 4.8 V;
  • moment: 15 kg-cm at 6 V;
  • operating voltage: 4.8 - 7.2 V;
  • wire length: 300 mm;
  • dimensions: 40mm x 19mm x 43 mm;
  • weight: 55 g

The data obtained from the sensors is recorded on the SD memory card (in Figure 1 - 8). In the future, they are processed, analyzed and the graphs of various readings are based on them. For this, the DFrobot SD cards module is used:

Figure 11. SD card module

Connecting the fan is made in the same manner as the valve connection (through the relay module).

Vitaly

ARDUINO Greenhouse Controller

This year I built a greenhouse of 30 square meters. m. for tomatoes. Initially, I planned to cover it with polycarbonate, however, having weighed everything and against, I decided to use a copolymer ethylene vyno acetate film. Well, now, when the season ends, I can already say that I have made the right and the greenhouse pleased with a very decent harvest (approximately, somewhere and a half centner). The size of the greenhouse is 3.8 * 8, i.e., about 30 square meters. m. Full square, of which about 24 square meters. m. useful. The ventilation was carried out naturally through open doors and windows located in the ends of the greenhouse. The maximum temperature in the greenhouse at open doors and the windows did not exceed the outer temperature at the peak by more than 5 degrees, although there are no vehicles on the lateral surfaces at all. If I used the GNK to cover the greenhouse (cellular polycarbonate), the temperature in the absence of the vehicles in the roof would rise over forty. In addition, the transparency of the film used, as well as the monolithic PC, is high - 92%, which ensured that tomatoes were very well fruited and were clearly in the generative mode due to abundance of light. In SEC, although the transparency of each layer is approximately the same, but the percentage of light passing into the greenhouse is significantly less than - 92% * 92% \u003d 84%, plus the part is lost on the partitions, which gives, ultimately, transparency is not higher than 82%. As a result, the lights of the plants are obtained significantly less and go into a more vegetative mode, forming more sheet mass and less tomato. And besides, it is necessary to constantly engage in the formation of a leaf mass, which is an excess due to the competition of plants due to lack of illumination.
In my greenhouse, due to the abundance of the world, I did not have to do the breakdown of the leaves, only climbing steps, the leaves on the plants were little, and the fruits are a lot. True, another problem arose - light burns of leaves and fruits. On the leaves, this was manifested in the yellowness of young leaves, which were formed shortly before the onset of heat, and on the fruits - in the appearance of white sides on the fruits from the side facing sunlight. This factor was very negatively influenced by the harvest, which could be even bigger, and even led to the fact that the bushes for autumn did not save a full-fledged species, and the phyotophtor tried. Then I did not know anything about the phytooftor - as it arises, which contributes to its spread. Then I learned that for the tomato there is not so much terrible cold, how much "bath" - when the plants stay in the afternoon for a long time as in the steam room, which occurs if the sun is already in the sky, and the greenhouse is completely closed. All summer, the greenhouse I did not close at all, neither day or night, despite any changes to the weather, and the doors and vents were constantly open. However, closer to the fall, when, because of the cold nights, the greenhouse needs to close overnight, when the fungal diseases begin to rage, and the temperature differences at night and the day, and therefore condensate increase sharply, not open in time the vents can help you at one time Strong season. It was this that happened to me - all day almost tomatoes "Mokley" at a temperature of 20-30 gr. And everyone got sick with the phytoophula due to the fact that any automation of ventilation at the moment I was absent, and I could not come to the greenhouse every day. As a result, I had to throw 7 buckets of tomato predominantly red and pink ripeness.
What is interesting, despite the total disease of the phytoofluoro, as soon as I eliminated the causes of the disease and began to follow the opening-closing of the vessels, the bushes began to continue to grow and increase more or less healthy fruits, so in September I, almost, then removed almost all Vintage. For October, it was possible to remove the additionally about 8 buckets of fruits even further and now there are about hundreds.
In the future, I will continue a description of how I came to the conclusion about the need to use an automatic temperature control system and humidity and why the controller is better made based on the controller. Then I already think to go directly to the project. In general, this topic is not about what has already been done, but what I'm just going to do is the topic of further improvement of the greenhouse, but to develop and implement the system I solved firmly. If you want to participate in the discussion of this topic, please, for this, it is not necessary to wait at all when I finish the presentation of this foreplay, especially since it is, in general, and not obligatory.

Registration: 06/23/13 Messages: 5.837 Gratitude: 6.261

Vitaly

Registration: 06/23/13 Messages: 5.837 Gratitude: 6.261 Address: Bryansk

I returned home, I continue. Below can see several photos of the construction of greenhouse and crop maturation. Seeding this year I had no - tall grades only enough for extreme beds, and it was not completely, the rest was planted with short. Moreover, half of the tall and all the lowered frozen on the window and they were detained in development for almost 2 months. Sadili seedlings at a permanent place late - 1 and 2 June, and I was covered by the greenhouse only on July 21, and then because only that the weather on the street at that time was completely spoiled, it was cold, it was continuously raining, so I had to cover with strong wind And, only sketched the film - the rain went. And literally on the second day after shelter, the weather changed dramatically and began to heat. Tomatoes suffered such a sharp transition is not very easy, given that in the evening, when she was covered with a greenhouse, I did not have time to make windows and doors and the greenhouse stood the next day until 12 o'clock shelted completely, while it came to finish it.
Literally after 2-3 days, I realized that with a temperature for 30 during the heat I would not cope, if only because it was at times up to 33. I have long thought about how to solve the problem, I really didn't want to cover the greenhouse from the sun, because the reduction of illumination by 1% is equivalent to a decrease in the harvest by 1%, and in the spring time even more - the crop is lost by 1.5%. One option was to establish sprayers on the roof of the greenhouses, which would be triggered by increasing the temperature in the greenhouse above 30 grams., The other is to do 3 doors on each side, the possibility of which was laid at the design stage. Moreover, the doors were supposed to do as the loose, in which it would be possible to insert a frame, tightened with an anti mosquito net or a frame, tightened by film, if cold, but I decided not to do this at the production stage.
I did not immediately recognize that there is a very effective way to quickly lower the temperature in a greenhouse with the help of fogging agents, allowing you to adjust the humidity in the greenhouse at the same time. Now I decided to include in the climate control system, fragrances - fogging agents, and return to the shading if this measure is for some reason it is not enough to hold the temperature at the level of 25-30 gr. And excluding the formation of white barrels on tomatoes due to a combination of strong illumination and high temperature, although I think everything will be fine.
Further I will talk about my conclusions about what temperature mode needs to be provided to tomatoes during the day for their normal growth and development, as can be ensured and why ventilators based on hydraulic cylinders are absolutely not suitable for these purposes.
And here are some photos:

Investments:

Last editing: 10/20/15

Registration: 06/23/13 Messages: 5.837 Gratitude: 6.261

Vitaly

Registration: 06/23/13 Messages: 5.837 Gratitude: 6.261 Address: Bryansk

Temperature mode

Based on the initial experience of the greenhouse, obtained this year, I concluded for myself that there is no more important task in the process of growing plants in it than the temperature control task. This is equally important for a greenhouse with any coating, even a film, at least SEC, even profiled polycarbonate. Of course, there are covers in which this question is practically not relevant - this is not transparent coatings, but white coatings and mesh greenhouses, but we will not consider these options here. Moreover, in this topic I decided to limit ourselves to the consideration of the control of the greenhouse parameters made exclusively under the tomatoes.
The fact is that each plant has its favorite temperature range, humidity and other parameters. In order not to spread the thought in the tree, from where I took these specific levels of temperatures required by the tomatoes that I will give below, I give you yourself if the need arises, check them and clarify. I will not even remember it again, but I just copy what I have already said recently in this thread:

And what, in fact, is required to create at least some kind of primitive climate control in the greenhouse? For tomatoes, for example?
You need to follow the temperature on the street and open the windows as early as possible in the morning when the temperature on the street rises above about 12 degrees to dry the leaves and fruits from condensate, you need to open the windows and doors when the temperature in the greenhouse will rise above 25 gr. And turn on the foggers when the temperature rises above 30, but turn on the heating of the greenhouse when the temperature in it drops below 12.
Here, perhaps, that's all. If you add some other automation, I'm afraid it will not be better, but worse. For amateur greenhouses at a given level, this minimum is perhaps the optimal, allowing you to get a decent harvest of healthy products, and not those crumbs that most now have.

And more fragment:
The question is how in demand?
No, unfortunately. In order for something to be in demand, you need to at least aware of the need for this. And at what level, many reason here, you can judge a fairly typical statement: my cucumbers grow in one greenhouse with tomatoes and perfectly fruit. Well, and what can you explain to a person not familiar with Azami agrotechniki? And since he has a zero understanding of the need to maintain some climate in the greenhouse, then it is natural, there is no demand for systems, supporting it. He will read it and say something, emphmetic, like: "Golden tomatoes will be", and may be clearer and rougher, like: "Cat has nothing to do ... well, etc.
Many prefer to simply build whole sarcophages for plants with complex underground heat supplies and laying out 200 thousand and more (no offense they will be said, they do not do from mercantile considerations), instead of installing at least the simplest thermoregulation system, Yes, and they argue that there is no other path (but this is already offended).
Now let's see on the other side. There are people perfectly disassembled in electronics and programming and they can easily make a very inexpensive regulatory system, only I do not see that at least someone from them said: For a tomato, it is necessary to ensure that something else. And then their development could be very valuable for many, in any case, for those consciousness of which they are not linked to the need to build the sarcophagi - the same dinosaurs from the point of view of automatic regulation, as well as an ordinary film tunnel, at least it was called pretentiously, let's say "Sunny Vegetary Ivanova".
Yes, about what a special thermostat is needed. If you use a separate device to regulate each individual parameter, it will not be turned out to be neither reliable. I'm afraid, for the implementation of the minimum indicated by me, no controller can no longer do.

Yes, you will tell you, we will make a device in a minimalist form, and then it turns out that it is still necessary to follow the bunch of all the bunch, alteration will begin, the rise. Fortunately, automation based on software devices differs from the schemes of rigid automation in that it is not difficult to change the control parameters and enter new features, and the costs are increasing, mainly only on additional sensors and actuators, and only the program changes in the system itself . Therefore, it is quite reasonable, in the first stages, the maximum limit the number of functions performed by regulating only temperature and humidity in order not to spend extra forces and means.
Humidity in the greenhouse is the same important parameter, as well as the temperature, but these parameters are strongly connected, therefore, adjusting the temperature, we, at the same time, we will change and moisture, and it is important not absolute, but relative humidity. For the purpose of simplicity, it is not necessary to score her head very much, it is better to focus only on temperature control, but about it next time, where I will try to list all the necessary equipment to create a minimum regulatory system and approximately evaluate what it will cost.

Registration: 06/23/13 Messages: 5.837 Gratitude: 6.261

Vitaly

Registration: 06/23/13 Messages: 5.837 Gratitude: 6.261 Address: Bryansk

More about temperature

I thought here, you need probably somewhat more described the reasons why the temperature in the greenhouse should be adjusted precisely in the countries that I described above.
The fact is that the growth of southern plants at temperatures below 12 grams. Generally stops, and if even lower - they begin to christmas and chain different diseases, so open the greenhouse when the outdoor temperature is not below 12. On the other hand, in the morning there is a rich condensate in the greenhouse on the leaves and fruits. If you allow a "bath" when the bushes are wet, and the temperature will rise to 20 and higher - for phytoophulas, it is better not necessary. So you can handle very quickly the entire harvest. Therefore, open the windows need as early as possible. In the summer in the middle lane, it is easier not to close the vents and doors in general, but somewhere in August, in the weather, you need to transfer everything to the machine.
Optimal temperature for tomatoes - 25 gr. If it rises above, you just need to open the vents. If the temperature rises above 30 is fraught with lesion of leaves from overheating, sterilization of pollen, solar burn and other troubles, so when it is reached 30 grams. Fuggers should be triggered - fogging agents, effectively lowering the temperature by several degrees.
If the temperature in the greenhouse falls below 12 grams., Then this, I think it is clear already - described above - the heater of any type should be turned on. In the fall, when you just need to ensure the creation of the fruits, I think, you can lower this threshold of degrees to 6-10 in order to save energy. By the way, the heating day of up to 40 degrees is not so terrible, since tomatoes are already at the stage of frustration and sterilization of inflorescences is not terrible. If you have already infected tomatoes, then such high temperature warming will allow you to kill the phytoofer, therefore, for the purpose of disinfection, you can intentionally leave the greenhouse completely closed for several hours on a sunny day specially, only that the temperature in the greenhouse rises, while above 30 gr. After that, the greenhouse needs to be thoroughly ventilated. Actually, I did it exactly and maybe it is why tomatoes in the greenhouse are still alive.
Well, perhaps, everything. Even if it is only realized, the plants will be in much more comfortable conditions and will give a much greater crop than in a greenhouse, in which the temperature jumps from 35 gr. During up to 5 c. at night. In any case, such an algorithm is quite combined as a reliable basis, and there, the issue of further optimization will be cleared by itself during practical exploitation.

And now - about the minimum set of equipment that will be needed for the regulation system.

Set of equipment for the controller

1. Controller - 1
2. Display unit (screen) for controller - 1
3. Power supply 12 V for controller - 1
4. Outdoor temperature sensor - 1
5. Internal temperature sensor - 1
6. Thermal gun - 1
7. Door electric drives (actuators) - 2
8. Electric drives Framug (actuators) - at least 2, for greenhouses from SEC - more
9. Foggers (fogging) - on a greenhouse 8 m long approximately 8
10. Cabinet for equipment accommodation - 1
11. Protective Disconnection Device - 1
Well, to ensure autonomy, in case of disconnection of the network voltage, the solar panel - and the battery - 1. And, along the way, there are different little things, such as pipes for electrical wiring, wires themselves, etc.
The cost of each unit of equipment is now not present - just as if lazy and somewhat no time, it will still be gradually refined, the optimal options, suppliers, models will be seal, and I hope interested participants will help to determine this issue.

Last editing: 21.10.15

Vitaly, it is not clear to whom your such a very detailed performance appeals. Judging by the fact that you are in detail the basics, most likely, to beginners, because everyone else, it seems, the above should be familiar. The topic of automation of the greenhouses raised by you is undoubtedly needed and important, but it causes some skepticism chosen by you.
I do not pretend to be the truth in the last instance, but I see it, usually the project begins somewhat differently. Initially, there are also objectives and tasks are discussed, the TK is drawn up, the corresponding solutions are selected. Sometimes even one small TZ item is drawn up the use of any solution methods, narrowing the area of \u200b\u200bavailable tools. As in short. You have already chosen the Arduino platform. Then explain why it is it, and not, for example, Raspberry PI or something else. Arduino. highly Elementary platform. Choosing it, you have to hang on it a very limited set of tasks, strongly narrowing your Wishlist. Until now, it was done by very elementary crafts. There were regrettable enthusiasts working on it that she "does not pull" many tasks. Also, it seems, a set of sensors to it is very limited. I am not against automation and discussion, but, personally, I have a construction of the system on Arduino does not cause practical interest. So it is curious, maybe come, I read everything.
Do not narrow the topic of only one platform, do not discard the features of enthusiasts of other platforms. Theme in the subject may be crowded and useful solutions will appear more often.

P. S. If this topic is created only to describe your experiments with Arduino, I apologize in advance that I did not fit with the tips. I already want to have in a greenhouse, so to speak the minimum TK, visible to me.

  • Registration: 06/23/13 Messages: 5.837 Gratitude: 6.261

    Vitaly

    Registration: 06/23/13 Messages: 5.837 Gratitude: 6.261 Address: Bryansk

    Vitaly, it is not clear to whom your such a very detailed performance appeals.
    ... as I see, usually the project begins somewhat differently. ... You have already chosen the Arduino platform. Then explain why it is it, and not, for example, Raspberry PI or something else. Arduino. highly Elementary platform. Choosing it, you have to hang on it a very limited set of tasks ... I still have done very elementary crafts on it. There were regrettable enthusiasts working on it that she "does not pull" many tasks. Also, it seems, a set of sensors to it is very limited. ... Personally, I have the construction of the system on Arduino does not cause practical interest. ... Do not narrow the topic with only one platform, do not discard the possibilities of enthusiasts of other platforms. Theme in the subject may be crowded and useful solutions will appear more often.
    ... I'm already about what I want to have in the greenhouse, so to speak the minimum TK ...

    Actually, on each active participant in the forum, writing comments, you have to judge statistics, 200-300 just reading. Who will we take them? Are they newcomers? Or among them are quite advanced, who simply do not want to join a discussion that seems to be small for them, or they are elementary lack of time to participate in discussions? On the other hand, if there is a group with which the basics are not necessary to rush, we do not see the development of them in this area. Such discussions on this forum have occurred more than once, but the result is not noticeable. I know only 3 examples, perhaps the successful automation of greenhouses. The first example - I brought the link above, the second here: I do not remember, however, whether it really has a realization on the microcontroller, and even at Sergeil the greenhouse runs under the controller on the Samsung base.

    The platform of Arduino, I naturally chose for myself and, if in the process of implementing the system on it I will meet the difficulty - as they say, for this and answer. But I immediately agreed that I did not intend to somehow limit the freedom of discussion in this topic and is ready to discuss any aspects, except, naturally, a simple nagging issue. So please discuss any platform if you find the correspondent. I have already decided on how to stay, because if there are no one defined, and, accordingly, the result will, ultimately, will not be.

    And about the fact that Arduino is a very elementary platform, I would like to clarify what you mean by that? The opinion of enthusiasts? Let's watch specifically what are these enthusiasts and what have they tried to do on Arduino before they came to this conclusion? Arduino is just a language-oriented language, which makes it clear people who disassemble in electronics. This is an open platform, so there is a lot of ready-made solutions in it, it is intended for even non-specialists to start doing something for themselves with the help of software techniques, which has led to the appearance of many such enthusiasts. Yes, it allows, but does not exclude the need for serious education, but this, just, the enthusiasts are often lacking, so they begin to translate from the sick head to healthy. And therefore, before putting the cross on the ARDUINO technology, I would like to know what is the principled limitation of the capabilities of this language you can lead? Does he weigh a lot? The command system does not have a functional fullness? Few speed? Extremely inconvenient in programming? What exactly?
    I will reveal you a small secret. The thing is that nothing special for the development of circuitry or programming to automate the greenhouse to do and not have to do. It has long been done before us and greenhouses have long been working , and not one person. You can simply repeat everything to repeat everything, I do not invent anything, if it is enough for you and I don't want to add something to you. Get acquainted with the material, you may need to change your opinion about Arduino.

  • Registration: 11/03/13 Messages: 651 Gratitude: 766

    I understood, I will not intervene in the discussion. I have a slightly more from automation from automation, because I didn't arrange Arduino, although I repeat, my knowledge about it is a superficial, made out of reading forums on this platform may be insufficient.
  • Registration: 06/23/13 Messages: 5.837 Gratitude: 6.261

    Vitaly

    Registration: 06/23/13 Messages: 5.837 Gratitude: 6.261 Address: Bryansk

    Arduino. highly Elementary platform. Choosing it, you have to hang on it a very limited set of tasks, strongly narrowing your Wishlist. Until now, it was done by very elementary crafts. There were regrettable enthusiasts working on it that she "does not pull" many tasks.

    Here is this topic to help you to prevent your attitude towards Arduino. As far as I, not a programmer, I understood from the dispute of two programmers, claims to Arduino lie not in the weakness of the platform. Claims were associated as far as I understood, it is not enough, according to opponent, a high level. However, the low level, agree, increases the power and speed of the language - the same to you any system programmer will say. And the fact that the low level complicates the writing of the program, as he claims, so it depends on. After all, Arduino is a language, sharpened under electronics, so for them it will, as a language specialized, is much more convenient than universal. Another thing for programmers who understand the electronics are rather weak, and in high-level languages \u200b\u200ba dog ate - their opinion therefore can be understood.

    Last editing: 21.10.15

  • Registration: 10/20/11 Messages: 1.177 Gratitude: 570

    In my opinion, before arguing, on how to build automation, you need to decide on the TK, otherwise you will shove the industrial CNC into a greenhouse, so that a pair of two-seater to open the temperature. Although again, if someone is convenient to work with a particular controller and is it possible to use it, then why not, even if it is redundant. In any case, you need to start with the TK and the construction of the control algorithm. So far, from the above written it follows that: below 12 Include heating, above 25 Open the window, above 30 Enable fragments. While the scheme is very simple, you can even do without a controller.
  • Registration: 06/23/13 Messages: 5.837 Gratitude: 6.261

    Vitaly

    Registration: 06/23/13 Messages: 5.837 Gratitude: 6.261 Address: Bryansk

    ... In any case, you need to start with the TK and the construction of the control algorithm. So far, from the above written it follows that: below 12 Include heating, above 25 Open the window, above 30 Enable fragments. While the scheme is very simple, you can even do without a controller.

    Well, try. Not sure that you will succeed even with such a simple algorithm to do without a controller. But you have already simplified the algorithm proposed by me, because I wrote that the sensor 2: one - in the greenhouse, the other - on the street, I just suggested in both cases the same threshold - 12 gr.

    Do you think that it is even clear that such a very simple algorithm in such an inertial object like a greenhouse will simply? It can already be assumed that there will be many obstacles on the path of its implementation. For example, foggers instantly knock the temperature at the top of the greenhouse, and the overheating remains at the bottom, it means that intensive air stirring and additional sensors with complication, naturally, the control program will be required. The humidity can also be raised uncontrollably - this will begin to damage the culture, and the effective decrease in temperature will become impossible. Therefore, it is assumed that in the future algorithm and the entire system will be more complicated, you will have to introduce fans for mixing air and for exhaust ventilation in order to reduce humidity.
    Just at this stage, much cannot be foreseen, especially since I did not do anything before. Therefore, it was suggested that it was the minimally complex option that cannot be made more simple means, for example, using a thermostat. The meaning of this approach is that there is no difficulty complicating the device. Therefore, now I would have already wanted to do the circuitry, try to draw the kernel diagram of the device. Editor for drawing Al. I saw the schemes in the subject I already led above. I already downloaded it myself, the truth does not yet imagine how to work in it. It is difficult to move in one for a long time, especially when you don't know much, so everything will go very slowly. Today I have been engaged in the choice of devices on the Internet all day - all that you need to buy, I considered many options and, perhaps, did a far from the best choice, but the process gradually went.
    The editor can be taken here: splan. - Maybe someone familiar with him or can advise the best, but still try to use it.

  •  

    Perhaps it will be useful to read: