Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Using servo knob on Arduino IDE, verify that you can control the orientation of the servo horn by rotating the knob of the pot.

1. Using servo knob on Arduino IDE, verify that you can control the orientation of the servo horn by rotating the knob of the pot.

2. Modify the Servo_Knob sketch from 1, so that you can print to the monitor both the raw pot voltage and its scaled value. Determine what the maximum and minimum values are for the pot voltage when you turn the knob to its extreme CW and CCW directions.

3. Change the 1023 argument value in the map() function to correspond with the maximum pot voltage value that you determined in the previous step.

4. Write a program that will light up one of the four red gumdrop LEDs depending on where the potentiometer knob is turned:

if within roughly 2% of the extreme CCW or CW location, then LED0 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 (Dont forget to change the LED jumper to red)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional Visual Basic 6 Databases

Authors: Charles Williams

1st Edition

1861002025, 978-1861002020

More Books

Students also viewed these Databases questions

Question

Describe how to train managers to coach employees. page 404

Answered: 1 week ago

Question

Discuss the steps in the development planning process. page 381

Answered: 1 week ago