Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 2.54 KB

README_Eng.md

File metadata and controls

42 lines (31 loc) · 2.54 KB

Greenhouse

This is an arduino project for controlling the temperature and humidity of air and ground and controlling the windows in the greenhouse. The measurement statistics and data about the operation of the system are stored on the SD memory card. The current state is output to the terminal via the UART.

Сomposition of the system

Arduino board

As a base board, the Arduino board is the STM32F103C8.

arduino_stm32

Power

Power is provided from a 12-volt uninterruptible power supply via a DC/DC converter that outputs 5V/2A.

arduino_stm32

RTC

Real-time clock DS 3231 is used to synchronize processes and save the time of statistics. EEPROM 24C32 on the RTC board is needed to save the settings.

DS3231

SD card

The SD card is needed to record the log files.

SDC

Sensors

The HP203B sensor module is used to measure air temperature and atmospheric pressure. It is connected to the I2C bus and is powered by 3.3 volts from the Arduino board.

HP203B

The AM2320 is used to measure temperature and relative humidity. It is connected to the I2C bus and is powered by 5 volts.

AM2320

Sensors DS18B20 in hermetic design are used to control air and soil temperature. It is connected to a single-wire bus and is powered from 5 volts.

DS18B20_H

Out relays

To control the external load, relay modules are used. The relays are controlled via the shift registers 74НС595 connected cascaded and connected via the SPI bus.

Relay8_12V Cjmcu-595 74hc595

Input siglas

The 74HC165 shift registers with parallel-in and serial-out, connected to the SPI bus to expand the input ports. The inputs use protection on a reverse diode which provides an active low level.

Input 74HC165