A growing contradiction of the masses is concern for the environment while simultaneously being wasteful slobs. The belief that self matters veiled by an internet fog often perverts attention to atmospheric abuse and trivial consumption of resources that a human just 40 years ago would have milked for every drop.
One very aggravating all too frequent observation is the running-automobile-phone-user. A text or status update in your running parked car I would equate to treason. In reality, sheep and shepherd are the only true biological conditions of our species; so here is a first version shock blanket for your filthy habit.
Ideally, such a device may be wired and concealed, programmed by manufacturer (eh?!) or self prescribed to treat such a disability. In this particular model, an accelerometer affixed to an Arduino Nano reads variations of movement, accumulating time idling to a warning after 2 minutes, as to navigate around average traffic light pauses.
A pending model utilizing the Arduino MKR1000 stores the motion to idle ratio and warnings, then when near a known network, transmits the stored data to ThingSpeak for collection and analysis.
Research Idle Fuel Consumption 0.6L/HR per Liter Engine Displacement
Sample Toyota Camry 2.5L 4CYL (#1 U.S. Mid-sized Sedan) 2.5 x 0.6 = 1.5 / 60 = 0.025L/M
Idle Pollution 9 gram(s) of toxins (ex. CO2) per 1 minute
Walmart Locations United States 4,540 International 6,301 Sam's Club 647
Calculation (Muted Prognosis) 10 Idle Texters per Day per U.S. Walmart Parking Lot 10 x 4,540 = 45,400
45,400 x 9 = 408,600 Grams (901 Pounds) of Pollutants per Minute 408,600 x 5 Minutes Texting = 2,043,000 Grams (4,504 Pounds) 408,600 x 20 Minutes = 8,172,000 Grams (18,016 Pounds)
45,400 x 0.025 = 1,135 Liters (299.8 Gallons) per Minute 1,135 x 5 Minutes Texting = 5,675 Liters (1,499 Gallons) 1,135 x 20 Minutes = 22,700 Liters (5,997 Gallons)
Arduino Sketch
// Idle Waste Alarm // Vije Miller // MPU-6050 Sketch JohnChi
#include "Wire.h"
// I2C address of the MPU-6050 const int MPU_addr = 0x68; int16_t AcY;
// Sensitivity int high = 2700; int low = -2700; int set = 0; int dif = 0; // State int state = 1; // Time Variables long echo = 0; int dly = 100; // 120 seconds // Avg red light Wait 90 seconds long sepone = 22500; long septwo = 45000; long septhree = 67500; long sepfour = 90000;
// LEDs and Piezo // Green int one = 3; int two = 4; int three = 5; // Yellow int four = 6; // Red and Piezo int five = 7;