Course Solutions Uncategorized (Solved) : 4 10 Pts Write Program Monitor Analog Pin A0 Monitor Meant Program Use Analogread Capture Q31712267 . . . .

(Solved) : 4 10 Pts Write Program Monitor Analog Pin A0 Monitor Meant Program Use Analogread Capture Q31712267 . . . .

 

4. (10 pts) Write a program that will:

(a) Monitor Analog pin A0. [By ‘monitor’ it ismeant that the program should use analogRead() to capture thevoltage level. If you are unfamiliar with the analogRead()function, check the Arduino Reference. The analogRead() functionwill return a value between 0 and 1023 corresponding to a voltagelevel between 0 and 5 V.] If the voltage level exceeds 2.5 V, theprogram will:

(b) Turn on the motor through the interface youdesigned in Problem 3 for two seconds. After the two seconds, themotor should be turned off and the system will:

(c) Go back to monitoring the voltage level onpin

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post