Skip to content

Description: ○ The aim of this project is to monitor and control a Greenhouse climate. ○ Temperature and Light intensity are to be controlled. ○ The temperature must be maintained between 20 - 25 Celsius

M9GLiquid/Green_House_Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart Greenhouse Project

Date

Authors: Hieu Tran, Thomas Lundqvist
Supervisor: Hazem Ali, Lukas Lindqvist
Group: 9
Course: Computer System Engineering I (DT4012)
Institution: Halmstad University

Abstract

The aim of this project is to monitor and control a Greenhouse climate by programming in C language on IAR Embedded Workbench IDE and connecting components to our CPU. The components are determined to measure the temperature and light intensity in order to detect the highest, lowest, and average temperatures for each day to later be stored and saved in the CPU, along with detecting the sun's position in degrees and saving data of the amount of time there is sunlight. When the temperature exceeds twenty degrees or above twenty-five degrees, an alarm will be triggered, and an LED light will blink constantly until it resets manually.
The project reported in this document focuses on memory efficiency and how to monitor and control a Greenhouse climate by observing the temperature and light intensity. This report includes an introduction section with an explanation of the full embedded system by using illustrative diagrams and written explanations, a conclusion section where we discuss the design of the project and the possibilities for hardware specification constraints, a reference section that lists the sources of any material we have used for the document and lastly a section for the project requirements achieved and the result of fulfilling them.

Table of Contents

This project is done as part of the course “Computer System Engineering I” for engineering students at Halmstad University.

Introduction

Back to Top

In this document we will describe the full embedded system using illustrative diagrams and describe the implementation of several components such as the servomotor, LEDs, display, and keypad to our hardware consisting of the CPU microchip SAM3X8E - ARM embedded computer platform (Arduino due) capable of operating at a maximum speed of 84MHz and has an SRAM memory between 256 to 512 Kbytes embedded flash using cache memory and consumes great amount of power (1).

Discussion & Result

Back to Top

The application for the system components used in this project are two 74HC245-Chips, one of which controls a display and the other the keypad, photo sensors that sense the light intensity with photoresistors (2), one temperature sensor(MAX6575H) with a temperature range between -40 to 125 degrees to measure the temperature within a zone (3), a servo motor(HIT-HS55) that can rotate up to 180 degrees at maximum with impact of the photosensors is used to control revolutions per minute by directing towards a specific direction, a keypad 4x matrix keypad where the rows are connected to the PIO pins (Peripheral Input/Output) configured as output and columns connected to PIO pins configured as input(4), an LCD display that uses the keypad as an input to print the data received from the CPU, and LEDs to whether it is dark or light after eight hours and if the temperature exceeds above the changeable twenty to twenty-five degrees.

Conclusion

Back to Top

The components were determined by a computer connected to our JLink driver, which is following connected to our CPU. The computer connected to the driver was used for programming to the CPU to make all the components functional by enabling and disabling certain pins connected to the respective components. An implementation of a data structure, “Linked List” with a linear collection of data elements linked with a pointer was required in this project to store the data of the temperature for the duration of seven days (5).

References

Back to Top

The main objective for requirement one is to have a timestamp by creating a system with a calendar that allows showing date and time represented as DD/MM/YYYY, while the time as hh:mm:ss in a 24-hour clock system. The user should be able to configure it by using the keypad and display. The timestamp created for this project is based on bytes with the help of byte manipulation.

Guide to the system

Back to Top

· STEP 1 (Menu choice 0): Select Date View is displayed Start by selecting the date and time We are then directed to STEP 2

· STEP 2: Menu View is displayed
Press 0 in the menu, and we go back to STEP 1
Press 1 in the menu we go to STEP 3
Press 2 in the menu we go to STEP 4
Press 3 in the menu we go to STEP 5
Press 4 in the menu we go to STEP 6

· STEP 3 (Menu choice 1): Records View is displayed
Press * or # to go back to STEP 2

· STEP 4 (Menu choice 2): Menu View is still visible
The speed factor is changed, and the actual speed of the time changes

· STEP 5 (Menu choice 3): Menu View is still visible
If the alarm is active, then this disables it

· STEP 6 (Menu choice 4): Alarm Limit View is displayed
Here, we can change the Alarm limits
We are then presented with a choice at the end of the change:
Press [1-9]: go to STEP 2
Press 0: go to STEP 6 again

About

Description: ○ The aim of this project is to monitor and control a Greenhouse climate. ○ Temperature and Light intensity are to be controlled. ○ The temperature must be maintained between 20 - 25 Celsius

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published