Giter VIP home page Giter VIP logo

fan_control_system's Introduction

Problem statement

Description: This system senses the speed at which the fan is rotating and adjusts the speed, based on the user input. The user can select three different speeds of the fan. The current speed should be sensed and the control mechanism should gradually increase the speed to the desired speed.

User Interface:

  1. The fan starts when the user presses ‘Start’ button.
  2. The user can then set the required speed by using a keypad interface. This speed value should be displayed on the display.
  3. After setting speed initially, the user should be able to change the fan speed setting by an up and down switch. Each press on this arrow button increases/ decreases the speed by 1 unit. Min speed value is 1, whereas maximum speed value is 5 Units. Pressing ‘UP’ button after reaching to value.
  4. should not change the display value or setting of fan speed. Same is true for the lower bound.
  5. The fan can be stopped by pressing ‘Stop’ button.
  6. The user can also set the mode of the fan as ‘Auto’ mode besides a ‘Regular mode’ setting. In Auto mode, the user should be able to enter the value of time in terms of hours after which the Fan has to be switched off automatically. (For example, if value entered is 2, then the Fan should switch off after 2 hours from the time this setting is applied

List of Hardware Used

Item Number
8086 Micro-Processor 1
74LS373 Octal Latches 3
74LS138 3:8 Decoder 1
8255A Programmable Peripheral Interfacing Device 1
7SEG-COM-CAT-BLUE Display 1
DAC_8 Digital to Analog Converter 1
DC Fan 1
Push Button Switches 16
74LS245 Bi-Directional Buffer 2
2732 SROM Chips (2KB each) 2
6116 RAM Chips (2KB each) 2
OR Gates 6
NOT Gates 3
SPDT Switch 1
Ground Terminal as required

Implementation Procedure:

  1. A hex keypad has been created to control the buttons of the fan speed and the increase and decrease functions of the regulator.

  2. All the buttons, the buttons which assign the value of speed, as well as those which control the increment and decrement of speed, are integrated within this hex keypad.

  3. The operation can be divided into these parts:

    1. By pressing the START and STOP, the user can control the switching ON and OFF the fan.

    2. The user can directly input the values of the speed which he wants and this speed is displayed on the 7‐segment display.

    3. The user can also control this operation by using the up and down buttons. It can operate in the range of 0‐5.

    4. FAN can also be controlled by using the AUTO mode.

Flowcharts

Flowchart 1

Flowchart1

Flowchart 2

Flowchart2

ASSUMPTIONS :

  1. Auto mode runs at speed 3.
  2. Auto mode allows the user to enter a number between 0 to 10.
  3. At a time user presses only one of the given keys.
  4. Hours in auto mode is scaled down to seconds.
  5. The user can start fan only by pressing the start button.
  6. The fan starts at speed 1 on pressing the start button.
  7. VCC and MIN/MAX are connected to +5V.

Running the Design model

  • The FanControl.dsn file has to be opened in Proteus 7 professional (ISIS 7)
  • Compile the assembly code in DOSBox using ml MAINS.asm.
  • The compilation will result in a new machine level code with the name MAINS.com
  • Double click on the 8086 processor in the design, browse from the code text box to the MAINS.com and select it.
  • Run the simulation using the play button provided in ISIS 7.

fan_control_system's People

Contributors

svaderia avatar

fan_control_system's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.