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

Arduino UNO-Based Line Following Robot with Ultrasonic Obstacle Detection and Servo Control

View and Edit Project In Cirkit DesignerImage of Arduino UNO-Based Line Following Robot with Ultrasonic Obstacle Detection and Servo Control

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that includes an Arduino UNO microcontroller, various sensors (line follower, ultrasonic, IR, and hall sensors), servos, DC motors, LEDs, and pushbuttons. The circuit is designed to interface these components with the Arduino UNO to perform various tasks, such as sensing, actuation, and user interaction.

Component List

  1. Arduino UNO

    • Description: A microcontroller board based on the ATmega328P.
    • Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0, A1, A2, A3, A4, A5, SCL, SDA, AREF, D13, D12, D11, D10, D9, D8, D7, D6, D5, D4, D3, D2, D1, D0
  2. DC Motor

    • Description: A simple DC motor.
    • Pins: pin 1, pin 2
  3. Servo

    • Description: A servo motor for precise control of angular position.
    • Pins: GND, VCC, PWM
  4. MKE-S10 CNY70 Line Follower Sensor

    • Description: A line follower sensor.
    • Pins: GND, 5V, SIG
  5. HC-SR04 Ultrasonic Sensor

    • Description: An ultrasonic distance sensor.
    • Pins: VCC, TRIG, ECHO, GND
  6. LED: Two Pin (red)

    • Description: A red LED.
    • Pins: cathode, anode
  7. LED: Two Pin (green)

    • Description: A green LED.
    • Pins: cathode, anode
  8. LED: Two Pin (blue)

    • Description: A blue LED.
    • Pins: cathode, anode
  9. Hall sensor (magnetic)

    • Description: A magnetic hall sensor.
    • Pins: VCC (5V), GND, D0 (Digital), A0 (Analog)
  10. IR Sensor

    • Description: An infrared sensor.
    • Pins: out, gnd, vcc
  11. Green Button

    • Description: A green pushbutton.
    • Pins: OUT, VCC, GND
  12. Red Pushbutton

    • Description: A red pushbutton.
    • Pins: Pin 2, Pin 1, Pin 3, Pin 4

Wiring Details

Arduino UNO

DC Motor

Servo

MKE-S10 CNY70 Line Follower Sensor

HC-SR04 Ultrasonic Sensor

LED: Two Pin (red)

LED: Two Pin (green)

LED: Two Pin (blue)

Hall sensor (magnetic)

IR Sensor

Green Button

Red Pushbutton

Documented Code

Arduino UNO Code (sketch.ino)

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

Additional Documentation (documentation.txt)

This document provides a comprehensive overview of the circuit, including a summary, component list, wiring details, and documented code.