Please note that User Registration has been temporarily disabled due to a recent increase in automated registrations. If anyone needs an account, please request one here: RequestAccount. Thanks for your patience!--Wmat (talk)
Please email User:Wmat if you experience any issues with the Request Account form.

Difference between revisions of "ECE597 Project Sumo Robot"

From eLinux.org
Jump to: navigation, search
m
m (Other I/O)
Line 30: Line 30:
 
** Two PWM pins used for speed control
 
** Two PWM pins used for speed control
 
** Two GPIO for direction selection
 
** Two GPIO for direction selection
** Use four [http://www.st.com/stonline/books/pdf/docs/1773.pdf L298] H-bridge motor drivers (one for each motor)
+
** Use four H-bridge motor drivers (one for each motor) - [http://www.st.com/stonline/books/pdf/docs/1773.pdf L298]
 
* Input button to start 5-second match countdown
 
* Input button to start 5-second match countdown
 
* LEDs
 
* LEDs

Revision as of 05:33, 26 April 2010

The goal of this project is to create a BeagleBoard-powered robot capable of competing in an autonomous sumo competition in the 3.0 kg weight class (an example). This would have minor hardware and electronics elements, but would focus on communication with sensors using the BeagleBoard and the Linux kernel. At minimum, this involves sensors to detect the edge of the ring and the opposing robot.

Sumo Competition Rules

The goal of a sumo competition is to force an opposing robot out of a circular ring without being either being pushed out or running out of the ring accidentally. In the 3kg weight class, the two opposing robots begin approximately 20 cm from each other in the middle of a 154 cm diameter black dohyo (raised cylinder) with white lines painted along its edge to designate the boundary. The robots may not use any methods other than simple motive force to force their opponent out of the ring and must operate completely autonomously. The robot that forces its opponent off of the dohyo wins the match.

Hardware Details

Sensors

  • IR rangefinders -- Sharp GP2D12
    • Analog voltage output fed to ADC.
    • Voltage output varies non-linearly with distance. See datasheet link above for details.
  • Sonic rangefinders (need a way to power-cycle these [1]) -- SRF08
    • Primary sensing: Distance in in cm/inches/μs up to 6 meters.
    • Secondary sensing: Light Amount [Not used in our application]
    • 5V required. 3mA standby, 11mA during ranging.
    • Communication via I2C bus.
  • Header for 3-axis accelerometer module - ADXL345
    • Auto-ranging from +-2/4/8/16 g in z,y,z
    • Vs = 2.0-3.3V and Vi/o 1.7V-Vs
    • Communication via I2C bus
  • Edge sensors (used to detect the white lines at the edge of the ring)
  • USB camera (eventually; low priority)
  • Contact sensors (Cherry roller leaf switches)

Other I/O

  • Motor control
    • Two PWM pins used for speed control
    • Two GPIO for direction selection
    • Use four H-bridge motor drivers (one for each motor) - L298
  • Input button to start 5-second match countdown
  • LEDs
    • "Ready" LED (blinks when counting down to match start)

Misc

  • Power conversion
    • Motors take 7.2 V, 4A at stall

Tasks

  • Build physical robot [On track]
    • Drivetrain [Mostly complete]
      • Water-cut plates [Done]
      • Cut corner fasteners [Mostly complete] (front and rear panel corners need work)
      • Assemble [Mostly complete]
    • Electronics box (to be done after electronics have been completed) [Not started]
  • Construct electronics [In Progress]
    • Acquire AA NiMH batteries (×12) [Done]
    • Acquire 6AA battery holders (×2) [Not started]
    • Acquire Sensors [Mostly complete]
      • SRF08 sonic rangefinders (×2) [Done]
      • GP2D12 IR rangefinders (×2) [Done]
      • ADXL345 3-axis accelerometer [Done]
      • Edge sensors [Not started]
    • Manufacture PCB [Not started]
      • Create PCB Schematic [Not started]
      • Layout PCB [Not started]
      • Mill board [Not started]
      • Acquire Misc board components [In progress]
      • Place Components [Not started]
      • Test Board [Not started]
  • Interface Beagle with external components
    • I2C (sonic rangefinders, accelerometer) [In progress]
    • PWM (motor control) [Completed]
    • ADC (IR rangefinders, edge sensors) [Completed]
    • GPIO (LED, buttons, motor control) [In progress - Waiting on MUX]
  • Write control software [Not started]
    • Low-level motor control [In progress]
    • Detect and prevent exit from arena [Not started]
    • Detect and ram competitor [Not started]
    • Recover from a competitor's attack [Not started]
  • Build or print sumo ring [Not started]

Team Members

Links