Gretchen, Elena, Emma, Colvin, and Sam's Final POE project
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
drum_testNewDrum
drum_test_v1
drum_test_v10_sense
drum_test_v10_thinkAct
drum_test_v11_thinkAct
drum_test_v2
drum_test_v3
drum_test_v4
drum_test_v5
drum_test_v6_sense
drum_test_v6_thinkAct
drum_test_v7_thinkAct
drum_test_v8_thinkAct
drum_test_v9_sense
drum_test_v9_thinkAct
pwm_control
schematics
testFreq
testMotor
README.md
RunInstruction.txt
drum_test_v4.ino

README.md

OffBeat by GEECS

Gretchen, Elena, Emma, Colvin, and Sam's Final POE project

Version 1

This is the first version of the code written. This version was used to make sure we could turn our motors on for a certain amount of tie and then release them for a certain amount of time. With a rubber badn, this allowed us to beat a constant beat. This code works with the first version of the mechanical system.

Version 2

This version includes user input. The beat is still a constant, set beat. However, using user input the rhythm played changes between 7 different rhythms. This code works with the first version of the mechanical system.

Version 3

This version has the first beat detection. When the user tells it to, it will listen and detect the beat. With this beat it will play a set rhythm. This code works with the first version of the mechanical system.

Version 4

This version is the same as version 3, except it has a logic statement to determine the rhythm it plays. It determines the bpm and based on that it selects a rhythm to play. This code works with the first version of the mechanical system.

Version 5

This version is the same as version 4 except it is used with the geared mechanical system. This code works with the second version of the mechanical system.

Version 6: Sense and Think/Act

This version is the first to use two Arduinos. This should allow us to listen to a beat while playing. The "Sense" Arduino does the listening and determines the period. The "Think/Act" Arduino determines the bpm from the period it is sent from the "Sense" Arduino and tells the drummer to play. This code works with the first version of the mechanical system.

Version 7: Think/Act

This version has updated Think code so that it can drive the encoder motor This code works with the third version of the mechanical system. THIS DOES NOT WORK YET

Version 8: Think/Act

This version has updated Think code so that it can drive the new motor without encoder This code works with the third version of the mechanical system.

Version 9: Think/Act

This version has updated Think code with the POT for the foot and starts to investigate manual calibration. The Sense code starts to investigate analogIn() instead of pulseIn(). This code works with the third version of the mechanical system.

Running Instruction

To run any sense code, type f into serial, this will find the beat.