On Sat, May 31, 2008 at 1:02 PM, Timothy J. Weber wrote: > M. Adam Davis wrote: >> Every time a passenger enters or leaves the vehicle, or material is >> loaded/unloaded I need to capture some small amount of data. This can >> happen while the engine is running, for instance dropping kids off at >> school. >> >> There will be a GPS - but detecting passenger/cargo loading/unloading >> versus stopping at a stoplight leads to needing multiple triggers - >> one of which is opening and closing the doors. > > Sample continuously looking for amplitude peaks of the right duration, > then do FFT on that window of samples and compare spectrum fuzzily > against the average of many recorded samples?? > > Might be too much processing, and of course there's the "training" > effort, which might be specific to a given model of car. OTOH, the > sounds seem like they'd be pretty consistent so it might not be too bad. Thanks, this is a bit more interesting than what I've been noodling over. I'll have to consider this as I get more information... -Adam -- EARTH DAY 2008 Tuesday April 22 Save Money * Save Oil * Save Lives * Save the Planet http://www.driveslowly.org -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist