Difference between revisions of "Concussion Coach"

From ESE205 Wiki
Jump to navigation Jump to search
Line 114: Line 114:
 
Third Design<br />
 
Third Design<br />
 
* After soldering everything to the perfboard, we realized that we needed to change our shell design. Because of the way that the perfboard was attached to the LCD screen, the design was extended a lot below the LCD screen. The four pole snap system was no longer able to be used, so instead we made four holes in each corner of the shell for metal rods to go through and then screws to be fastened on to keep the box closed. This was our final design that we printed and used for our demo.
 
* After soldering everything to the perfboard, we realized that we needed to change our shell design. Because of the way that the perfboard was attached to the LCD screen, the design was extended a lot below the LCD screen. The four pole snap system was no longer able to be used, so instead we made four holes in each corner of the shell for metal rods to go through and then screws to be fastened on to keep the box closed. This was our final design that we printed and used for our demo.
 +
 +
== Results ==
 +
'''Present Results''' <br />
 +
Detecting the magnitude of the force and sending it via radio frequency worked wonderfully. However, on demo day, another group was using the same radio frequency as us and our Arduino was picking up on it. In an actual setting where our project would be used, I do not foresee this problem arising. The LCD screen displayed the force as well as the player’s name, but keep in mind we only had one helmet. We couldn’t have a list of players to choose from and receive data from because we only had one working prototype and one helmet. The 3D prints worked great too, but we couldn’t fully encase the Arduino inside the coach’s pad because we had to frequently keep resetting it due to the other group’s radio frequency interfering with ours. Also, the casing that covered the Arduino that sent the signal would’ve worked great, but we soldered the wires onto the breadboard before fitting everything into the case first, causing us to not have access to the hole that was made for the wires to fit through. Also, we could’ve soldered the LCD screen onto the perfboard better so that our casing for it could’ve been a bit smaller. With all of this in mind, everything worked perfectly on demo day!<br />
 +
 +
'''Discussion''' <br />
 +
Our results were in line with our original objectives in the sense that we were successfully able to detect the magnitude of a force, send it via radio frequency to another Arduino, and display it on an LCD screen for the viewer to see. We could not, however, show that it worked for multiple players and we couldn’t get the Arduino Mini to work as we originally set out to. Our 3D prints worked great and represented what our finished project would’ve been like.
 +
Critical decisions: Some critical decisions that we had to make were based upon time, design, and lack of equipment. We originally set out to use an Arduino Mini so that the casing could be smaller to better replicate what our project would really use, but due to the Arduino Mini not functioning properly and timing, we ultimately had to switch to a more familiar Arduino Uno for demo day. For future renditions of our project, we would like to use the smallest microcontroller we could get to further minimize the casing. Because we only had one helmet and no shoulder pads, we couldn’t show our full project. With more helmets, we would be able to show which player was hit, but because we had one helmet, we could only demonstrate our project working on a singular helmet. With no shoulder pads, we couldn’t demonstrate where the Arduino sending the signal to the coach’s pad would fit. It would be in a small casing that fit in the back side of the pads where it would be unnoticeable to the player. But because we didn’t have shoulder pads, we decided to cover the wires and let the casing hang freely from the helmet. The many different 3D prints that we went through changed due to how we soldered the components of our project. Our final casing had a hole that would have the wiring fit through it in a nice compact way, but because we soldered the wires on before setting it inside the casing, we had to poke the wires out of the side of the case rather than through the hole that we made.
  
 
== Important Links ==  
 
== Important Links ==  

Revision as of 17:24, 5 December 2017

Link to weekly log

Overview

Concussions can have a severe and lasting impact on individual, and while coaches and athletes alike are aware of this danger, many concussions continue to go unrecognized. In football especially, concussions occur regularly due to the contact nature of the sport. While better protection and more careful playing an be used to prevent players from getting concussions, it is just as important to diagnose and treat concussions that do occur. Most concussions deliver ~95 g's to the body, so by measuring the amount of force applied to a player's head, the likelihood of a concussion could be monitored and the player could be checked when enough force was applied to cause a concussion.


