10/1/19

Our goal for the project was to build an arduino with an accelerometer in it that could detect changes in acceleration and by doing that could detect different arm movements and tell whether you slapped, puched, etc… 

Our plan for learning was to look for different resources that taught us how to set up the arduino, the accelerometer and a lot of resources that taught us C because we were learning a new language and C is the language that you use to code arduino. We used a lot of web pages including the arduino website (https://www.arduino.cc), youtube, overstock and W3 School.

The steps that we took to make our “PunchBot” were connecting the arduino mega to the accelerometer and connecting those two things to our computer. We sort of tried two versions, one was the arduino with the accelerometer and the other one was the arduino with an ultrasonic motion detector but we ended up scrapping the latter because it wouldn’t have worked for what we were trying to build. Our code included the variables that the accelerometer required and the gyro variables. We had acceleration x,y, and z and we had gyro x,y, and z. We also had some code that contained a loop that continuously measure all those variables and the ultimate goal was to have something that detected the changes in acceleration and using that detected what movement you had made. An ideal final version of the project would be that it makes a punching or slapping noise when you do those movements.