Skip to content

All code to control a robot with a raspberry pi 3

Notifications You must be signed in to change notification settings

mcr5fh/RobotCode

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To run any python,

first engage the virtual environment

$ source capstone_env/bin/activate

you will notice (capstone_env) to the left of your prompt when activated

UPDATING/INSTALLING

TO INSTALL run pip install -r requirements.txt

After adding a package run pip freeze > requirements.txt

PI PIN OUT

refer to https://learn.sparkfun.com/tutorials/raspberry-gpio for board layout.
Using BCM (Broadcom Chip) Pin marking

MOTOR CONTROLER PIN OUT

https://www.pololu.com/product/1213

Run Code on PI

  1. cd Capstone
  2. git pull
  3. activate environment source capstone_env/bin/activate
  4. python src/<yourfile.py>

About

All code to control a robot with a raspberry pi 3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 54.9%
  • C 37.4%
  • Shell 7.7%