Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Project Documentation

Raspberry Pi 3B-Based Motion-Activated LED System

Image of Raspberry Pi 3B-Based Motion-Activated LED System

Circuit Documentation

Summary of the Circuit

This circuit integrates a Raspberry Pi 3B with an HC-SR501 motion sensor and a green LED. The Raspberry Pi 3B serves as the central processing unit, controlling the LED based on the signal from the motion sensor. The HC-SR501 motion sensor detects motion and sends a signal to the Raspberry Pi, which then turns the LED on or off. A resistor is included in series with the LED to limit the current and protect the LED from damage. The circuit is powered by the 5V supply from the Raspberry Pi.

Component List

Raspberry Pi 3B

  • Description: A small single-board computer with multiple GPIO pins for interfacing with various electronic components.
  • 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-SR501 Motion Sensor

  • Description: A PIR motion sensor module that detects movement within its detection range.
  • Pins: GND, OUT, VCC

LED: Two Pin (green)

  • Description: A green light-emitting diode used as an indicator light.
  • Pins: cathode, anode

Resistor

  • Description: A passive two-terminal electrical component that implements electrical resistance as a circuit element.
  • Pins: pin1, pin2
  • Properties: Resistance - 200 Ohms

Display 7 inch

  • Description: A 7-inch display that can be connected to the Raspberry Pi for visual output.
  • Pins: HDMI, USB Power, USB Touch Screen

Wiring Details

Raspberry Pi 3B

  • GPIO17 connected to the cathode of the LED.
  • GND connected to pin1 of the Resistor and GND of the HC-SR501 Motion Sensor.
  • GPIO4 connected to the OUT pin of the HC-SR501 Motion Sensor.
  • 5V connected to the VCC pin of the HC-SR501 Motion Sensor.

HC-SR501 Motion Sensor

  • GND connected to GND of the Raspberry Pi 3B.
  • OUT connected to GPIO4 of the Raspberry Pi 3B.
  • VCC connected to 5V of the Raspberry Pi 3B.

LED: Two Pin (green)

  • Cathode connected to GPIO17 of the Raspberry Pi 3B.
  • Anode connected to pin2 of the Resistor.

Resistor

  • Pin1 connected to GND of the Raspberry Pi 3B.
  • Pin2 connected to the anode of the LED.

Display 7 inch

Note: The Display 7 inch is listed in the components but not included in the wiring details as there are no connections specified in the electrical net list.

Documented Code

No code has been provided for the microcontrollers in the circuit. Therefore, this section is not applicable.


Please note that the above documentation is based on the provided inputs and assumes that the circuit is designed correctly. It is essential to test the circuit and verify the functionality before finalizing the documentation.