No More Drinxt

Be your own drunk cop!


Rachel Warren Olivia Wind ESE abstract

Our final project idea is to have a device that detects if a user is too drunk. It will allow the user to determine if they are drunk in the same way that a cop would test if someone is drunk. No More Drinxt can really be a safety device that is targeted at mainly college students. The way this device will work is it will implement three tests. The first test will determine if the user has fallen down. In order to do this, we will find a threshold acceleration for falling and send a signal (text/call) to a desired number. This test will continuously run. However, the second and third tests only work if the user turns them on with a button. The second test allows the user to determine if they can stand still for 10 seconds. If they can’t the Arduino sends a text message to the user. The third test determines if the user can walk in a straight line for 10 feet. If the user sways three or more times within a certain time period, a text message will again be sent to the user from the Arduino saying that they cannot walk in a straight line. Ideally, we would like our product to become an App; however, time constraints may restrict us from making an App. 
   For No More Drinxt, we used a gyroscope connected to an ethernet shield with a switch, multiple wires and resistors. We used the gyroscope as our accelerometer and also to calculate the change in degrees about a specific axis. We were able to determine threshold values for all three of our test that we used in our code. The ethernet shield was used with Twilio to allow our device to send SMS messages to the user. The messages displayed the results of the different tests. We used the switch in order to implement buttons for the standing still and walking straight test. In order to do this we had to hook up wires from five volts to the input pins to the switches. After that we needed to connect the circuit using a resistor and additional wires to ground. Our third test is always running because we connected an additional wire to a specific input pin and five volts. In our code we wrote an if statement that checks if this input is high and if so it calls the falling test. We used the gyroscope values to determine the threshold for the walking straight and falling method. For the walking straight method we only used the values from the y and z axes because of the orientation of our device. 

Built with

Try it out