- Name two output devices Arduino can control.
Answer: LED and buzzer (also: DC fan/motor, servo, relay). - What happens to the LED if the sensor value is below threshold?
Answer: The LED turns OFF (in the example code the LED is set LOW when sensor < threshold). - Why do we use a transistor when driving a motor?
Answer: Because motors draw more current than an Arduino pin can supply; the transistor acts as a switch and safe driver. - What does analogWrite(pin, value) do?
Answer: Outputs a PWM signal on a PWM-capable pin; value 0–255 controls duty cycle (used to vary brightness or motor speed).
Lesson 1: Arduino – The Mini Brain
0/5
Lesson 2: Inputs – Arduino Can Sense!
0/5
Lesson 3: Outputs — Making Arduino “Speak” Back
0/6
Lesson 4: Code to Control
0/5
Lesson 5: Smart Room Ideas
0/5
Lesson 6: Test, Debug, Tweak
0/5