User:Eolaleye4392/ENES100/Project 1

Project Preference
Smart Shoe Wind Turbine BioVest

Problem Statement
''In one or two sentences, describe the project that your group will be working on. Identify what CDIO phase (Conceive, Design, Implement, or Operate) your group will complete in this project cycle.''

Project Plan
The main purpose of this project is to create a smart shoe that will display how high you jump on a computer screen using an accelerometer, arduino Uno and micro, abd finally a bread board. Since this is still the design phase, the work of this group is to build on what the other two groups have done, and make sure that at the end of four weeks, this project will be ready for the implement phase.

Week 1 Narrative
To make the smart shoe project a reality, we were faced with three major tasks which are: The task assigned to me this week was too look for ways in which two arduinos can communicate wirelessly with each other. The first thing I did was to look into the two designs preceding ours, and looked at the ideas suggested with respect to this topic. I noticed that a transmitter has been used to try fulfil this requirements and over the course of next 3 weeks, we (My group mates and I) will be working to perfect this and if we can't get the transmitter to work, we will introduce an inventors shield in place of the transmitter we currently have ready. for more details about this inventors shield, a detailed explanation, price listing, and a video can be found using this link I expect tot be able to make the arduino communicate wirelessly before the end of this week using the transmitter,and if not, the inventors shield will be implemented
 * To make two arduinos work concurrently while communicating with each other.
 * How to clip the arduino micro to the shoe.

Week 2 Narrative
The task presented before me this week is to work on the arduino sketch written by the group before us, and make sure it aligns perfectly with the expected result. The first thing I did about this task is to go back and look at the smart shoe project as a whole and look at how every device works and how it supports this project. As usual, I found out that arduino Uno and micro basically have the same function, and that the sketches we have will be uploaded unto them and they interpret this sketches to other devices like the LEDs and many more for output. In this case, the jump sketches will be uploaded unto the the micro, the micro calculates the height then it sens its calculated result unto the uno,when the uno receives the data, it displays the height on the computer screen. The accelerometer measures the acceleration of an object in three directions, but willonly be used to measure the acceleration on the z-axis (up and down). After gathering these background information,there is one thing i was so sure should be on the sketch and it is the equation of motion since the accelerometer will give us the acceleration, we can also write a code to calculate the time, and initial height, the equation of motion will tell us how high yu have jumped. I uploaded the sketch on the arduino uno with the accelerometer attached to it and what I noticed was that the sketch we got from the previous group was not correct and did not match up to the requirement. I noticed that the the code was not correct and the information that was meant to display when you jumped only kept display at a constant rate even without jumping. Correcting the sketch is a difficult task, but with the help of my group mate the code has been modified and we are working tirelessly to get this two arduinos to communicate together via the transmitter and receiver.

Week 3 Narrative
The task assigned to me this week was to make sure that two arduino's communicate with each other using the transmitter and receiver. Prior work in this aspect has proved futile as trying to upload the the transmitter and receiver code yielded the erro massage "Vw setup'. The first hurdle I had to overcome on this assignment was to debug the error and this was achieved by downloading the virtual zip and importing it to the arduino. After doing this, I verified/compiled the code and the code produced no error message this time.

Here is the code that was used

The result of the expected arduino code was for the arduino with the transmitter to send "hello There" to the receiver and the receiver to display it on the computer screen. After uploading the code and following the connection instruction given, the next step was to see the outcome of the input. The only output that was gotten "Device is ready" This meant that the receiver was ready to receive but the transmitter was not sending any message to it. The first thing I did to fix this problem was to check the connection of the transmitter and make sure it was connected to the right pin. I tried running it again and got the same result, then I tried using new sets of connection wires in case the wires were bad. I tried this again and I got the same result, then professor Edelen brought my attention to the fact that the transmitter was shaking, and suggeted we soldered new set of pins to it. This was done and I tried running things again and still got he same result. I invited farooqs attention to this and up till now his own effort has proven to be futile. My conclusion is that the transmitter might be broken and since there is no way to justify this claim, I will keep working till hopefully I get a new transmitter to prove if the problem is with the transmitter or not.

Overall, this assignment proved to be a very challenging but interesting. By the end of next week, I hope to have found a full answer to this new problem because I want to make sure this group finishes the design face before the end of this project period.

Week 4 Narrative
My assigned task for this week was to work on the transmitter and try to make it work. In order to achieve this task I tried to tightly transmitter to the wire using new wires but the transmitter failed to send any message still. Since this problem looks familiar to a problem I and my partner encountered with the external powering of the arduino micro so I tried using the same method to solve the problem. I unsoldered all pins and tried to resolder them. the result were still the same so I decided to move on to something different so as not to waste time. I joined my team mate and we both soldered all the parts together. Furthermore, I worked on my part of the CDIO report and thats all I did