raspberry pi

this project using raspberry pi for robot control.

env setup

first do a system upgrade

sudo apt update && sudo apt upgrade

then install necessary packages

sudo apt install git python3-full raspi-config python3-rpi.gpio

next give your the permissions and setup the system to use I2C

sudo raspi-config #set up the I2C
sudo usermod -aG dialout $USER

test i2c

sudo apt-get install i2c-tools
i2cdetect -y 1