EnviroDIY / ModularSensors

An Arduino library to give environmental sensors a common interface of functions for use with Arduino-framework dataloggers, such as the EnviroDIY Mayfly.
https://envirodiy.github.io/ModularSensors/
Other
80 stars 48 forks source link

Add a diagnosis mode enterable on button push #29

Closed SRGDamia1 closed 6 years ago

SRGDamia1 commented 7 years ago

Activate a mode where data is sent every 10 seconds for faster diagnosis of problems.

aufdenkampe commented 7 years ago

I was thinking about something similar, in which such a push-button diagnosis mode would also send those every-10-second measurement data to a SSD1306 OLED display (https://www.amazon.com/Grove-128x64-Board-Arduino-Raspberry/dp/B01D5GLDJ2).

This would be similar to this: https://github.com/EnviroDIY/EnviroDIY_Mayfly_Logger/blob/Mayfly_11_DT-LED/workshop/mayfly_10b_DHT_LED/mayfly_10b_DHT_LED.ino

SRGDamia1 commented 7 years ago

Or have the data go right to the serial port and use something like this to read it: https://play.google.com/store/apps/details?id=com.felhr.droidterm&hl=es

Doing it that way means less work because there's no messing with another library or display board.

aufdenkampe commented 7 years ago

Hmm. Yes. I can see why that would help.

My thinking was that if someone is doing maintenance on a sensor station in the field, they could quickly put it in instant measure mode to jot down readings. Alternately, someone could do a salt-injection experiment or something like that, by going to their station, putting it 10-sec mode and they could watch the salt pulse go by and also record the high-frequency data. It's possible that these are separate functions, however. My thinking is that these come lower down the priority list relative to adding new sensor classes.

SRGDamia1 commented 7 years ago

55 adds a debug mode, but it's currently only accessible when the "check for debug" function is running in the setup. It would be much better if I could figure out how to run it as an interrupt.

SRGDamia1 commented 6 years ago

Closed by #102