Abraham Baldwin Agricultural College Potentiometer with Motor Worksheet
Description
PLEASE USE LIBARY GIVEN (motor.py , ledbar.py ,adc0832.py) I DO NOT accept any library different
2. The DC motor controller should have the following functionality:
a. The push button must control forward and reverse directions of the motor. This is a simple state machine: a push of the button will change the motor direction from forward to reverse. The next push of the button will change the motor direction from reverse to forward.
b. The potentiometer must control the speed of the motor such that with the potentiometer turned completely counterclockwise the motor is off and when turned completely clockwise the motor is operating at full speed.
c. The LED bar graph must show, qualitatively, the speed of the motor. When the motor is completely off, no LEDs are lit. When the motor is at full speed, all LEDs are lit. There shall be a linear relationship between the number of LEDs lit and the RPM of the DC motor. This relationship should hold whether the motor is in reverse or in forward.
Have a similar assignment? "Place an order for your assignment and have exceptional work written by our team of experts, guaranteeing you A results."