User Manual

20
Software Installation
1. Log into Raspberry Pi
The TF card onto which the Raspbian has been burnt is inserted into the Raspberry Pi before.
Now power the Raspberry Pi.
The installation may take a long time, so you're recommended to so you're recommended to supply the Raspberry Pi
via a USB cable and then power the Robot HAT with batteries in case of power cut-off thus causing a sudden shutdown
and file damage of the Raspberry Pi. You can directly power it via the Micro USB port because the Robot HATS won't
get damaged by it due to the built-pin protective circuit.
Plug in the USB Wi-Fi dongle (skip this if you use a Raspberry Pi 3 with the WiFi) and complete
the setting in the way you're comfortable with.
Log into the Raspberry Pi via ssh or ssh tools like PuTTY.
2. Get Source Code
You can find the source code in our Github repositories. Download the source code by git
clone:
git clone --recursive https://github.com/sunfounder/SunFounder_PiCar-S.git
pi@raspberrypi:~ $ git clone --recursive https://github.com/sunfounder/SunFounder_PiC
ar-S.git
Cloning into 'SunFounder_PiCar-S'...
remote: Counting objects: 162, done.
remote: Total 162 (delta 0), reused 0 (delta 0), pack-reused 162
Receiving objects: 100% (162/162), 61.98 KiB | 36.00 KiB/s, done.
Resolving deltas: 100% (80/80), done.
Checking connectivity... done.
Submodule 'example/SunFounder_Light_Follower' (https://github.com/sunfounder/SunFound
er_Light_Follower.git) registered for path 'example/SunFounder_Light_Follower'
Submodule 'example/SunFounder_Line_Follower' (https://github.com/sunfounder/SunFounde
r_Line_Follower.git) registered for path 'example/SunFounder_Line_Follower'
Submodule 'example/SunFounder_Ultrasonic_Avoidance' (https://github.com/sunfounder/Su
nFounder_Ultrasonic_Avoidance.git) registered for path 'example/SunFounder_Ultrasonic
_Avoidance'
Cloning into 'example/SunFounder_Light_Follower'...
remote: Counting objects: 15, done.
remote: Total 15 (delta 0), reused 0 (delta 0), pack-reused 15
Unpacking objects: 100% (15/15), done.
Checking connectivity... done.
Submodule path 'example/SunFounder_Light_Follower': checked out '10b3ccea709f34221c6d
c137aca6cb00abfca417'