1/16
Practice flashcards covering DC motor operation, the L298N driver module, wiring and powering configurations, PWM speed control, and servo motor mechanics and programming with Arduino.
What type of energy conversion occurs in a DC motor?
A DC motor converts electrical energy (from a battery) into rotational movement.
What changes occur in a DC motor when the wires are swapped or when more voltage is added?
Swapping the wires changes the spin direction, while adding more voltage causes the motor to spin faster.
Why is an Arduino unable to power a DC motor directly from its pins?
An Arduino cannot power a DC motor directly because the motor requires more current than Arduino pins can provide.
What is the L298N and what purpose does it serve in motor interfacing?
The L298N is a motor driver module that acts as a "bridge" between the Arduino and DC motor, allowing safe control of direction and speed.
How many motors can an L298N controller handle, and which output terminals connect to them?
The controller can take up to 2 motors; one motor connects to terminals OUT1 and OUT2, and the second motor connects to terminals OUT3 and OUT4.
Which pins on the L298N module control the direction of the connected motors?
IN1 and IN2 control the direction of the motor connected to OUT1 and OUT2, while IN3 and IN4 control the direction of the motor connected to OUT3 and OUT4.
What is the main disadvantage of powering an Arduino using the 5V pin output of the L298N module?
The regulator on the L298N is weak and can supply only ~50 to 100mA, meaning the Arduino may reset or behave erratically if additional sensors or modules draw more current.
Why is powering an L298N motor driver directly from the Arduino 5V pin strongly discouraged?
The Arduino 5V pin is designed for logic rather than high loads and cannot supply enough current for motors, resulting in motors not running properly or risking damage to the Arduino regulator.
What are the advantages of powering the L298N driver and the Arduino separately?
It is much more stable and safe because each circuit has its own proper power source, preventing motors from causing voltage drops that reset the Arduino.
How is DC motor speed controlled on an L298N using Arduino pins?
Motor speed is controlled with the EN pins (ENA for the left motor and ENB for the right motor) using PWM through the analogWrite(pin, value); function.
What is the value range accepted by analogWrite(pin, value); for PWM motor control, and what do values of 0 and 255 represent?
The value range is 0 to 255, where 0 represents motor OFF (0% duty cycle) and 255 represents motor full speed (100% duty cycle).
What is the fundamental functional difference between a DC motor and a servo motor?
A DC motor spins continuously (like a fan), whereas a servo motor rotates precisely to a specific set angle (like a robot arm joint).
To which exact angles can a standard servo motor turn according to the lecture?
A servo motor can turn exactly to 0∘, 90∘, or 180∘.
What are the three main internal components of a servo motor and their functions?
The DC Motor provides movement, the Gearbox slows movement and increases torque, and the Potentiometer provides position feedback to ensure accuracy.
What are the wire colors and functions of the three pinouts on a standard servo motor?
The Signal Pin (Yellow/Orange/White) carries the PWM control signal, the Power Pin Vcc (Red) supplies power (+5V), and the Ground Pin GND (Brown/Black) connects to the negative power supply side.
What standard PWM frequency and period are used to control an analog servo motor?
A standard signal frequency of 50Hz with a period of 20ms.
Which Arduino header library and member functions are used to configure and set the angle of a servo motor?
The #include <Servo.h> library is used along with myservo.attach(pin); to specify the pin connection and myservo.write(angle); to set the target angle.