Sie sind auf Seite 1von 5

GE401- Innovative Product Design & Development I Block Diagram & SW Flowchart

11/18/2011

VFood
Team 2 Seydi Afin nl Emirhan Akdemir Cansu Acar Melodi Trkili Onur entre Engin yidoan

Version 1.0

Introduction In this document, we will explain working princple of our system by using software flowchart and block diagram. In software flowchart, steps show progress of program for different cases which are explained in each box. Software flowchart is closed loop. In block diagram instead, connection of hardware systems is shown independent from responses. Block diagram is open loop system and its end point becomes output. Block Diagram of MacQuick Bill validator: It takes money form user and read money as input. Then, it sends the amount of money to Arduino Uno as output. Keypad: User enters his/her choices which are inputs for keypad. Then, keypad sends information to Arduino Uno as output. LCD: Arduino sends information to the LCD for displaying. Information which is coming from Arduino is input and displaying message is output for LCD. Presence Sensor: Sensor detects the presence of plastic bowl and sends information to Arduino about the presence. Detection result is input for sensor and information about presence is output. Output is binary. Arduino Uno: Works as microcontroller in this product. Motor driver: Provides sufficient current to the stepper motors. Stepper motor: It works after command of motor driver and they make helical mixer to run. Helical mixer: To push the ingredients into the bowl. Ingredients Check LEDs: Ingredients check LEDs are controlled by Arduino Uno. Ingredients amounts are kept in memory. Temperature Sensor: It measures temperature and send temperature level to control card. Control Card: It controls temperature and give command to compressor to open/close system. Compressor: It circulates the gas which is a part of cooling system.

Block diagram of MacQuick

Bill Validator
To take and count money

Keypad

LCD

Presence Sensor
To understand the presence of plastic bowl

Arduino Uno (Microprocessor)

Motor Driver I

Motor Driver II

...

Motor Driver VI Ingredients Check Leds (RED) Ingredients Check Leds (GREEN)
To show presence of ingredients

Stepper Motor I

Stepper Motor II

...

Stepper Motor VI

To show absence of ingredients

Hellical Mixer I

Hellical Mixer II

...

Hellical Mixer VI

Block diagram of Cooling System

Temperature Sensor
To measure temperature

Control Card
Check temperature level

Compressor
Enable cooling of system

Software Flowchart of MacQuick In this section the software flow chart of MacQuick is explained. The complete vending process is given step by step in following. 1. When the ingredients are filled and the MacQuick is plugged in the machine starts. When it is filled, the amount of ingredients is set to full. 2. First, ingredients in each slots are checked. If there is a missing ingredient, the status is set to missing and a specific LED is turned to red. If not, it writes Ready to LCD. 3. And start to wait for someone to come and pay for the macaroni. When the sufficient amount of money is paid it moves to step 4 given below. 4. MacQuick starts to wait user to push the specific ingredient button or done button which means the user finished to choose ingredients and s/he wants the macaroni. 5. If ingredient button is pushed, the ingredient is displayed in LCD. Increase the counter of the ingredient. And if user wants any more ingredients, s/he just presses the button of it and the same process repeats. If user pushes Give me my macaroni button, program moves to the step 6. 6. Presence sensor checks whether there is an empty bowl is placed into the output box or not. If not wait until the bowl is placed. If it is placed, the macaroni preparation process begins. 7. Write Preparing in LCD until the preparing process is completed. When it is done the process is repeated from the beginning. And again checks ingredients. The cooling system will be controlled separate from Arduino Uno which is our main controller card. It basically starts the compressor when the temperature is above 15 degree Celsius and stops the compressor when the temperature is below 15 degree Celsius.

Das könnte Ihnen auch gefallen