Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

Raspberry Pi 4B-Based IR Sensor and Servomotor Control System with Indicator LEDs

View and Edit Project In Cirkit DesignerImage of Raspberry Pi 4B-Based IR Sensor and Servomotor Control System with Indicator LEDs

Circuit Documentation

Summary

The circuit in question is designed to interface a Raspberry Pi 4B with multiple peripheral devices, including two IR sensors, two servomotors, and two LEDs (one green and one red). The Raspberry Pi 4B serves as the central processing unit, controlling the servomotors based on inputs from the IR sensors and indicating status through the LEDs. The servomotors are powered by the 5V supply from the Raspberry Pi, while the IR sensors are powered by the 3.3V supply. The LEDs are connected to GPIO pins through resistors to limit the current. Ground connections are shared among all components.

Component List

Raspberry Pi 4B

IR Sensor (x2)

Servomotor SG90 (x2)

LED: Two Pin (Green)

LED: Two Pin (Red)

Resistor (x2)

Wiring Details

Raspberry Pi 4B

IR Sensor

Servomotor SG90

LED: Two Pin (Green)

LED: Two Pin (Red)

Resistor

Documented Code

No code was provided for the microcontrollers in the circuit. The expected code would typically initialize the GPIO pins, set up the IR sensors for input, configure the servomotors for output, and control the LEDs based on the logic defined for the circuit's operation.