Team2_VFood_Block Diagram & SW Flowchart 23.11

  • Upload
    vfood

  • View
    224

  • Download
    0

Embed Size (px)

Citation preview

  • 8/3/2019 Team2_VFood_Block Diagram & SW Flowchart 23.11

    1/6

    GE401- Innovative Product Design & Development I

    Block Diagram & SW Flowchart

    11/23/2011

    VFood

    Team 2Seydi Afin nlEmirhan Akdemir

    Cansu Acar

    Melodi TrkiliOnur entre

    Engin yidoan

    Version 1.1

  • 8/3/2019 Team2_VFood_Block Diagram & SW Flowchart 23.11

    2/6

    1

    Table of Contents

    Introduction ..............................................................................................2

    Block Diagram of MacQuick.....................................................................2

    SW Flowchart of MacQuick......................................................................4

  • 8/3/2019 Team2_VFood_Block Diagram & SW Flowchart 23.11

    3/6

    2

    Introduction

    In this document, we will explain working principle 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. We used Microsoft

    Visio in designing of block diagram.

    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. Arduino ps2 keyboard library will be used.

    LCD: Arduino sends information to the LCD for displaying. Information which is coming

    from arduino is input and displaying message is output for LCD. HD44780 protocol is used in

    connection between microcontroller and 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: It takes command from arduino uno and sends them to stepper motor.

    Stepper motor: It works after command of motor driver and they make helical mixer to run.

    Helical mixer: Helical mixer turning with stepper motor.

    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.

    Output send to control card by using ADC.

    Control Card: It controls temperature and give command to compressor to open/close system.

    Compressor: It takes information from control card and works accordingly by changing

    temperature level. Gas compressor is used in this product.

  • 8/3/2019 Team2_VFood_Block Diagram & SW Flowchart 23.11

    4/6

    3

    Bill Validator Keypad LCD

    Arduino Uno

    (Microprocessor)

    Presence

    Sensor

    Motor

    Driver

    A4983

    I

    Motor

    Driver

    A4983

    VI

    Motor

    Driver

    A4983

    II

    Stepper

    Motor I

    (14W,

    Stepper,DC)

    Hellical

    Mixer

    I

    Hellical

    Mixer

    II

    Hellical

    Mixer

    VI

    Temperature

    Sensor

    Gas

    CompressorControl Card

    Block diagram of Cooling System

    . . .

    . . .

    Ingredients

    Check Leds

    (RED)

    Ingredients

    Check Leds

    (GREEN)

    To understand the

    presence of plastic bowl

    To take and count money

    To show

    absence of

    ingredients

    To show presence

    of ingredients

    To measure

    temperature

    Enable cooling of

    system

    Check temperature

    level

    Block diagram of MacQuick

    ADC

    Digital

    output

    HD4478

    0

    Protoc

    ol

    Stepper

    Motor II

    (14W,

    Stepper,DC)

    Stepper

    Motor VI

    (14W,

    Stepper,DC)

    . . .

    Power

    Supply

    220V AC

    24V DC

    Voltage

    Regulator

    35V DC

    Voltage

    Regulator

    12V DC

    Voltage

    Regulator

    7V DC

    Voltage

    Regulator

  • 8/3/2019 Team2_VFood_Block Diagram & SW Flowchart 23.11

    5/6

    4

    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 slot are checked. If there is a missing ingredient, the status isset 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 sufficientamount 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 buttonwhich 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 thecounter 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 boxor 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 donethe 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.

  • 8/3/2019 Team2_VFood_Block Diagram & SW Flowchart 23.11

    6/6

    5