Arduino Bootcamp Projects - Controlling a CPU Fan with a Button - Part 2

Lee Assam, University Instructor, Software Developer

Play Speed
  • 0.5x
  • 1x (Normal)
  • 1.25x
  • 1.5x
  • 2x
8 Videos (11m)
    • Introduction

    • Parts that are needed

    • Circuit diagram modifications

    • Changes in wiring up our circuit

    • Uploading the code and project demonstration

    • Explanation of the code and understanding pull up resistors

    • Further explanation on how the circuit works

    • Summary


About This Class


In this project, we will build on our previous CPU fan project - Part 1 and will learn how to use the Arduino to control a CPU fan with a button. By pressing the button we will be able to cycle through three speeds of the fan (low, medium and high).

We will understand how you can use buttons to control electronic components and you will also be introduced to the built-in internal pullup resistors in Arduino and get familiar with how they work and how they can be applied.

Learning Objectives:

  • Using a button to control our fan
  • Understanding an internal pullup resistor via INPUT_PULLUP on the Arduino






Reviews (0)

Lee Assam

University Instructor, Software Developer

Hi, I am Lee Assam. I bring to the table 18+ years of programming, development and IT experience. I have a Bachelor’s degree in Electrical and Computer Engineering and a Master’s Degree in Computer Science. 

I teach at Universities on topics ranging from Software Development to Electrical Engineering and prototyping. I like coming up with new ideas and prototyping them using the Arduino and Raspberry Pi platforms.

My passion and hobby is Arduino and the Internet of Things. I have been playing around with the Arduino and the Raspberry Pi platforms since their inception, and I use my Electrical Engineering background coupled with software development skills to create and develop exciting projects. I prefer a hands-on, project-based learning approach and use my teaching background to make concepts fun and entertaining, while at the same time educational and informative.