Skip to content

About

a simple pi robot built with continous rotation servos

Resources

Stars

0 stars

Watchers

2 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Pi Robot

This code is for a simple pi robot built using continuous rotation servos conneceted directly to the pi without the use of motoro controllers.

Setup

First you will need to install servoblaster:

git clone https://github.com/richardghirst/PiBits.git
cd PiBits/ServoBlaster/user/
make
sudo make install

The clone this repository:

git clone https://github.com/ipswichmakerspace/simplePiBot.git
cd simplePiBot

Run the setup.sh script to setup the servoblaster pins:

./setup.sh

Install readchar:

pip install readchar

Wire up your servos as in this diagram:

alt text

Running

The run the program:

python robot.py

The following keys will be used:

key action
W go forwards
X go backwards
A spin left
D spin right
Space Stop
O exit program

About

a simple pi robot built with continous rotation servos

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages