Documentation & Instructions


Setup

Follow these steps to set up and configure your PiCar-X robot for development and testing.

Initial Connection

  1. Connect an HDMI cable from the robot to a monitor.
  2. Connect a mouse and keyboard to the Raspberry Pi USB ports.
  3. Insert charged batteries into the bottom of the robot.
  4. Power on the robot using the switch on the Arduino board.
  5. When prompted for a password, enter picarx1 (all lowercase, no quotes).

Virtual/Remote Connection (RealVNC)

To control the robot remotely from your personal computer, use RealVNC for a wireless connection:

  1. Download and install RealVNC Viewer on your personal computer.
  2. Connect both your personal computer and the Raspberry Pi to the same network (not the college network).
  3. On the Raspberry Pi terminal, type hostname -I to retrieve the robot's IP address.
  4. Copy the IP address and paste it into RealVNC Viewer, then click "Connect".
  5. Once connected, you should see the Raspberry Pi desktop on your screen.
  6. You can now disconnect the HDMI cable, mouse, and keyboard from the robot.

File Setup and Calibration

Navigate to cs371/picar-x/example/picar/ to find the core program files:

Note: Calibration must be performed on your specific track and lighting environment for optimal performance.

Files and Assets

Download the track assets below for printing and testing.

Download lines.zip

This ZIP file contains printable track assets designed for the printer so you can create a consistent line-following course.

Download picar.zip