User:Hkhatun6564/smart shoe

Write problem/project Goal
The goal for this project is to calculate the height of the jump accurately and efficiently. The plan is to modify a previous arduino sketch in order to get an accurate calculations. Also, make this detachable so that it can be used on different shoes.

My First Task
My first task is to research about the smart shoe. The research will consist of background knowledge about previous projects done with the similar ideas as well as calculations associated with the project. Not only that, it would be a great idea for me to get familiar with the arduino software even more. So I plan to research the software as well.

Summary of actual work over first weekend
My task went perfectly for the first week of the project. I did research in order to get a better understanding of the topic. Also, there was not a lot of information on the smart shoe from previous groups because no one has worked on this project. The research helped move one step closer because now I have background information of the smart shoe idea. Not only that, a circuit that connected the arduino and accelerometer was successfully constructed. Finally, I started to work with an arduino in the programming side.

Week1 Narrative
10/15/12: I helped create the team page. Also, I created my individual page. I found the format for the team page from another page, and then copied and pasted onto our team page. Same for the individual page. Next, I did some research on the smart shoe. I read an article that explained about the physics behind the smart shoe that Nike developed. It was explaining how physics was involved when calculating the hang time of a jump. The equation used to calculate the jump is h=gt^2/8. This equation can be seen in many physic classes. The g in the equation is gravity, which equals to -9.8 and t represents time. The article also explains you can easily alter the data. Since it uses hang time to calculate the height of the jump, it is easy to cheat and change the vertical height. From this article, I have learned that it is easy to manipulate the sensors in the shoe in order to get a higher reading about the vertical jump. I also found that in order to record the data for this project it will be a quadratic function. Since gravity is measured in squared, the graph is quadratic. And then I found an arduino sketch that was similar to the smart shoe project.

this article

10/17/12: It was time to work with the arduino. I found the sketch on the canvas site, however there was a problem opening the file. I fixed that problem by opening the sketch onto a word document and then copying that and pasting it onto the arduino sketch page. During the modification of the sketch, i found the equation that needed to be added to the sketch in order for the program to calculate the height. The problem with the sketch was that, the equation did not meet the correct format for the program. I suggested that we change the equation format in the sketch. Changing the equation allowed the program to work. After that I helped with connecting the arduino with the accelerometer creating a circuit. The circuit and the program both worked. This was the programming that was successful:

10/19/12: I began to work on the tutorials that was recommended by one of the team member. I completed the first tutorial. The tutorials\ helped me become familiar with some of the basic settings of the arduino. The tutorials are listed on our team page. I am slowly becoming familiar with the arduino, which will help run this project smoothly. I learned that when programming it is important to have a header. The header provides information for the codes later into the program. Also, the tutorial taught me that the setup function is used once in the beginning of the coding. The tutorial contained series of information.


 * Lesson 1

My Second Task
My second task is to help my team calibrate the circuit we currently have in order to get more accurate readings.

Summary of actual work over second weekend
The plan for this week was to calibrate to ensure that it was accurately measuring the height. Instead, I did more researches on wireless devices and other materials for the arduino. I also brainstormed ways to attach the arduino to the shoe. Basically this week, I did more research.

Week2 Narrative
10/22/12: After the group presentation, I looked on spark fun to find different materials that could be used during this project. I did some research on the arduino enclosure. Basically an arduino enclosure is a protective case that keeps the arduino safe inside. The reason for this device was to make sure that the arduino is not damaged when someone jumps. I found the device on spark fun and the price of the object was fairly reasonable. Next, I looked at other devices that could come of an assistance to us. I looked at the various types of devices that is able to give out wireless signals. I found few devices that gave out wireless signals; however, it was not capable with the arduino we were using. The device was called Bluetooth Mate Gold and in the description of spark funs, it states that the device is only capable with arduino pros and lily pad arduinos. So, I did more research on wireless transmitters. Finally, I did looked at arduino nanos because it would be easier to use and attach to shoes. I tried looking for it on spark funs but they did not have the ardunio nano. Then, I decided to go to the official arduino website. I was able to find the arduino nano, but when I went to check the price it was not found. I believe that it maybe discontinued. Therefore, the choice to use an arduino nano has changed.

This is the arudino enclosure: https://www.sparkfun.com/products/10088

10/24/12: I continued to do research, trying to find devices that we are definite that we will be using during the project. Next, I helped test the prototype. I attached the assembled arudino to my shoe with duct tape to ensure that it stays on the shoe. I jumped in order for the arduino to measure the height of the vertical jump. After few tries, the device began to measure close to the actual height. After that, it was time to brainstorm ways to attach the arduino to the shoe. I looked at different websites that had similar ideas to the smart shoe to make a criteria for our smart shoe. I found a picture and article that explains how Nike managed to place the sensors into their shoe. They basically attached the sensors into the padding of the shoe and placed it inside the shoe. That is a great idea, except Nike was using very high tech devices. Their sensors were easy to place in the padding. Our sensor is not that simple because we plan to use a big arduino and it would be very uncomfortable to wear if we placed it in padding.

