Bird
0
0

Which two pins are typically required to connect a DistanceSensor to a Raspberry Pi?

easy📝 Conceptual Q2 of 15
Raspberry Pi - gpiozero Library
Which two pins are typically required to connect a DistanceSensor to a Raspberry Pi?
ASDA and SCL pins
BTrigger and Echo pins
CMOSI and MISO pins
DTX and RX pins
Step-by-Step Solution
Solution:
  1. Step 1: Identify sensor pin functions

    The ultrasonic sensor uses a Trigger pin to send a pulse and an Echo pin to receive the reflected pulse.
  2. Step 2: Match pins to Raspberry Pi

    These two pins connect to GPIO pins on the Raspberry Pi to measure distance.
  3. Final Answer:

    Trigger and Echo pins -> Option B
  4. Quick Check:

    DistanceSensor pins = Trigger & Echo [OK]
Quick Trick: Trigger sends pulse, Echo receives it [OK]
Common Mistakes:
  • Confusing I2C pins (SDA/SCL) with sensor pins
  • Using SPI pins (MOSI/MISO) incorrectly
  • Mixing serial pins (TX/RX) with sensor pins

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Raspberry Pi Quizzes