TryKeep Question Number at 0, select Servo motor with angle control under Your Answer:, then turn on Show Answer.
ObserveShow Answer starts off, so the opening view of question 0 hides the result. Turning it on reveals Correct! for the servo choice and explains the answer.
ExplainYour Answer: is compared with the one stored correct choice for the current question, out of 5 fixed questions; Show Answer controls when that comparison is displayed.
Technical boundaries. The assessment assumes one stored correct choice for each of five fixed questions. It checks only the current response and does not calculate a running score.
Interactive Self-Assessment Quiz
Test your understanding of actuators with this auto-graded quiz.
actuatorQuestions = [ {id:1,question:"You need to control a robot arm that requires precise positioning at specific angles (0, 45, 90, 135 degrees). Which actuator is most appropriate?",choices: ["DC motor with PWM speed control","Servo motor with angle control","Stepper motor with step counting","Relay for on/off control" ],correct:1,explanation:"Servo motors are designed for precise angular positioning, typically 0-180 degrees. They have built-in feedback control that maintains the commanded angle." }, {id:2,question:"Your microcontroller GPIO pin can safely source 20mA at 3.3V. You need to control a 12V DC motor that draws 500mA. What is the correct approach?",choices: ["Connect the motor directly to the GPIO pin","Use a transistor or MOSFET with a separate 12V power supply","Reduce motor voltage to 3.3V to match the GPIO","Use multiple GPIO pins in parallel" ],correct:1,explanation:"GPIO pins cannot drive high-current loads directly. Use a transistor (2N2222, BC547) or MOSFET as a switch with a separate 12V power supply and flyback diode." }, {id:3,question:"A 3D printer uses NEMA 17 stepper motors for precise positioning. What advantage do stepper motors provide over servo motors for this application?",choices: ["Stepper motors are cheaper than servo motors","Stepper motors provide open-loop position control without feedback sensors","Stepper motors run faster than servo motors","Stepper motors consume less power" ],correct:1,explanation:"Stepper motors provide precise position control by counting steps without requiring encoders (open-loop). This simplifies design and reduces cost for applications like 3D printers." }, {id:4,question:"You're controlling LED brightness using PWM at 1kHz with 8-bit resolution (0-255). What duty cycle percentage corresponds to a PWM value of 64?",choices: ["64%","25%","32%","50%" ],correct:1,explanation:"PWM duty cycle = (PWM_value / Max_value) x 100 = (64 / 255) x 100 = 25.1% approximately 25%." }, {id:5,question:"Your ESP32 project controls a relay that switches a 120V AC heater. Why is a flyback diode necessary across the relay coil?",choices: ["To prevent AC voltage from backfeeding into the ESP32","To suppress inductive voltage spike when relay coil is de-energized","To reduce power consumption of the relay","To speed up relay switching time" ],correct:1,explanation:"Relay coils are inductors. When power is cut, the collapsing magnetic field generates a high voltage spike that can destroy transistors or microcontrollers. A flyback diode provides a safe path for this current." }]viewof currentQ = Inputs.range([0, actuatorQuestions.length-1], {step:1,value:0,label:"Question Number"})md`### Question ${currentQ +1} of ${actuatorQuestions.length}${actuatorQuestions[currentQ].question}`