Counting Random Interval Events


i want count events  following buckets.

this objects falling through chute.

this input changes 500ms can never change there can significant data organize or none.

last 60 minutes
last 24 hours
last 48 hours

so, realize may need timestamp events, want rolling, real time update.

i'd without rtc, using millis()

does have experience simplifying trying here?

how many events expect in 48 hour window? surmise, have timestamp of them. in simple case, means storing unsigned long each event @ cost of 4 bytes apiece.

you push data sd card or reprocessing on timestamps & other trickery fewer 4 bytes of ram per event, max number of events you're going guide towards arduino you'll need. alternatively, offload data storage pc , let tell arduino counts per bucket are.


Arduino Forum > Using Arduino > Programming Questions > Counting Random Interval Events


arduino

Comments

Popular posts from this blog

opencv3, tbb and rasp pi 2 - Raspberry Pi Forums

small ethernet problem - Raspberry Pi Forums

Multithumb configuration params not working? - Joomla! Forum - community, help and support