SunFounder PiCar-S
1.9 Appendix
1.9.1 Installing Manually
1. Update the apt list.
sudo apt
-
get update
2. Install python-smbus.
sudo pip3 install smbus2
3. Install the PiCar module.
cd
~
git clone
--
recursive https:
//
github
.
com
/
sunfounder
/
SunFounder_PiCar
.
git
cd SunFounder_PiCar
python3 setup
.
py install
4. Enable I2C.
Edit the file /boot/config.txt
sudo nano
/
boot
/
config
.
txt
The “
#
” in front of each line is to comment the following contents which does not take effect in a sketch. The I2C
configuration part is commented by default too. Add the following code at the end of the file, or delete the pound mark
“#” at the beginning of related line; either way will do.
dtparam
=
i2c_arm
=
on
5. Reboot.
sudo reboot
1.9. Appendix
71
Summary of Contents for PiCar-S
Page 1: ...SunFounder PiCar S www sunfounder com Nov 10 2021 ...
Page 2: ......
Page 4: ...ii ...
Page 8: ...SunFounder PiCar S 4 Chapter 1 About the PiCar S ...
Page 9: ...SunFounder PiCar S 1 1 3 Mechanical Fasteners 1 1 Components List 5 ...
Page 10: ...SunFounder PiCar S 1 1 4 Wires 6 Chapter 1 About the PiCar S ...
Page 11: ...SunFounder PiCar S 1 1 5 PCB 1 1 Components List 7 ...
Page 12: ...SunFounder PiCar S 1 1 6 Other Components 8 Chapter 1 About the PiCar S ...
Page 22: ...SunFounder PiCar S 18 Chapter 1 About the PiCar S ...
Page 26: ...SunFounder PiCar S 22 Chapter 1 About the PiCar S ...
Page 27: ...SunFounder PiCar S 1 4 Circuits Building 1 4 1 Connect the Power 1 4 Circuits Building 23 ...
Page 28: ...SunFounder PiCar S 1 4 2 Connect the Modules 24 Chapter 1 About the PiCar S ...
Page 29: ...SunFounder PiCar S 1 4 3 Connect the Servo 1 4 Circuits Building 25 ...
Page 69: ...SunFounder PiCar S Subflow of Line Following Function 1 8 Arming the Car 65 ...
Page 74: ...SunFounder PiCar S 70 Chapter 1 About the PiCar S ...