Skip to main content

Installing the Code!!!

Part 1: Dependencies

The software relies on other programs to run smoothly. We'll install these now.

  1. Install Main Dependencies 
    sudo apt install git -y
    sudo apt install python3-pip -y
    sudo apt install python-setuptools -y
    sudo apt install python3-flask -y
    sudo apt install python-flask -y
    sudo pip install django-templates
  2. Now, we're going to install the official PiCar-V code.
    cd ~/
    git clone https://github.com/sunfounder/SunFounder_PiCar-V.git
  3. Enter the directory
    cd ~/SunFounder_PiCar-V	
  4.  Install smaller dependencies
    sudo ./install_dependencies
  5. VERY IMPORTANT!!! REBOOT THE CAR
    sudo reboot now

    Right now's a great time to move the car to battery power if plugged into the wall.

     

    Part 2: Extra Settings

    In this part, we'll enable I2C in the Pi's Config. This allows you to control the motors. Don't worry, this one's quick, and you're almost ready to drive :}}}}

 

  1. Enter the Raspberry Pi config