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:
- Arduino Uno
- Wires/Cables
- USB connector for the Arduino
- Button
- 4 digit 7 segment LED
- Transistor
- Diode
- DC Motor
- Fan
- 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: