Font size
WorksheetsArduino Day 4
Total questions: 11
Worksheet time: 8mins
Why do we use a motor driver?
To control the speed of a DC motor
To control the direction of a DC motor
To handle the current load of a DC motor
Because we don't know how to drive
What is the difference between a servo motor and a DC motor?
Servo motor spins continuously, whereas DC motor can only spin 0 to 180 degree
Servo motor is ideal for making wheels spin, whereas DC motor is ideal for making robotic arm waves
We can achieve precise angle rotation using Servo motor, but we can't do that with DC
We can use a DC motor to control stuff that spins continuously and don't need precise angle control such as cars and drone
We use (a) to control the speed of a DC motor
(tips: 3 characters)
Which one(s) below about motor driver is/are correct? (for both L298N and L293D)
When we give a HIGH to IN1, the OUT1 will also be HIGH
The ENA controls the amount of voltage (speed) for OUT1 and OUT2, while ENB controls the amount of voltage (speed) for OUT3 and OUT4
The motor drivers don't need a power supply to work (5v-12v)
for L293N you also want to connect a 5V to pin 16; also you want to connect each ground for each "section" used. For example, if you used IN1 and OUT1, then u want to connect the ground at pin4
The servo motor usually can only rotate from 0 to 360 degree
True
False
We use library so
we can simplify our codes
we can spend more time and efforts writing the program that other people have already written
we can save our efforts
we can save our time
Which one below is the correct syntax for including a library in Arduino?
Which one below is false?
We use PIR sensor to detect human
We use Ultrasonic Distance sensor to sense distance
We use TMP36 to sense gas
which one below is correct about an PIR sensor?
Don't need to power up, whenever there's human in the "vision range" the output pin will become HIGH
Power up with 5V and GROUND, whenever there's human in the "vision range" the output pin will become HIGH
Power up with 5V and GROUND, any object moving in the "vision range" will trigger the outpin pin and make it HIGH
Connect the output pin to a digital pin, and set the digital pin to output, so we can read the voltage from the output pin
Which one(s) below is/are correct about Ultrasonic Distance Sensor?
The receiver of the sensor will transmit ultrasonic whereas the transmitter of the sensor will receive ultrasonic wave
Whenever the receiver receives ultrasonic wave, the echo pin will become HIGH, otherwise LOW
When we output a HIGH to the trig pin the transmitter will output Ultrasonic Wave
the data we received on the echo pin will automatically tell us the distance, we don't need to do math
which one below is true about TMP36?
The voltage we get from the output pin is digital voltage
The output pin of the sensor will output a voltage from 0.1v to 1.75v depends on the temperature
The sensor can sense between 10°C to 175°C
The output pin will automatically tell us the temperature, we don't need to do math
