Project 4 (S.P.E.E.D.)

From UCLA IEEE OPS
Jump to: navigation, search

Due Date

January 24, 2017

About the Project

In this project, you will be making a two player game. Your game will randomly generate a number within a specific range, which the players are unaware of. The goal as the players will be to press their buttons up to that number without going over before the other player can. This project only needs to be breadboarded, no soldering. Yay!

Slides: https://docs.google.com/presentation/d/163eSGN1LUrJdgZ6GC8cvGm6yQ5uicV67kUdq8tBxCIE/edit#slide=id.g18a3c915ae_0_185

Arduino Nano

Download the IDE here: https://www.arduino.cc/en/main/software

You will need to refer to this quite a bit!

Breadboarding S.P.E.E.D.

For this project, you will need to pick up:

  • 1 RGB LED
  • 2 Regular LEDs
  • 1 Arduino Nano
  • 2 Pushbuttons
  • 2 Resistors 10k Ohm
  • 4 Resistors 82 Ohm
  • 1 Resistor 130 Ohm
  • 1 or 2 breadboards

Using two breadboards is highly recommended as one breadboard might be too small to accommodate all the parts.

You should already have some of these parts in your kit. If you are missing some parts, grab them from the OPS Parts Drawer on top of the grey OPS Kit Drawer.

Remember for the pushbuttons to connect them diagonally (as we've explained multiple times) so that you don't short them even before pressing down any buttons.

SPEED Schematic

Key Things to Note and Pay Attention To

  • When starting with the Arduino, try something really simple like turning on an LED.
  • If your computer is having trouble recognizing the Arduino Nano, ask on Piazza! Someone probably has/had the same problem!
  • Clean your workspace when you are finished! It should be cleaner than as you found it.
  • Oh yea, remember to clean your area!!!