Circuit Documentation
Summary
This circuit involves a Raspberry Pi 3B connected to an HC-SR04 Ultrasonic Distance Sensor. The Raspberry Pi serves as the main controller, providing power and handling the input/output signals from the sensor. The HC-SR04 sensor is used to measure distance by emitting ultrasonic waves and measuring the time it takes for the echo to return.
Component List
Raspberry Pi 3B
- Description: A versatile single-board computer used for a wide range of applications, including IoT, robotics, and embedded systems.
- Pins:
- 3v3
- GPIO2
- GPIO3
- GPIO4
- GND
- GPIO17
- GPIO27
- GPIO22
- 3V3
- GPIO10
- GPIO9
- GPIO11
- ID_SD
- GPIO5
- GPIO6
- GPIO13
- GPIO19
- GPIO26
- GPIO21
- GPIO20
- GPIO16
- GPIO12
- ID_SC
- GPIO7
- GPIO8
- GPIO25
- GPIO24
- GPIO23
- GPIO18
- GPIO15
- GPIO14
- 5V
HC-SR04 Ultrasonic Distance Sensor (Wokwi Compatible)
- Description: A sensor used to measure distance by emitting ultrasonic waves and measuring the time it takes for the echo to return.
- Pins:
- VCC
- TRIG
- ECHO
- GND
Wiring Details
Raspberry Pi 3B
- GPIO17 is connected to TRIG of the HC-SR04 Ultrasonic Distance Sensor.
- GPIO27 is connected to ECHO of the HC-SR04 Ultrasonic Distance Sensor.
- GND is connected to GND of the HC-SR04 Ultrasonic Distance Sensor.
- 5V is connected to VCC of the HC-SR04 Ultrasonic Distance Sensor.
HC-SR04 Ultrasonic Distance Sensor (Wokwi Compatible)
- TRIG is connected to GPIO17 of the Raspberry Pi 3B.
- ECHO is connected to GPIO27 of the Raspberry Pi 3B.
- GND is connected to GND of the Raspberry Pi 3B.
- VCC is connected to 5V of the Raspberry Pi 3B.
Code
No code is provided for this circuit.
