Category Archives: Excercise 3

Rube Goldberg arduino project

Project: The concept behind this project was to create a highly redundant chain of events to ultimately lead to some simple actions. In our project, we used the input from the flex sensor to control the brightness of several LEDs, which fed into the light variable resistor, which fed into the servo controls. flex sensor [...]

Exercise 3 – Two note keyboard with pitch modulation

Author: Matthew Conlen This project uses an arduino board with two push buttons, a flex sensor and a speaker. The two buttons act as input like notes on a keyboard. The flex sensor allows the user to “bend” the notes. The tone library used can be found here: #include Tone tone1, tone2; int buttonState [...]

Exercise 3

Andy Kish, Ben English, Alyssa Ackerman Using a flex sensor, we manipulated the pitch of the sound we played as well as changed the colors of our RGB LED. int potpin = 0;  // analog pin used to connect the potentiometer int speakerPin = 9; int redPin = 10; int bluePin = 12; int high [...]

Exercise 3 – MixBox

Exercise 3 – MixBox EECS 498 – 007 F10 September 30th, 2010 – Dylan Box – Nicholas Peters – Joshua Winters 1) Description A) Push button changes selected color (red, green, or blue) B) Potentiometer changes the color (changes the brightness of the selected color) C) Flex sensor changes the brightness for each color (decreases [...]

Exercise 3 – ArdGuitar

For exercise 3, our group (Joe Mitchell, Landon Smith, Nick Beier, Sam Schulak) used the Arduino board to create a musical instrument.  We used two inputs in the form of a flex sensor and a touch sensor (soft potentiometer), and sent output through the small speaker.  The flex sensor is user to trigger the sound, [...]

Exercise 3 Code

/* Michael Gisi Andrew Hainen Nikhil Mangla Lauren Korany Syed Karim */ void setup() { // initialize the digital pin as an output. // Pin 13 has an LED connected on most Arduino boards: pinMode(13, OUTPUT); pinMode(12, OUTPUT); Serial.begin(9600); } int delay_light = 0; bool isHigh=false; void loop() { int light = analogRead(3); light = [...]

Exercise 3 – Flexi-Sound

Our Arduino project mapped the changing in the flex resistor to sound.  As resistance varied, the speaker would output a different musical note.  This functionality allowed us to create impromptu, primitive “music”.  The code is provided below. //Cassandra Yaple, Josh Wehrly, Stephanie Boxold, Steve Wishnousky #include <Servo.h> int potpin = 0; //analog pin used to [...]