Difference between revisions of "Northwestern Design Competition"

From Mech
Jump to navigationJump to search
Line 27: Line 27:
***Control a DC motor hooked up to an optically isolated h-bridge, and control an optically isolated RC servo motor
***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
***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 [[Media:DC2011LineFOllowing.pdf|this pdf]]
**Detect a cake somewhere on the floor and drive to it


==Previous Years==
==Previous Years==

Revision as of 11:20, 7 March 2011

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

Previous Years

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


Sensors and actuators for DC

Prof. Peshkin's favorite datasheets