(Solved) : 1 Using Servo Knob Arduino Ide Verify Control Orientation Servo Horn Rotating Knob Pot 2 M Q28022762 . . .
1. Using servo knob on Arduino IDE, verify that you can controlthe orientation of the servo horn by rotating the knob of thepot.
2. Modify the Servo_Knob sketch from 1, so that you can print tothe monitor both the raw pot voltage and its scaled value.Determine what the maximum and minimum values are for the potvoltage when you turn the knob to its extreme CW and CCWdirections.
3. Change the 1023 argument value in the map() function tocorrespond with the maximum pot voltage value that you determinedin the previous step.
4. Write a program that will light up one of the four red‘gumdrop’ LEDs depending on where the potentiometer knob isturned:
if within roughly 2% of the extreme CCW or CW location, thenLED0 or LED3 is on respectively
if between fully CCW and half way, then LED1 is on
if between fully CW and half way, then LED2 is on (Don’t forgetto change the LED jumper to red)
Expert Answer
Answer to 1 Using Servo Knob Arduino Ide Verify Control Orientation Servo Horn Rotating Knob Pot 2 M Q28022762 . . .
OR