Arduino Practice | 7 Segment LED and Motor

Creativity and Computation Lab

Aruduino Uno

Practice 4 digit 7 Segment LED and motor on an Arduino

 

Elements Used:

In this practice, I used the following elements:

  1. Arduino Uno
  2. Wires/Cables
  3. USB connector for the Arduino
  4. Button
  5. 4 digit 7 segment LED
  6. Transistor
  7. Diode
  8. DC Motor
  9. Fan
  10. 9V Battery

 

The Logic:

The way the circuit works is that the button controls the LED (7 Segment). So, when the button is pressed, the LED displays 1, and when the button is released, the LED displays 0 (default state).

Next, the transistor, diode, and the 9V battery help the motor receive the required power to run. So, when the connection is made with the battery, the motor starts running and the fan runs with it.

Note: As per the logic, I tried to make the motor run as per the instructions of the button. But, there was some issue which is ongoing diagnosis.

 

The Connections:

 

Functional Video:

 

The Code:

Week 2 Homework Code

 

Leave a reply

Skip to toolbar