In the major version of the Pytobot is an image included. The image comes loaded with the last features of the software.
The default features are:
Startup with hotspot
SSID and PASSWD printed on OLED
Basic tutorial to setup The API's
Driving the car
When you would like to start from scratch. And go the whole procedure by yourself. This chapter will guide you through it.
The following script includes all of the libraries that are needed in the software. When you like to run the whole script in one time, use following commands:
Copy paset "script" into the terminal and exit by using Ctrl-x and confirm.
script#pip3 install --upgrade pip#Enable I2C#Enable SPIsudo apt updatesudo apt upgrade#install gitsudo apt install git#install I2C toolssudo apt install i2c-tools#install pipsudo apt install python3-pip#install led driverssudo pip3 install adafruit-circuitpython-neopixel#install motor driverssudo pip3 install gpiozero#install flasksudo pip3 install flask#install camereasudo pip3 install picamera#install OLEDsudo pip3 install adafruit-circuitpython-ssd1306sudo apt install python3-pil#install MCP3008sudo pip3 install adafruit-circuitpython-mcp3xxx#install dnsmasqsudo apt install dnsmasq hostapd#install sambasudo apt install samba samba-common-bin#delte scriptsudo rm script
git clone https://github.com/pytobot/pytobot.git
The following code will give the script the right permissions to execute and runs the code.
chmod +x scripttime yes | sudo ./scriptgit clone https://github.com/pytobot/pytobot.git
Go to 5. [interfacing options] and enable: