Difference between revisions of "Northwestern Design Competition"

From Mech
Jump to navigationJump to search
Line 1: Line 1:
==DC2013==
* Arena layout
* Prey robot
** Schematic
** Sample Code

* Workshop 1 - Prey robot deconstruction
** Tue, 1/15/2013, 6pm, Ford B100

* Milestone 1 - Prey robot -> Demobot
** Due by Wed, 1/23/2013
** Show off your Demobot, made from a deconstructed Prey robot

* Workshop 2 - Programming the Demobot
** Begin Wed, 1/23/2013
** How to program the Demobot
** Sample code

* Milestone 2 - Driving the Demobot
** Due by Wed, 1/30/2013
** Program the Demobot to drive forward, turn 180 degrees, and return to the same spot

* Workshop 3 - Bug algorithms
** Begin Wed, 1/30/2013
** How to follow a wall

* Milestone 3 - Wall following
** Due by Wed, 2/6/2013
** Program the Demobot to follow a wall

* Workshop 4 - RC servo and Laser detection
** Begin Wed, 2/6/2013
** What is an RC servo
** How to use a laser to detect retroreflective tape
** How to buffer and analyse data

* Milestone 4 - Target hunting
** Due by Wed, 2/13/2013
** Mount the laser on the servo
** Sweep the laser, find the target, and drive towards it

* Workshop 5 - Using the laser cutter
** Begin Wed, 2/13/2013
** How to design parts that can be made on the laser cutter

* Milestone 5 - Laser cutter training
** By Wed, 2/20/2013
** Sign up for laser cutter training, get trained

* Workshop 6 - Using the Makerbot Replicator 2
** Begin Wed, 2/20/2013
** How to design parts that can be made on the Makerbot

* Milestone 6 - Makerbot training
** Due by Wed, 2/27/2013
** Sign up for Makerbot training, get trained

* Workshop 7 - Robot sensors and actuators
** Begin Wed, 2/27/2013
** Pick up your NU32, drive motors, battery, battery charger, sensors
** What kind of sensors are out there? Where to look for them?

* Milestone 7 - NU32 Demonstration
** Due by Wed, 3/6/2013
** Program your NU32 to turn on your motors with an h-bridge
** Read distance with the ultrasonic sensor




==DC2012==
==DC2012==
Scale arena:
Scale arena:

Revision as of 20:20, 9 January 2013

DC2013

  • Arena layout
  • Prey robot
    • Schematic
    • Sample Code
  • Workshop 1 - Prey robot deconstruction
    • Tue, 1/15/2013, 6pm, Ford B100
  • Milestone 1 - Prey robot -> Demobot
    • Due by Wed, 1/23/2013
    • Show off your Demobot, made from a deconstructed Prey robot
  • Workshop 2 - Programming the Demobot
    • Begin Wed, 1/23/2013
    • How to program the Demobot
    • Sample code
  • Milestone 2 - Driving the Demobot
    • Due by Wed, 1/30/2013
    • Program the Demobot to drive forward, turn 180 degrees, and return to the same spot
  • Workshop 3 - Bug algorithms
    • Begin Wed, 1/30/2013
    • How to follow a wall
  • Milestone 3 - Wall following
    • Due by Wed, 2/6/2013
    • Program the Demobot to follow a wall
  • Workshop 4 - RC servo and Laser detection
    • Begin Wed, 2/6/2013
    • What is an RC servo
    • How to use a laser to detect retroreflective tape
    • How to buffer and analyse data
  • Milestone 4 - Target hunting
    • Due by Wed, 2/13/2013
    • Mount the laser on the servo
    • Sweep the laser, find the target, and drive towards it
  • Workshop 5 - Using the laser cutter
    • Begin Wed, 2/13/2013
    • How to design parts that can be made on the laser cutter
  • Milestone 5 - Laser cutter training
    • By Wed, 2/20/2013
    • Sign up for laser cutter training, get trained
  • Workshop 6 - Using the Makerbot Replicator 2
    • Begin Wed, 2/20/2013
    • How to design parts that can be made on the Makerbot
  • Milestone 6 - Makerbot training
    • Due by Wed, 2/27/2013
    • Sign up for Makerbot training, get trained
  • Workshop 7 - Robot sensors and actuators
    • Begin Wed, 2/27/2013
    • Pick up your NU32, drive motors, battery, battery charger, sensors
    • What kind of sensors are out there? Where to look for them?
  • Milestone 7 - NU32 Demonstration
    • Due by Wed, 3/6/2013
    • Program your NU32 to turn on your motors with an h-bridge
    • Read distance with the ultrasonic sensor



DC2012

Scale arena:

Dimensions of the arena for 2012

Equipment

  • NU32, USB cable, 6V power supply
  • 2 drive motors, 2 motor mounts, 2 wheels
  • large and small RC servos
  • red and IR lasers
  • 12"x24"x0.118" clear acrylic sheets
  • AA batteries and packs