This link has the picture of the shoe padding: http://www.gumballtech.com/2012/02/25/nike-training-and-nike-hyperdunk-smart-shoes-game-on/

This link is a video on the functions and concepts of the shoe: http://www.telegraph.co.uk/technology/technology-video/9100436/Nike-unveil-smart-trainers-that-record-how-high-you-jump.html

This link explains the concept behind the shoe: http://www.smartplanet.com/blog/thinking-tech/new-nike-shoes-measure-jump-shot-speed-performance/10454

10/25/12: I continued to brainstorm on different ways to attach to the shoes on my own. I thought if we attach the arduino under the shoelaces it will have a better support. Placing the arduino under the shoelaces will ensure support because the shoelaces will tie around it, and it will hold the arduino in place. Another idea was to use tape. It sounds crazy, but it helps generate more ideas. Also, the arduino could be placed on the tongue of the shoe. This will keep the arduino tucked with the foot and the shoe.

My Third task
I am hoping to place the order for the materials that we plan to use for the project by next week. And then after that, I plan to help with calibrating because we still have to do that.

Summary of actual work over third weekend
This week was focusing on the fabrication of the smart shoe. Since the programming was complete and it works, now we have to attach the arduino to the shoe. I helped with brainstorming ideas and finding materials to began prototyping the shoe attachment. Also, I continued to become more educated in the arduion software side.

Week3 Narrative
10/30/12: Since I was unable to meet up with my team members the last two days, I decided to branch out and continue to learn about the arduino program. I began to review the second lesson of the arduino lessons that was provided by a team member. I learned about the reason of adding an "int" in a program. I learned that int is a signed integer. Not only that, I also learned about float variables. It has twice as memory has the int code. It also helped me identify that loops are simply used in a code helps the program to realize to repeat the coding. These are some simple steps for an arduino program.


 * Lesson 2

11/1/12: When the group was able to get together, it was time to get some work done. I helped look for materials that could be used during the final fabrication of the device. I found some coopers and pins to test a small prototype before the final fabrication. I helped attach the prototype to a team members shoe to check how comfortable and stable it is in the shoe. There were two ways the arduino was attached. One was attaching it to the heel of the shoe. Doing this the arudino was stable and it was comfortable according to the team member; however, this would require us to change the program. The program would have to be changed so that it measures the y axis instead of the z axis. Another way the arduino was attached was through the shoe laces of the shoe. One good thing is that the program would not be changed, but it moved around when walking.

11/2/12: I continued to learn more about the arduino program. I began to work on lesson 3 of the arduion programming lessons. This lesson was about explaining how to use a code fora dc motor. It was saying that the simple blink sketch can be used to control a dc motor. Compiling different codes to the blink sketch will make it easy to create a program. Finally, I learned that the "void" word has no effect in a code. Also, it helped me understand how to enter formulas in order for the program to calculate something.


 * Lesson 3

11/4/12: I watched the video that was sent by the professor. The video made it realize that a small microchip can store the program easily. It just needs to be powered by a battery. This will help us shrink the project. One problem could be that we may not have enough time to use the ATtiny45 or ATtiny85. Since there is only a week left of the project, ordering the microchip and having it delivered in time would be very difficult.

This is the video: http://www.youtube.com/watch?v=30rPt802n1k&feature=BFa&list=PLAF57CA4EFEB225C9

My Fourth task
For the final week, I hope to help with the final fabrication of the shoe. I hope that I will be able to help with attaching the arduino onto the shoe in order to actually call it a smart shoe.

Summary of actual work over fourth weekend
My plan was to help calibrate the device, but we never decided to do that in class. This week I mainly helped with the team page and the poster for the team page. I was not able to help with the final fabrication because the parts did not come on time for us to meet up and fabricate it outside of class.

Week4 Narrative
11/5/12: Today I was focusing on the team page since we did not receive the parts yet. First, I changed the layout of the pictures on our team page. In the beginning the pictures were unorganized, so I moved them all to one side of the page. Next, I edited some of the basic information on the page. For instance, I edited information to the summary to show the progress on the project.

After that I added the decision matrix that we created on excel. I took a picture of the chart on excel and then went to the wiki commons page. I uploaded the excel picture onto wiki commons. Then, I added the required information in order to complete the uploading process. Finally, I copied the link and pasted it onto to the decision section of our team page.

11/7/12: I continued to work on the team page, making sure it met all the documentation standards. I began to work on the poster for the page. To began the process I opened up microsoft word document and inserted text boxes on the page. So I began to edit the boxes. I put the title of the page in the center. Then, I moved the boxes around to create a basic layout. Finally, I added some pictures on the document.

11/8/12: I did a little studying on the arduino by looking at the 4th lesson of an arduino that is posted on our team page. It is known as the "Flow Control." It was describing about using a code to control an on/off switch and/or a LED circuit.


 * Lesson 4

Complete Team Page
Team Page