2. Question: Design an Arduino project to use a potentiometer, one push button, one buzzer and two LEDS (red and green) to control a stepper motor as following: 1- The push button should be used to...


2. Question:<br>Design an Arduino project to use a potentiometer, one push button, one buzzer and two<br>LEDS (red and green) to control a stepper motor as following:<br>1- The push button should be used to monitor the direction of the motor. Once the push<br>button is pressed the direction of the motor should be changed.<br>2- If the motor is running in the clockwise direction (+) the green LED should be ON<br>and the red LED should be OFF. But if the motor is running in the counterclockwise<br>direction (-) the red LED should be ON and the green LED should be OFF.<br>3- The potentiometer should be used to control the speed of the stepper motor.<br>4- A tune will be generated by the buzzer when the motor is set at the maximum speed<br>by the potentiometer.<br>(Hint: Use the motor driver L293D as shown in the figure below)<br>L2930<br>DIOITAL PWM-)<br>0O UNO<br>9V<br>ARDUINO<br>ANALOG IN<br>PUP GRN TPPP<br>

Extracted text: 2. Question: Design an Arduino project to use a potentiometer, one push button, one buzzer and two LEDS (red and green) to control a stepper motor as following: 1- The push button should be used to monitor the direction of the motor. Once the push button is pressed the direction of the motor should be changed. 2- If the motor is running in the clockwise direction (+) the green LED should be ON and the red LED should be OFF. But if the motor is running in the counterclockwise direction (-) the red LED should be ON and the green LED should be OFF. 3- The potentiometer should be used to control the speed of the stepper motor. 4- A tune will be generated by the buzzer when the motor is set at the maximum speed by the potentiometer. (Hint: Use the motor driver L293D as shown in the figure below) L2930 DIOITAL PWM-) 0O UNO 9V ARDUINO ANALOG IN PUP GRN TPPP

Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here