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

Raspberry Pi Zero W Based Line Tracking and Obstacle Detection System

Image of Raspberry Pi Zero W Based Line Tracking and Obstacle Detection System

Circuit Documentation

Summary of the Circuit

This circuit integrates a Raspberry Pi Zero W with two sensors: the KY-033 Line Tracking Sensor and the Sensor FC-51 IR. The Raspberry Pi Zero W serves as the central processing unit, interfacing with the sensors to receive input signals. The KY-033 sensor is used for line tracking, typically in robotics applications for following a path. The Sensor FC-51 IR is an infrared sensor that can be used for obstacle detection or as a proximity switch.

Component List

Raspberry Pi Zero W

  • Description: A low-cost, compact version of the Raspberry Pi with wireless LAN and Bluetooth connectivity.
  • Pins: 5V, 3V3, multiple GPIOs, GND, and dedicated pins for camera interface.

KY-033 Line Tracking Sensor

  • Description: A sensor module designed for line detection in robotics.
  • Pins: A0 (Analog output), D0 (Digital output), GND (Ground), VCC (Power supply).

Sensor FC-51 IR

  • Description: An infrared sensor module with digital output, commonly used for obstacle detection.
  • Pins: OUT (Output signal), GND (Ground), VCC (Power supply).

Wiring Details

Raspberry Pi Zero W

  • 3V3: Connected to VCC of KY-033 Line Tracking Sensor and Sensor FC-51 IR for power supply.
  • GND: Connected to GND of KY-033 Line Tracking Sensor and Sensor FC-51 IR for common ground reference.
  • GPIO 04: Connected to D0 of KY-033 Line Tracking Sensor to receive digital signals.
  • GPIO 24: Connected to OUT of Sensor FC-51 IR to receive digital signals.

KY-033 Line Tracking Sensor

  • VCC: Connected to 3V3 of Raspberry Pi Zero W for power supply.
  • GND: Connected to GND of Raspberry Pi Zero W for common ground reference.
  • D0: Connected to GPIO 04 of Raspberry Pi Zero W to send digital signals.

Sensor FC-51 IR

  • VCC: Connected to 3V3 of Raspberry Pi Zero W for power supply.
  • GND: Connected to GND of Raspberry Pi Zero W for common ground reference.
  • OUT: Connected to GPIO 24 of Raspberry Pi Zero W to send digital signals.

Documented Code

No code has been provided for the microcontrollers in the circuit. To fully utilize the sensors and the Raspberry Pi Zero W, code should be written and deployed to the Raspberry Pi to initialize the GPIO pins, read sensor data, and perform the desired actions based on the sensor inputs. This code would typically be written in Python, using libraries such as RPi.GPIO or GPIO Zero to interface with the GPIO pins.