Case study - greenhouse humidity control

Assignment Help JAVA Programming
Reference no: EM13724136

Create a program which meets the requirements then write a report which describes in detail how the program works. Your program, at a minimum, must demonstrate the use of variables, arrays, strings, control logic, file input/output and a simple GUI. To achieve maximum marks, you will also need to make use of a user-defined class with methods or special methods to perform needed calculations or other necessary actions.

The report:

Your report must describe the requirements of the application, outline the design of the solution, and provide a testing procedure to prove the application works.In your report, you will be expected to use flow charts to show control logic and assist with your description of the source code.

Case Study: Greenhouse Humidity control

Growing food or plants in a greenhouse environment requires control of many aspects of the internal environment including temperature, humidity, soil ph, soil moisture, nutrient level, and lighting. You have been employed to develop software that will simulate the control of humidity and soil moisture in a greenhouse.

Your program will consist of two parts, one is the control system that will respond to sensor information to turn on/off a misting device, turn on/off a watering system and open/close ventilation windows. The second part of the program will act as simulated sensors allowing the user to simulate readings of a set of sensors (soil moisture, interior humidity, exterior humidity).

The greenhouse uses a misting system to increase the internal humidity and ventilation flaps to reduce the humidity. Soil moisture is increased through the use of irrigation soakers. The optimum values for these conditions vary depending on the requirements of the crops being grown in the greenhouse. These values will be determined and set by the farmer.

Table 1 Environmental Settings

 

Morning

Day

Evening

Night

Variance

Humidity

75

65

65

85

5%

Soil Moisture

20

20

25

30

10%

The range of values for any setting is between 0 and 100.  A setting of 0 for humidity turns off humidity control. For soil moisture, 0 turns off the soakers. A setting of 100 turns on the relevant devices.

The control system:

Humidity control: In all cases, if the internal humidity is within the allowed variance, the misters are turned off. If the greenhouse humidity is below the required setting, and the external humidity value is above the required value, the ventilation flaps are opened and the mist system is left off. Otherwise the ventilation is closed and the misters are turned on. If the internal humidity is too high and external humidity is either lower or equal to the internal humidity, the misting system is turned off and the ventilation system is opened.

Soil moisture: The soakers are turned on if the soil moisture is below the required setting and they stay on until the reading reaches the setting plus the variance. They then remain off until the level falls below the setting.

For the control system, a GUI needs to provide for the system to show the state of the misting system, soakers and ventilation windows. The user should have buttons which provide for turning off the system, closing the system, running the system, and adjusting the environmental values.

The simulation system:

This is a simple GUI that allows values to be set for the sensors by a user. The values always range between 0 and 100 for each sensor. The time of day also needs to be set to one of the 4 values. Usually a control systems checks the values of the sensors about once every minute, but for simulation purposes, the simulation system can send a signal to the control system that its value has changed.

The GUI for this system should be available whenever the control system is turned on. The 'default' values for sensors should match the environmental settings.

Reference no: EM13724136

Questions Cloud

Prepare a strategic plan to grow the business : Select an organization and prepare a strategic plan to grow the business over the next three years. Your strategic plan must include the following:
Assignment on warehouse move project : Build the extra time into your schedule by doubling the installation work timelines for both the framing and drywall. Your project plan should also be updated with the new 3-week timeline for obtaining permits. Use the project plan you created for..
While cultural differences and bureaucratic paperwork : While cultural differences and bureaucratic paperwork for foreign governments make the prospect of global trade difficult for small businesses, there is one bright spot on the horizon that has brought global trade closer to home. Small busines..
Testing be overlooked to speed up the development effort : Discuss why testing is so essential to the development of a new system; list the different types of testing that can be completed and why each one is critical. Can testing be overlooked to speed up the development effort?
Case study - greenhouse humidity control : The control system that will respond to sensor information to turn on/off a misting device, turn on/off a watering system and open/close ventilation windows.
Leading and managing innovation at apple : Question 1: What role did the late Steve Jobs play in leading and managing innovation at Apple? Question 2: How do you account for the success of Apple products, particulary the iPod, iPhones, and iPads? The early Macintosh?
A critical thinker in a contemporary society : Research the responsibility of a critical thinker in a contemporary society. You may choose any topic that deals with a contemporary social concern. Examine the principles of critical thought in relation to the chosen societal concern, and cons..
What role do corporations that use cheap labor : Provide a summary of the historical pattern of immigration concerns and the economy. How are certain groups targeted? What role do corporations that use cheap labor practices play at home and overseas?
Issues and concerns about the use of portable devices : Security and Mobile Devices: Discuss issues and concerns about the use of portable devices such as tablets, smart phones and laptops.

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd