slowrunner / RWPi

RugWarriorPro Robot re-envisioned on Raspberry Pi in Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RWPi

RugWarriorPro Robot re-envisioned on Raspberry Pi in python

The Rug Warrior Pro robot was an outgrowth of an MIT (Massachusetts Institute of Technology) robotics design course. It came as brains, brawn (mechanical items), or brains and brawn together.

The kit was easy to build in a weekend and provided a powerful platform for learning and playing with robotics and artificial reasoning.

Credit Joseph Jones, Alice and Klaus Peters, Fred Martin, Randy Sargent, Anita Flynn, and Bruce Seiger with bringing this compact, powerful, well designed, and well documented robot and kit to life.

The kit is no longer sold, and the once amazing 2 MHz 68HC11 processor with 32K of RAM is relegated to history as well.

I built my RWP in 1998 and decided in 2015 to replace the "brains" with a Raspberry Pi.

Turning a single board computer into a robot requires some interface circuitry - motor drivers, analog-to-digital conversion, and current limited digital I/O expansion with interrupt capture.

The original Rug Warrior provided sensors, ADC, Digital I/O, motor drivers, battery backed up memory, and much more in a very compact package.

I chose the micronauts.com Pi Droid Alpha card as the best card to mate with the Raspberry Pi over the original Rug Warrior Brawns, to become my new "Rug Warrior Pi".

The RWP had all of MIT and smart PHDs designing and writing example software. My bot only has me.

The bot consists of:

  • 7" round, fully skirted platform
  • Two driven wheels with encoders
  • 6 directions of skirt bump detection
  • twin servo tilt-pan sensor platform
    • UltraSonic Distance sensor 2cm-4m (HC-SR04)
    • Infrared Distance sensor 10-150cm (GP2Y0A6)
    • PiCam
  • Voltage divider into 12bit ADC provides battery voltage sense
  • Current sensor (ACS712)
  • Single point on/off switch (Pololu SV)
  • 5000mAH 7.2v LiMH rechargable power with 4.8v unregulated tap for servo
  • Pololu 5v Step-Up/Sep-Down Voltage Regulator (S18V20F5)
  • USB Microphone
  • Small separately powered audio amp and speaker
  • RaspberryPi 3 1.2GHz quad-core single board computer with 1GB RAM, 802.11n WiFi, Bluetooth 4.0
  • (RPi has CPU temperature sensor, power-glitch sensor, clock throttled status)
  • Pi Droid Alpha interface card (MCP23S17 i/o, MCP3208 ADC) - replaced 10bit MCP3008 chip with 12-bit MCP3208

The bot will sit safely contemplating its navel for 10 hours.

This repository contains my musings in Python to create various robot behaviors.

 RugWarriorPro with Raspberry Pi Brain Transplant

About

RugWarriorPro Robot re-envisioned on Raspberry Pi in Python

License:GNU General Public License v3.0


Languages

Language:Python 98.5%Language:Shell 1.2%Language:HTML 0.2%Language:CSS 0.1%