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

Arduino Mega 2560-Based Battery-Powered Robotic Vehicle with OLED Display and Sensors

View and Edit Project In Cirkit DesignerImage of Arduino Mega 2560-Based Battery-Powered Robotic Vehicle with OLED Display and Sensors

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that includes various sensors, displays, motors, and a microcontroller. The circuit is designed to interface with an Arduino Mega 2560, which controls the components and processes the data from the sensors. The components include OLED displays, ultrasonic sensors, photodiodes, IR sensors, a servo motor, a motor driver, and a NeoPixel stick. The circuit is powered by a 48V to 5V converter and a 2x 18650 battery pack.

Component List

  1. OLED 1.3" Display

    • Pins: GND, VCC, SCL, SDA
    • Description: A 1.3-inch OLED display used for visual output.
  2. HC-SR04 Ultrasonic Sensor

    • Pins: VCC, TRIG, ECHO, GND
    • Description: An ultrasonic sensor used for distance measurement.
  3. Photodiode

    • Pins: Cathode, Anode
    • Description: A photodiode used for light detection.
  4. Micro Servo 9G

    • Pins: GND, +5V, PWM
    • Description: A small servo motor used for precise control of angular position.
  5. Arduino Mega 2560

    • Pins: Multiple I/O pins
    • Description: A microcontroller board based on the ATmega2560.
  6. Motor and Wheels

    • Pins: VCC, GND
    • Description: A motor and wheel assembly for movement.
  7. 2x 18650 Battery Pack

    • Pins: VCC, GND
    • Description: A battery pack providing power to the circuit.
  8. LSM6DS3+LIS3MDL

    • Pins: Vin, 3Vo, GND, SCL, SDA, INT2, INT1, INIM, DRDy
    • Description: A combined accelerometer and magnetometer sensor.
  9. Sharp IR Sensor

    • Pins: VCC, GND, Pin
    • Description: An infrared sensor used for distance measurement.
  10. Adafruit NeoPixel Stick

    • Pins: GND, DATAOUT, +5V, DATAIN
    • Description: An LED stick with individually addressable RGB LEDs.
  11. L293D Motor Driver

    • Pins: Enable 1, Input 1, Output 1, GND, Output 2, Input 2, VS, VSS, Input 4, Output 4, Output 3, Input 3, Enable 2
    • Description: A motor driver used to control the motors.
  12. Resistor

    • Pins: Pin1, Pin2
    • Description: A resistor with a resistance of 4700 Ohms.
  13. 48V to 5V Converter

    • Pins: Out+, Out--, In+, In--
    • Description: A voltage converter that steps down 48V to 5V.
  14. Terminal Block

    • Pins: 1, 2, 3, 4, 5, 6, 7, 8
    • Description: A terminal block for connecting multiple wires.
  15. GND

    • Pins: GND
    • Description: Ground connection.

Wiring Details

OLED 1.3" Display

HC-SR04 Ultrasonic Sensor

Photodiode

Micro Servo 9G

Arduino Mega 2560

Motor and Wheels

2x 18650 Battery Pack

LSM6DS3+LIS3MDL

Sharp IR Sensor

Adafruit NeoPixel Stick

L293D Motor Driver

Resistor

48V to 5V Converter