Skip to content

Dalek bot = [python@raspberry pi] + [micropython@stm32f4] + [mecanum drive@3d printed chasis]

License

Notifications You must be signed in to change notification settings

gr4viton/gr4dalek

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gr4Dalek

Dalek bot - python @ raspberry pi, micropython @ stm32f4, mecanum drive robot

will try docker afterwards

wiringpi docker

preparations

rpi setup

Set these:

  • camera
  • serial
    • disable system serial console, but enable serial hw
$ rpi-config

prerequisities

sudo pip install pipenv

connection

2 x L293D - battery 6V

2 x L293d - 4 x pololu1162 - or the newer

STM32 - 2 x L293D

GPIO pins to control the direction and enable
GND

RPI - STM32

GPIO
UART
GND
ports
rpi_usb - stm_usb_micro

installation

git clone <this-repo-address>

cd py
pipenv install -r req/base.in

run

connect to rpi via ssh

dalek_me

rpi sw

get into pipenv venv

cd $dirdalek/pi
pipenv shell

in pipenv-venv

python main.py

stm fw

see the interactive console of micrpython running on stm from rpi and sync the filesystem

dalek_rshell_rsync

advised aliases

Add this to your ~/.bashrc and change the dirdalek accordingly.

alias src="source ~/.bashrc"
alias vrc="vim ~/.bashrc"
alias vimrc="vim ~/.vimrc"


# ###############################################
# include dalek bashrc if it exists
export dirdalek="/home/pi/DEV/gr4dalek/"
if [ -f $dirdalek/bashrc ]; then
    . $dirdalek/bashrc
fi

The useful aliases are defined in bashrc file.

About

Dalek bot = [python@raspberry pi] + [micropython@stm32f4] + [mecanum drive@3d printed chasis]

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published