Team Members

Colton Farley
Darby Hakken
Emma Zastrow
Nathan Schmetter (TA)

Objectives

A successful project will require:

1. Accelerometers be installed in a football helmet in a way that force can be detected in all directions

2. The encapsulation of the Arduino and any necessary battery packs and circuitry in the football helmet by creating a 3-D printed shell

3. Use an Arduino mini to detect forces capable of causing a concussion and transmitting the signal to an Arduino uno

4. Implementation of an LCD interface to transmit Arduino data from all players to coaches

Challenges

1. Being able to sense force equally throughout the helmet instead of distinct points where the accelerometer is located
2. Learning how to program an arduino and using it effectively
3. Learning how to use CAD and 3D print
4. Coding an interface to show an up to date status of the players helmets
5. Understanding radio frequencies and learning how to implement them
5. Communication between arduinos

Gantt Chart

ConcussionCoachGantt3.png

Budget


Shipping:

  • adafruit (LCD screen, aruino pro mini, and accelerometer) - $7.17
  • Sparkfun (RF module transmitter and receiver) - $5.74


Total:
$82.29

Design and Solutions

Football Helmet
The football helmet is designed to detect any force applied to the payer's head. An initial concern was being able to detect force in all directions and in all locations of the helmet. However, we realized that our accelerometer was three dimensional so it is able to pick up force in any direction, and since the helmet is a solid body, it should not matter where the hit is with respect to the accelerometer. The technology for the football helmet consists of an arduino uno, triple axis accelerometer, and RF 434 MHz transmitter.

  • We downloaded the virtualwire library ([1]). We then set up the circuit using the diagrams that are located under the product page under documents and product page.
  • We used the example for the virtualwire library to make sure that our RF transmitter was working with our RF receiver.
  • COLTON TALK ABOUT SETTING UP THE ACCELEROMETER
  • We attached the accelerometer and RF transmitter to the same arduino to send the magnitue of the force detected by the accelerometer to the coach's pad arduino.
  • We set a threshold to be adjusted that will determine when a force will be transmitted, i.e., only a force above the threshold will be transmitted.
  • We played around with the sampling rate until we felt that the accelerometer was accurately detecting the force applied.
  • When everything was working, we attached a 9V battery to the arduino so that it could be powered without being attached to a computer.
Helmet Circuit

















Helmet Shell Design
First Design

  • The first design was modeled to hold an Arduino Mini, a perfboard, and a 9V battery. There are four holes at each corner of the shell for metal rods to go through and then screws to be fastened to keep the box closed.

Second Design

  • Our second and final design was enlarged because we were no longer using the Arduino Mini, but rather using the Arduino Uno. The four hole pole system for closure was still being used. We also added a hole in one of the sides for the wires to go from the Arduino to the accelerometer in the helmet. This was our final design that we printed and used for our demo.


Coach's Pad
The Coach's pad is meant to be kept on the sidelines so that the coach can see the force inflicted on a player. The will allow the coach to determine when a player should be pulled out of the game instead of it being up to the player to know when it is serious. This information will hopefully decrease the number of concussions that go unreported, The coach's pad consists of a 20x4 LCD screen, arduino uno and 434 MHz RF receiver.

  • We used the liquid crystal library ([2]) for the lcd and the basic set up for the LCD was found at [3].
  • At one point in the project we had problems with the text on the LCD being clear, and the potentiometer was not really helping with the clarity of the screen. We found that using a stronger resistor yielded the results that we wanted. Since the resistors in the lab were not labeled, it was trial and error to find a resistor that worked well.
  • We used the hello world example to get used to the LCD screen and the liquid crystal library.
  • The RF receiver was set up using the diagram from [4].
  • We initially just printed the message received, which was simply the force. We then added in a message to make it more user friendly. The message was added on the receiver end for simplicity since there was only one player in our set up. However, for a whole team, the message would be added onto the transmitter side to distinguish the player number. This would not be difficult since the message can be sent as a string with the whole message including the player number and force magnitude.
  • When everything was working, we attached a 9V battery to the arduino so that it could be powered without being attached to a computer.
Coach's Pad Circuit











Coach's Pad Shell Design
First Design

  • Our first design for the shell for the coach was designed to hold the Arduino Uno and a 20x4 LCD screen, as well as a perfboard. We planned to keep it closed by using a snap close with four poles going through the four corner holes of the LCD screen. The poles are designed to then fit into the larger cylinders attached to the bottom of the enclosure.

Second Design

  • The second design accounted for the space needed for the 9V battery that would be needed to power the Arduino on demo day. Therefore, there was space added to the shell to account for this. The four pole snap system is still used. We realized that the poles that would slide through the LCD screen were the weakest part of the design, so we made them a lot shorter and the cylinders that they snapped into were extended to be much taller. There were also supports added to the cylinder supports to make it more stable.

Third Design

  • After soldering everything to the perfboard, we realized that we needed to change our shell design. Because of the way that the perfboard was attached to the LCD screen, the design was extended a lot below the LCD screen. The four pole snap system was no longer able to be used, so instead we made four holes in each corner of the shell for metal rods to go through and then screws to be fastened on to keep the box closed. This was our final design that we printed and used for our demo.

Results

Present Results
Detecting the magnitude of the force and sending it via radio frequency worked wonderfully. However, on demo day, another group was using the same radio frequency as us and our Arduino was picking up on it. In an actual setting where our project would be used, I do not foresee this problem arising. The LCD screen displayed the force as well as the player’s name, but keep in mind we only had one helmet. We couldn’t have a list of players to choose from and receive data from because we only had one working prototype and one helmet. The 3D prints worked great too, but we couldn’t fully encase the Arduino inside the coach’s pad because we had to frequently keep resetting it due to the other group’s radio frequency interfering with ours. Also, the casing that covered the Arduino that sent the signal would’ve worked great, but we soldered the wires onto the breadboard before fitting everything into the case first, causing us to not have access to the hole that was made for the wires to fit through. Also, we could’ve soldered the LCD screen onto the perfboard better so that our casing for it could’ve been a bit smaller. With all of this in mind, everything worked perfectly on demo day!

Discussion

Our results were in line with our original objectives in the sense that we were successfully able to detect the magnitude of a force, send it via radio frequency to another Arduino, and display it on an LCD screen for the viewer to see. We could not, however, show that it worked for multiple players and we couldn’t get the Arduino Mini to work as we originally set out to. Our 3D prints worked great and represented what our finished project would’ve been like. 

Critical decisions: Some critical decisions that we had to make were based upon time, design, and lack of equipment. We originally set out to use an Arduino Mini so that the casing could be smaller to better replicate what our project would really use, but due to the Arduino Mini not functioning properly and timing, we ultimately had to switch to a more familiar Arduino Uno for demo day. For future renditions of our project, we would like to use the smallest microcontroller we could get to further minimize the casing. Because we only had one helmet and no shoulder pads, we couldn’t show our full project. With more helmets, we would be able to show which player was hit, but because we had one helmet, we could only demonstrate our project working on a singular helmet. With no shoulder pads, we couldn’t demonstrate where the Arduino sending the signal to the coach’s pad would fit. It would be in a small casing that fit in the back side of the pads where it would be unnoticeable to the player. But because we didn’t have shoulder pads, we decided to cover the wires and let the casing hang freely from the helmet. The many different 3D prints that we went through changed due to how we soldered the components of our project. Our final casing had a hole that would have the wiring fit through it in a nice compact way, but because we soldered the wires on before setting it inside the casing, we had to poke the wires out of the side of the case rather than through the hole that we made.

Important Links

3D Printed Designs
Find our different versions of our designs here