PCB

The PCB breakout for DC2012

Schematic of PCB for 2012

Use the straight cut sheet metal cutter to slice up the PCB
Like this
So that you separate all the boards
Use female header pins to attach the NU32. The headers come is sets of 20 pins, so you will have to cut one up.
Attach lasers with hot glue
Note the orientation of the LED an phototransistor, they are polarized!

Workshop 1, Wednesday 1/18 5:30-7pm Tech L221, makeup Thursday 1/19 9-11am Mechatronics Lab

  • How to program in MPLABX
  • How to use the bootloader to put code on the NU32
  • Digital output I/O (read a button and flash an LED)
  • Analog input
  • PWM output
  • Sample code: Sample code for Workshop 1

Milestone 1, due by 1/27

  • If a pushbutton is pressed, read the value of a potentiometer and change the brightness of an LED to the corresponding value with PWM

Workshop 2, Thursday 2/9 6-7pm Tech L221, makeup Friday 2/10 9-11am Mechatronics Lab

  • Optical isolation for motors and RC servos
  • Powering a motor with an h-bridge
  • Writing to the 16x2 character LCD
  • Laser detection of retroreflective tape / Optical line detection
  • 2 1/2D design

Milestone 2, Due week of Feb 27

  • Optically isolate a motor
  • Read a potentiometer and write its voltage to the LCD
  • Control the motor velocity based on the potentiometer reading
  • Control an RC servo
  • Detect a 3/4" wide black line on white paper with a phototransistor and LED

Laser cutting Workshop, Week of Apr 2

  • Laser cutting
  • 2.5D design
  • Making a chassis, mounting motors and sensors

Chassis Milestone, Due Apr 13

  • Demonstrate a robot chassis that can drive around the arena, bonus points for following a line, detecting and moving towards the moving goals, and detecting and moving towards a crate

Midterm Milestone, Due Apr 30 / May 1 / May 2

  • Demonstrate some strategy - from the starting position, go get a crate and bring to back towards the goal

Pre-competition Milestone, Due May 9

  • Demonstrate some advanced strategy - score several points

Competition May 19!

DC2011

Milestone 1

  • On a button press, read the value of a potentiometer and change the brightness of an LED accordingly using PWM. Note: Do not use an h-bridge or motor as previously assigned.
  • Due before Workshop 2 on Wed, 2/9.
  • Sample code from Workshop 1

Milestone 2

  • Due before Workshop 3 on Wed, 2/23.
  • Goals:
    • Use code from NU32v2: Nokia 5110 LCD and NU32v2: Analog Input to read a potentiometer and print the voltage to the Nokia 5110
    • Optically isolate a motor and control its velocity based on the potentiometer reading
    • Do 1 of the following:
      • Mount a phototransistor to a laser and detect a cake OR
      • Detect a line of electrical tape on white paper with an optoreflector
  • Datasheets
  • Notes
    • DC2011_WS2_OpticalIsolation.pdf - How to optically isolate an h-bridge and servo motor using the A847 and 74HC04
    • DC2011_WS2_OpticalSensors.pdf - How to use the SFH310 to detect a cake and use the OPB740 or QRE1113 for line following
    • DC2011_WS2_Code.zip - Example code for the NU32v2 that will:
      • Control a DC motor hooked up to an optically isolated h-bridge, and control an optically isolated RC servo motor
      • Respond to serial commands to control the motors, write to the Nokia 5110, and read two analog signals

Milestone 4

  • Due before Wed, 3/16
  • Finish laser training, at least one person per team
  • Construct a prototype chassis for your robot
  • Do one of the following:
    • Follow part of the line on the 36" x 96" printout of this pdf
    • Detect a cake somewhere on the floor and drive to it

Breakout Boards

  • Image of the breakout boards
  • Circuit schematic of the breakout boards
  • This board contains:
    • A spot to plug in the NU32v2 with some prototyping area
    • The optical isolation circuit with some prototyping area, the same size as the NU32v2 breakout board so it can be stacked on top
    • 8 SFH310 with LED breakout boards
    • 4 SFH310 with laser diode breakout boards
    • 1 LIS352AX accelerometer breakout board
    • 1 LSM303DHL tilt-compensated compass breakout board
    • 1 LPY550AL gyroscope breakout board
    • 1 LS7366R encoder decoder breakout board
    • 1 TCS3103 color sensor breakout board
  • How to use the boards:
    • Solder female header pins to the NU32v2 Breakout Board so that you can plug in and remove your NU32v2
    • Solder sockets to the Optically Isolated Motor Board so you can remove burnt out chips
    • The LED and Laser Phototransistor breakout boards will make it easier to attach wires to the sensors
    • You can stack the NU32v2 breakout board with the Optically Isolated board

Brochure for 2011

Previous Years

Wiki pages on sensors, actuators, programming, and microcontrollers: use pages below


Sensors and actuators for DC

Prof. Peshkin's favorite datasheets