TMS Robotics

List of supplies:

 
Hardware:  
1. Raspberry Pi MCM Electronics  
2. Motor Controller eBay Amazon
3. Robot Chassis w/ motors eBay Amazon
4. Battery Pack eBay  
5. 18650 Battery (4) eBay  
6. Wifi Dongle (RTL8188cus) eBay  
7. SD Card (4GB) eBay  
8. Micro USB Cable (2) eBay  
9. USB Power Adapter/ Charger eBay  
10. Optional Camera eBay MCM Electronics
11. Optional OLED display (SPI) eBay
     
Software:  
12. DiskImager http://sourceforge.net/projects/win32diskimager/
13. SDFormatter https://www.sdcard.org/downloads/formatter_4/
14. Raspbian image http://www.raspberrypi.org/downloads/
       
       
Manual SETUP Or download the working image - raspirobot
Install Raspian image on an SD card
Install Access Point    
Optional OLED Display    
     
Change keyboard setting    
sudo nano /etc/default/keyboard
Edit "gb" to "us"
     
Install WebIOPi    

wget http://downloads.sourceforge.net/project/webiopi/WebIOPi-0.7.0.tar.gz

tar xvzf WebIOPi-0.7.0.tar.gz

cd WebIOPi-0.7.0

sudo ./setup.sh

sudo nano /etc/webiopi/config

cambot = /home/pi/cambot [insert below "#myscript"]

doc-root = /home/pi/cambot [insert below "#doc-root"]

[uncomment "welcome-file = index.html"]

sudo update-rc.d webiopi defaults

     
Install robot scripts    

mkdir cambot

cd cambot

wget http://trumanmiddle.com/archive/cambot/index.html

wget http://trumanmiddle.com/archive/cambot/cambot.py

wget http://trumanmiddle.com/archive/cambot/stream.sh

wget http://trumanmiddle.com/archive/cambot/stream_stop.sh

     
PIN Connections    
Motor Driver Board Raspberry GPIO
IN1 GPIO 23
IN2 GPIO 24
IN3 GPIO 22
IN4 GPIO 17
 
     
Usage    
Use web browser to load http://192.168.42.1:8000  
username: webiopi    
password: raspberry