The main idea of this simple DIY Arduino project is to be able to determine the amount of time you spend inside and outside of your own premises. The device can be attached on your waist all day without obstructing your regular daily activity. This device will record your location history all day long, with a detailed report of the time spent indoors or outdoors.
Here is a simple idea on how the device works:
The device’s accelerometer will be constantly checking if you are in motion. If you’re not, then the device will record your position using the GPS and your temperature every 15 minutes. If you’re still in motion after two minutes, then the GPS and temperature sensors repeats the measurements for another two minutes, until you’re in standstill position, before it gets the data.
The data is then stored on the SD card. Pressing the front button of the unit while connected with an USB cable to the laptop will send all the data to a program for interpretation.
The Java Program retrieves GPS errors, the number of satellites, the temperature and can also determine if you’re inside or outside of the premises. The program uses the data from the online public weather API’s as well as the GIS web service. The program provides a report on the amount of time spent on a certain spot, your location and whether you’re inside or outside of your home.
The project uses the following modules and devices such as Arduino Uno, Arduino Wi-Fi Shield, GPS Unit (LS20031), BMP085, a Thermometer/Barometer, ADXL335 Accelerometer, button, LED Light, 2.2K Ohm resistor, 9V Battery pack, Adafruit Arduino Case and various wires.
If you want to build one for yourself, you can read the complete instructions here: http://lifehacker.com/5971223/build-an-arduino+powered-blackbox-to-track-all-your-movement