Assignment #7 (gravity n light)

(Derek Heath & Garret Verstegen) Arduino + Pachinko = This

In an attempt to use both gravity and light to create a simple playing field game, Garret and I decided to take a simple game format (Pachinko) and test our skills at building and programming by making a light sensitive Pachinko game. To play, the ball is dropped in the top of the board by [...]

Electronic Maze game (Navin Rizwi)

The player has to navigate the ball to the end of the maze, where it drops into a little hole and blocks the light from the LDR in place, which then signals the LED to turn off.
TOOLS/MATERIALS:
Band saw, drill press, wood, wire cutters, soldering iron, heat gun, glue, clamps, various measuring tools.
Arduino, breadboard, LED, LDR, [...]

Balance Maze.

int lightPin = 0;
int ledPin=7;
int counter = 100 ;
int timelimit = 10;
int bam = 12;
int val = 0;
void setup() {
Serial.begin(9600);
}
void loop() {
Serial.println(analogRead(lightPin));
analogWrite(ledPin, analogRead(lightPin)/4);
delay(10);
val = analogRead(lightPin);
if [...]

“Balance Ball” Gravity Game

 
1. Circuit Diagram (this will be replaced with an actual diagram soon)

2.) This game is a challenging race to the finish. The object is the game is use your hands to tilt the board such the ball bearing is guided safely to the finish. VERY IMPORTANT the ball may never fall into any of the [...]

racetrack ball game by MAX AND MONICA

our game- the racetrack ball game- uses centripetal motion to put the metal ball in play and have it hit the photoresistors. the player must spin the handheld board with embedded bowl to work up enough motion to trigger the light sensors so they light up an led. but the player bewarned- if an led [...]

Luke Campbell & Andy Ngo - “Two buttons, one ball”

Achtung acthtung:
We made a toy, not a game.
In “Two buttons, one ball,” a single player will be able to test his/her button pushing reflexes. The player puts the ball on the downward ramp. At one small point, the ball will roll over the bull’s eye. It is only here that the player can press the [...]

BULLSEYE! by Cris & Brian

Shoot a laser into the photo resister and make the ball spin out of the cup.

int ledPin = 9;
int val;
int THRESHOLD = 30;
int PHOTO = 0;
void setup () {
Serial.begin(9600);
pinMode(ledPin, OUTPUT);
}
void loop() {
val = analogRead(PHOTO);
Serial.println(val);
if (val < THRESHOLD) {
digitalWrite(ledPin, LOW);
}
else {
digitalWrite(ledPin, HIGH);
}
}

BULLSEYE! by Cris & Brian

Shoot a laser into the photo resister and make the ball spin out of the cup.
int ledPin = 9;
int val;
int THRESHOLD = 30;
int PHOTO = 0;
void setup () {
Serial.begin(9600);
pinMode(ledPin, OUTPUT);
}
void loop() {
val = analogRead(PHOTO);
Serial.println(val);
if (val < THRESHOLD) {
digitalWrite(ledPin, LOW);
}
else {
digitalWrite(ledPin, HIGH);
}
}