Page 28 - Demo
P. 28


                                    Q1. The motor is connected to Arduino through the _____ IC.Answer: L293DQ2. The function _____ is used to set motor speed using PWM.Answer: analogWrite()Q3. The variable _____ stores the motor speed value.Answer: motorSpeedQ4. In this project, speed increases in steps of _____ units.Answer: 85 Match the FollowingColumn A (Code Element) Column B (Function)1. motorPin = 9 a. Reads button input2. digitalRead(buttonPin) b. Defines where motor is connected3. analogWrite(motorPin, motorSpeed) c. Sends PWM signal to motor driver4. motorSpeed d. Stores current motor speedAnswer Key:1 %u2192 b2 %u2192 a3 %u2192 c4 %u2192 d
                                
   22   23   24   25   26   27   28   29   30   31   32

 

 

 

 

 

Web hosting by Somee.com