Question
5 Home Task You have to solve the following problem and add to your report 1- Calibrate your potentiometer so it can be used as
5 Home Task You have to solve the following problem and add to your report
1- Calibrate your potentiometer so it can be used as angular position sensor
2- After calibration , modify the hardware and the software (measurement system) to solve the following problem:
A. The user will see the following message on the serial monitor for once when he/she turn on the system. ********************* Welcome to ACK ***************** ********************* Angle Measurements **************
B. Continues measurement for the angle
C. The code will not display the measured angle unless the user clicks on certain pushbutton.
D. The system will display the measured angle in rad units if the user clicks on another push button. rad = degrees 180 E. The system must display the measured angles between partition lines like this: ********************************* Angle = 215 degrees ********************************* Angle = 1.53 rad ********************************* F. The system will generate warning, message if the angle exceed 180 degrees. The warning message will be like this: ********************************************** WARNING: YOU EXCEED THE MAXIMUM LIMIT **********************************************
Also, you have to turn on a certain LED when the angle exceeds 180. This is another type of warring messages.
iwant the code and the connection please
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started