A Raspberry Pi 3 robot is a small programmable robot powered by a Raspberry Pi 3 Model B, used as its main brain.
This document describes the GPIO pin assignments for the KIDA robot. Uses the V2 robot Hat from the Freenove Tank Robot: https://github.com/Freenove/Freenove_Tank_Robot_Kit_for_Raspberry_Pi
| Signal | GPIO Pin |
|---|---|
| TRIGGER_PIN | 27 |
| ECHO_PIN | 22 |
| Sensor | GPIO Pin |
|---|---|
| IR01 | 16 |
| IR02 | 26 |
| IR03 | 21 |
Left Motor:
| Signal | GPIO Pin |
|---|---|
| IN1 | 24 |
| IN2 | 23 |
Right Motor:
| Signal | GPIO Pin |
|---|---|
| IN1 | 5 |
| IN2 | 6 |
Note: These pins correspond to the constructor defaults:
python3 -m venv venv
source venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt
python run.py
🌐 Access your site at: http://192.168.4.1:5000
sudo apt update
sudo apt install hostapd dnsmasq -y
sudo systemctl stop hostapd
sudo systemctl stop dnsmasq
sudo nano /etc/dhcpcd.conf
sudo nano /etc/hostapd/hostapd.conf
interface=wlan0
driver=nl80211
ssid=KIDAv00
hw_mode=g
channel=7
wmm_enabled=0
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_passphrase=12345678
wpa_key_mgmt=WPA-PSK
rsn_pairwise=CCMP
sudo nano /etc/default/hostapd
#DAEMON_CONF=””
DAEMON_CONF="/etc/hostapd/hostapd.conf"
sudo mv /etc/dnsmasq.conf /etc/dnsmasq.conf.bak
sudo nano /etc/dnsmasq.conf
interface=wlan0
dhcp-range=192.168.4.2,192.168.4.50,255.255.255.0,24h
sudo systemctl unmask hostapd
sudo systemctl enable hostapd
sudo systemctl enable dnsmasq
Package Version
---------------------------- ---------
apt-listchanges 4.8
arrow 1.3.0
asgiref 3.8.1
astroid 3.3.8
asttokens 3.0.0
attrs 25.3.0
autocommand 2.2.2
av 14.2.0
babel 2.17.0
bcrypt 4.2.0
beautifulsoup4 4.13.4
blinker 1.9.0
certifi 2025.1.31
chardet 5.2.0
charset-normalizer 3.4.2
click 8.1.8
cloud-init 25.2
colorzero 2.0
configobj 5.0.9
cryptography 43.0.0
cssselect 1.3.0
cupshelpers 1.0
dbus-python 1.4.0
dill 0.4.0
distro 1.9.0
docutils 0.21.2
Flask 3.1.1
fqdn 1.5.1
freetype-py 2.5.1
gpiod 2.2.0
gpiozero 2.0.1
html5lib-modern 1.2
idna 3.10
inflect 7.3.1
isoduration 20.11.0
isort 6.0.1
itsdangerous 2.2.0
jaraco.context 6.0.1
jaraco.functools 4.1.0
jaraco.text 4.0.0
jedi 0.19.1
Jinja2 3.1.6
jsonpatch 1.32
jsonpointer 2.4
jsonschema 4.19.2
jsonschema-specifications 2023.12.1
lgpio 0.2.2.0
libarchive-c 5.1
libevdev 0.11
linkify-it-py 2.0.3
logilab-common 2.1.0
lxml 5.4.0
markdown-it-py 3.0.0
MarkupSafe 2.1.5
mccabe 0.7.0
mdurl 0.1.2
meson 1.7.0
more-itertools 10.7.0
mypy 1.15.0
mypy-extensions 1.0.0
numpy 2.2.4
oauthlib 3.2.2
olefile 0.47
opencv 4.10.0
OpenEXR 1.3.10
orjson 3.10.7
packaging 25.0
parso 0.8.4
pexpect 4.9.0
pgzero 1.2.1
picamera2 0.3.34
pidng 4.0.9
piexif 1.1.3
pigpio 1.78
pillow 11.1.0
pip 25.1.1
platformdirs 4.3.7
psutil 5.9.8
ptyprocess 0.7.0
pyasyncore 1.0.2
pycairo 1.27.0
pycryptodomex 3.20.0
pycups 2.0.4
pygame 2.6.1
Pygments 2.18.0
PyGObject 3.50.0
pyinotify 0.9.6
PyJWT 2.10.1
pylint 3.3.4
PyOpenGL 3.1.9
pyOpenSSL 25.0.0
PyQt5 5.15.11
PyQt5_sip 12.17.0
pyserial 3.5
pysmbc 1.0.25.1
python-apt 3.0.0
python-dateutil 2.9.0
python-dotenv 1.0.1
python-prctl 1.8.1
pyudev 0.24.3
PyYAML 6.0.2
qrcode 8.2
referencing 0.36.2
reportlab 4.3.1
requests 2.32.3
requests-oauthlib 1.3.1
responses 0.25.7
rfc3339-validator 0.1.4
rfc3986-validator 0.1.1
rfc3987 1.3.8
rich 13.9.4
rlPyCairo 0.3.0
roman 5.0
rpds-py 0.21.0
RPi.GPIO 0.7.1a4
rpi-keyboard-config 1.0
rpi_ws281x 4.3.4
RTIMULib 7.2.1
Send2Trash 1.8.3
sense-hat 2.6.0
setuptools 78.1.1
simplejpeg 1.8.1
smbus 1.1
smbus2 0.4.3
soupsieve 2.7
spidev 3.6
ssh-import-id 5.10
thonny 4.1.7
tomlkit 0.13.2
tqdm 4.67.1
twython 3.8.2
typeguard 4.4.2
types-aiofiles 24.1
types-antlr4-python3-runtime 4.13
types-assertpy 1.1
types-atheris 2.3
types-aws-xray-sdk 2.14
types-beautifulsoup4 4.12
types-bleach 6.2
types-boltons 24.1
types-braintree 4.31
types-cachetools 5.5
types-caldav 1.3
types-capturer 3.0
types-cffi 1.16
types-chevron 0.14
types-click-default-group 1.2
types-click-spinner 0.1
types-colorama 0.4
types-commonmark 0.9
types-console-menu 0.8
types-corus 0.10
types-croniter 5.0.1
types-dateparser 1.2
types-decorator 5.1
types-defusedxml 0.7
types-Deprecated 1.2.15
types-docker 7.1
types-dockerfile-parse 2.0
types-docutils 0.21
types-editdistance 0.8
types-entrypoints 0.4
types-ExifRead 3.0
types-fanstatic 1.4
types-first 2.0
types-flake8 7.1
types-flake8-bugbear 24.12.12
types-flake8-builtins 2.5
types-flake8-docstrings 1.7
types-flake8-rst-docstrings 0.3
types-flake8-simplify 0.21
types-flake8-typing-imports 1.16
types-Flask-Cors 5.0
types-Flask-Migrate 4.0
types-Flask-SocketIO 5.4
types-fpdf2 2.8.2
types-gdb 15.0
types-gevent 24.11
types-google-cloud-ndb 2.3
types-greenlet 3.1
types-hdbcli 2.23
types-html5lib 1.1
types-httplib2 0.22
types-humanfriendly 10.0
types-hvac 2.3
types-ibm-db 3.2.4
types-icalendar 6.1
types-influxdb-client 1.45
types-inifile 0.4
types-JACK-Client 0.5
types-Jetson.GPIO 2.1
types-jmespath 1.0
types-jsonschema 4.23
types-jwcrypto 1.5
types-keyboard 0.13
types-ldap3 2.9
types-libsass 0.23
types-lupa 2.2
types-lzstring 1.0
types-m3u8 6.0
types-Markdown 3.7
types-mock 5.1
types-mypy-extensions 1.0
types-mysqlclient 2.2
types-nanoid 2.0.0
types-netaddr 1.3
types-netifaces 0.11
types-networkx 3.4.2
types-oauthlib 3.2
types-objgraph 3.6
types-olefile 0.47
types-openpyxl 3.1.5
types-opentracing 2.4
types-paramiko 3.5
types-parsimonious 0.10
types-passlib 1.7
types-passpy 1.0
types-peewee 3.17.8
types-pep8-naming 0.14
types-pexpect 4.9
types-pika-ts 1.3
types-polib 1.2
types-portpicker 1.6
types-protobuf 5.29.1
types-psutil 6.1
types-psycopg2 2.9.10
types-pyasn1 0.6
types-pyaudio 0.2
types-PyAutoGUI 0.9
types-pycocotools 2.0
types-pycurl 7.45.4
types-pyfarmhash 0.4
types-pyflakes 3.2
types-pygit2 1.15
types-Pygments 2.18
types-pyinstaller 6.11
types-pyjks 20.0
types-PyMySQL 1.1
types-pynput 1.7.7
types-pyOpenSSL 24.1
types-pyRFC3339 2.0.1
types-PyScreeze 1.0.1
types-pyserial 3.5
types-pysftp 0.2
types-pytest-lazy-fixture 0.6
types-python-crontab 3.2
types-python-datemath 3.0.1
types-python-dateutil 2.9
types-python-http-client 3.3.7
types-python-jenkins 1.8
types-python-jose 3.3
types-python-nmap 0.7
types-python-xlib 0.33
types-pytz 2024.2
types-pywin32 308
types-pyxdg 0.28
types-PyYAML 6.0
types-qrbill 1.1
types-qrcode 8.0
types-regex 2024.11.6
types-reportlab 4.2.5
types-requests 2.32
types-requests-oauthlib 2.0
types-retry 0.9
types-RPi.GPIO 0.7
types-s2clientprotocol 5
types-seaborn 0.13.2
types-Send2Trash 1.8
types-setuptools 75.6
types-shapely 2.0
types-simplejson 3.19
types-singledispatch 4.1
types-six 1.17
types-slumber 0.7
types-str2bool 1.1
types-tabulate 0.9
types-tensorflow 2.18.0
types-TgCrypto 1.2
types-toml 0.10
types-toposort 1.10
types-tqdm 4.67
types-translationstring 1.4
types-tree-sitter-languages 1.10
types-ttkthemes 3.2
types-ujson 5.10
types-unidiff 0.7
types-untangle 1.2
types-usersettings 1.1
types-uWSGI 2.0
types-vobject 0.9.9
types-waitress 3.0.1
types-WebOb 1.8
types-whatthepatch 1.0
types-workalendar 17.0
types-WTForms 3.2.1
types-wurlitzer 3.1
types-xdgenvpy 3.0
types-xmltodict 0.14
types-zstd 1.5
types-zxcvbn 4.4
typing_extensions 4.13.2
uc-micro-py 1.0.3
uritemplate 4.1.1
urllib3 2.3.0
videodev2 0.0.4
webcolors 1.13
webencodings 0.5.1
Werkzeug 3.1.3
wheel 0.46.1
zipp 3.21.0