Difference between revisions of "GraviCase Log"
Line 33: | Line 33: | ||
*Wrote basic blink program | *Wrote basic blink program | ||
<gallery> | <gallery> | ||
− | [GraviCaseArdunioBlink.mp4 | | + | [[File:GraviCaseArdunioBlink.mp4|300px|left|Arduino Blink Method]] |
</gallery> | </gallery> | ||
*Began work on an accelerometer triggered. | *Began work on an accelerometer triggered. |
Revision as of 04:20, 11 October 2017
Contents
Weekly Log for GraviCase Project
By Matt Rocco and Michael Morgan
Link to the GraviCase wiki Page: here.
Week 1 (September 1-8, 2017):
"Decided" on project, started to gameplan objectives and obstacles of project, began to think of how to accomplish goals and design / build our project. Ironing out details on what skillsets we will have to pick up / refresh to accomplish our design. Created wiki and weekly log.
Week 2 (September 8-15, 2017):
Due to concerns about both the feasibility and safety of our project, we have begun researching into some of the individual parts of our project. We want to make sure that we can come up with a cheap effective way to make and test our project. We see the airbag portion of our idea as the elephant in the room as far as cost is concerned. Additionally, we have begun research into a way to inflate our airbag safely and quickly enough to meet the safety and usefulness goals we have set for our project. While originally we were leaning towards a chemically inflated airbag, through consultation with out TA, we believe a compressed air inflation will be 1 safer, 2 cheaper, and 3 most realistic. We have begun looking into personal airbags which inflate from compressed air and starting to run some of the cost numbers as well as the ability for us to reverse engineer the deployment system for a smaller airbag. We need to begin designing our product, specific concerns we have are the powering mechanism, the airbag shape, the airbag inflating mechanism, preventing premature / unnecessary inflation of the airbag and also the speed at which we can fill the airbag (as it must be able to inflate in the time it takes for the phone to hit the ground. We have a few ideas related to this: we have a rudimentary idea of how we want the airbag shaped. However, more research and discussion is necessary for the powering and inflating parts of our project. I have an idea related to a CSE132 lab I did involving peak detection to count "steps" on the arduino platform, and we believe that this may be the most effective way for us to ensure it doesn't inflate prematurely.
Week 3 (September 15-22):
We met with our TA, Andrew, on Tuesday and Professor Feher on Friday to discuss our project and we have moved towards the idea of our project being more of a prototype then a finished project. We also opened ourselves up to the idea of it being a case for any electronics which would help with our size constraints.
- One issue we still have is with safety
- Through our meetings we have discussed our accelerometer peak detection idea which we see as viable and if we transition to a non phone case this will allow us to not worry so much about everyday movement.
- Additionally we have decided on compressed air as our main method of airbag filling, and while we were worried about our method of puncturing it, Andrew told us he believes there is a valve attachment for Arduino which we could use. We have begun researching this and currently it is our primary way of filling our airbag.
- We believe compressed air will be much safer than the chemical explosion used to fill a car airbag, it also makes it easy to replace and test the airbag with refillable CO2 cartridges.
- Our other main obstacle is cost which is primarily due to the airbag:
- Andrew recommended trying to make our own, or at least experiment with makeshift materials so we could get an idea as to the shape and size of the airbag.
- We were unable to get out this weekend to get testing materials, but we plan on doing so later this week. However, the main focus of our past week has been on improving the website and also working out the cost related issues of our project.
- Professor Feher recommended finding someone with origami skills so that we could work on an efficiently folded and easily deployable airbag. He also agreeded with Andrews suggestion above and suggested that once we got the shape and size of our airbag down that we try to find people with structural engineering / material science backgrounds to help us find a workable and durable material.
- Andrew recommended trying to make our own, or at least experiment with makeshift materials so we could get an idea as to the shape and size of the airbag.
Week 4 (September 22 - September 29):
We purchased some materials to test airbags (glue gun and trash bags) and intend to do some minor designing and testing work on the shape and packaging of our airbag with trash bags before working on finding a more suitable / long term material.
- Michael Morgan has begun work on airbag design.
I (Matt Rocco) refreshed myself on Arduino today, discovering some Mac compatibility issues with the program. However, after taking an hour to resolve those issues, I wrote a rudimentary blink program just to confirm my understanding of the code. I have begun working on a program for our accelerometer which would send voltage to a port after sensing that it was being dropped (3 hours). Recap:
- Wrote basic blink program
- Began work on an accelerometer triggered.
- We believe that we can power our valve by sending voltage (which we may have to step up / transform) through one of our ports so this is out intent with the accelerometer program.
MorganRocco4EVA (talk) 19:08, 24 September 2017 (CDT)
Week 5 (September 29 - October 6):
We started experimenting more quantitatively with our airbag design with a large focus on volume.
- We have determined that an 8 oz. cartridge of CO2 is the most cost effective and also the best size.
- We found that 1 gallon of air amounts to 7 grams of compressed CO2, so generally we know that 8 oz. of CO2 will give us a little more than a gallon of volume in our airbag.
- In order to discover the approximate volume of our airbag, Michael Morgan filled it with water and then measured the amount of water we needed to fill it. We found this amount to be about 12 cups of water (3/4 of a gallon), however, in our final design we would like to have a larger airbag so we believe that the gallon of air that we will get from the 8g CO2 cartridge that we get will be perfect.
- We found that 1 gallon of air amounts to 7 grams of compressed CO2, so generally we know that 8 oz. of CO2 will give us a little more than a gallon of volume in our airbag.
Matthew also continued work on the Arduino code: hooking up the accelerometer to the Arduino and beginning to figure out a method to make our case feel that it is dropping. Additionally, thanks to a suggestion from a fellow ESE 205 student during our presentation, we plan on incorporating "tumbling" into sensing if our device is dropping.
- A falling phone is likely to "tumble" / flip around as it falls, we can sense this with a gyroscope (which we have on our accelerometer model: GY-521). If we incorporate this into our formula for falling, we believe it will lead to an overall safer and less likely to inflate at the wrong time airbag design.
MorganRocco4EVA (talk) 20:53, 1 October 2017 (CDT)
Week 6 (October 7 - October 14):
We ordered our parts for the mechanical side of the project:
- A 12V DC solenoid valve
- It is larger than we expected (no description of its size online) so it is a new found challenge, however, now we have some physical objects which we can start positioning to get an idea for the layout of our project's shape and design.
- Pneumatic tubing
- 16 oz. CO2 cartridges (8oz. are more expensive relatively so we intend to get 2 airbag "fills" per cartridge
- We have ran into a cost related problem with CO2 cartridges as they are not as cheap as we recall seeing when we looked earlier.
- Hose clamps and some valve attachments in order to connect the various parts
We have begun laying out the components, but we have also started designing the systems connection to the airbag. Due to getting the wrong sized valve attachment on the CO2 to solenoid valve end, we are currently only working on the valve through to the airbag side of the system so far. Later this week I intend on writing some quick code to ensure my understanding of the valve is correct and to see that it opens quickly enough. After that is successful, we will integrate that with our existing code and then begin integrating that into the system as a whole. Additionally, Michael has been focusing on refreshing himself with CAD and 3-D printing as we see ourselves transitioning towards that when we begin to tackle mounting the components of our system onto a case or other kind of harness. Continued work on Arduino code:
- Needs to sense that it is dropping (z input from Accelerometer)
- Setting a threshold amount for it falling so that it does not go off when unnecessary
- Needs to be able to sense it is tumbling (gyroscope)
- Setting a tumbling threshold for both values so that it does not blow up unnecessarily
Creating a rolling average of accelerometer and tumbling data so that the Arduino can decide if it being dropped
- Deciding on size of buffer
MorganRocco4EVA (talk) 12:59, 9 October 2017 (CDT)