GithubHelp home page GithubHelp logo

fan_controller's Introduction

Fan controller in C Programming

Final submission for EE30186 | University of Bath

About

The goal is to control the speed of the fan according to the user input using the DE1-SoC FPGA. Author: Oscar Rovira

Modes : Closed and Open Loop

  • Open Loop Mode: User can select the desired speed of the fan by directly controlling the output duty cycle of the PWM waveform being sent to the fan.
  • Closed Loop Mode: User can select the desired speed of the fan (RPM's) and the program will calculate the required duty cycle using a PID.

Display

  • Open Loop Mode: Fan Speed(RPM) or Duty Cycle(%)
  • Closed Loop Mode: Error, Target Speed(RPM), Fan Speed(RPM) or Duty Cycle(%)

Instructions:

Make sure all switches (SW0-9) are down before compiling to ensure complete initialisation of the system

  1. To turn on the system toggle left switch (SW9) up.
  2. To turn off the system toggle left switch (SW9) down.
  3. To turn on Closed Mode toggle right switch (SW0) up.
  4. To turn on Open Mode toggle right switch (SW0) down.
  5. To display current duty cycle press KEY0.
  6. To display fan speed press KEY1.
  7. In closed mode, to display target fan speed press KEY2.
  8. In closed mode, to display error press KEY3.
  9. In closed mode, use the knob to select the target speed in RPM.
  10. In open mode, use the knob to select the desired duty cycle.

fan_controller's People

Contributors

hirovi avatar

Watchers

James Cloos avatar

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.