0

User Configurable data acquisition
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

User Configurable data acquisition

by amitshishodia on Thu Jun 13, 2019 6:29 am

Dear Sir,

I have a "Feather M0 adalogger board" and "BMP280"(pressure and temperature sensor). I have already data acquire and save the data in SD card. but I want to data acquisition sampling rate are user configurable.
So, please provide me a better solution of this problem.

amitshishodia
 
Posts: 58
Joined: Thu May 30, 2019 7:29 am

Re: User Configurable data acquisition

by adafruit_support_bill on Thu Jun 13, 2019 6:47 am

Can you be more specific? In what way would you like it to be configurable?

You have the source code, so you have complete control over the sample rate.
If you want to control it via some sort of user interface, you will need to add some display and input devices to your hardware configuration.

Some options are linked below:

https://www.adafruit.com/product/3321
https://www.adafruit.com/product/3315
https://www.adafruit.com/product/3651

adafruit_support_bill
 
Posts: 74058
Joined: Sat Feb 07, 2009 10:11 am

Re: User Configurable data acquisition

by amitshishodia on Thu Jun 13, 2019 7:23 am

adafruit_support_bill wrote:If you want to control it via some sort of user interface, you will need to add some display and input devices to your hardware configuration.

Some options are linked below:

https://www.adafruit.com/product/3321
https://www.adafruit.com/product/3315
https://www.adafruit.com/product/3651


Sir i want user interface, i have make some application(hardware consist of feather m0, battery, BMP280 and ADXL377 sensor) in this application i have acquire sensor data. i upload my program to feather m0 board with constant sampling rate. now i want change sampling rate control by user. So it is possible to control sampling rate by user

amitshishodia
 
Posts: 58
Joined: Thu May 30, 2019 7:29 am

Re: User Configurable data acquisition

by adafruit_support_bill on Thu Jun 13, 2019 8:03 am

That should be possible to do using one of the displays linked above. There are tutorials for each of those displays with example code showing how to write information to the display and read input from the touchscreens or buttons.

adafruit_support_bill
 
Posts: 74058
Joined: Sat Feb 07, 2009 10:11 am

Re: User Configurable data acquisition

by amitshishodia on Mon Aug 05, 2019 8:07 am

adafruit_support_bill wrote:That should be possible to do using one of the displays linked above. There are tutorials for each of those displays with example code showing how to write information to the display and read input from the touchscreens or buttons.


Dear Sir,

I want to configure the delay time.
Can I change the delay time using the LCD display?
If possible, please guide.

Thanks

amitshishodia
 
Posts: 58
Joined: Thu May 30, 2019 7:29 am

Re: User Configurable data acquisition

by adafruit_support_bill on Mon Aug 05, 2019 10:47 am

Certainly it is possible to do that. The first thing to do is to decide which type of display and input device you want to use. I posted links to several options above with joystick and touch-screen for input. You may also want to consider the LCD shield which has push-button input: https://www.adafruit.com/product/714

adafruit_support_bill
 
Posts: 74058
Joined: Sat Feb 07, 2009 10:11 am

Re: User Configurable data acquisition

by amitshishodia on Wed Aug 07, 2019 8:36 am

adafruit_support_bill wrote:Certainly it is possible to do that. The first thing to do is to decide which type of display and input device you want to use. I posted links to several options above with joystick and touch-screen for input. You may also want to consider the LCD shield which has push-button input: https://www.adafruit.com/product/714


we are select a device,

https://www.adafruit.com/product/3321 (Selected Device)

But, is possible with Feather M0 Adalogger?
How to use this device with Feather?
How to change the delay time of sketch?

amitshishodia
 
Posts: 58
Joined: Thu May 30, 2019 7:29 am

Re: User Configurable data acquisition

by adafruit_support_bill on Wed Aug 07, 2019 10:05 am

Yes, you can use that with the Feather M0 Adalogger. You will need to install female headers on the Adalogger: https://www.adafruit.com/product/2886
Then you can stack the display on top of the Adalogger.

The documentation for how to use this is here: https://learn.adafruit.com/adafruit-min ... eatherwing

adafruit_support_bill
 
Posts: 74058
Joined: Sat Feb 07, 2009 10:11 am

Re: User Configurable data acquisition

by amitshishodia on Thu Aug 08, 2019 3:28 am

adafruit_support_bill wrote:Yes, you can use that with the Feather M0 Adalogger. You will need to install female headers on the Adalogger: https://www.adafruit.com/product/2886
Then you can stack the display on top of the Adalogger.

The documentation for how to use this is here: https://learn.adafruit.com/adafruit-min ... eatherwing


But I don't want to stack the display on top of the adalogger permanently. while I want to connect display when changing the delay time.
I need to change the delay time of sketch(code) for increase or decrease the sampling rate of the sensor.

so I want to:
firstly I connect the display with the feather M0 adalogger board, change the delay time then disconnect the display.

is this possible?
if possible then How??

thank you

amitshishodia
 
Posts: 58
Joined: Thu May 30, 2019 7:29 am

Re: User Configurable data acquisition

by adafruit_support_bill on Thu Aug 08, 2019 5:51 am

Un-plugging the display board while powered risks damage to the display or the M0. The best approach would be to save the sample timing information to a file on the SD card, then power down the system before disconnecting the display. On power-up, you could read the timing information from the file and set the sample rate from that.

adafruit_support_bill
 
Posts: 74058
Joined: Sat Feb 07, 2009 10:11 am

Re: User Configurable data acquisition

by amitshishodia on Thu Aug 08, 2019 7:07 am

adafruit_support_bill wrote: The best approach would be to save the sample timing information to a file on the SD card, then power down the system before disconnecting the display. On power-up, you could read the timing information from the file and set the sample rate from that.


OK Sir, But this not a proper answer to my question.

My other question is that, Can I use the display for change in the sketch(code){for example: delay time or change if/else condition} which are upload on feather M0 adalogger.

amitshishodia
 
Posts: 58
Joined: Thu May 30, 2019 7:29 am

Re: User Configurable data acquisition

by adafruit_support_bill on Thu Aug 08, 2019 7:32 am

this not a proper answer to my question.


Your questions were:
is this possible?
if possible then How??

My response addressed those questions directly.

My other question is that, Can I use the display for change in the sketch(code){for example: delay time or change if/else condition} which are upload on feather M0 adalogger.

No. You can change data used by the code as described in my previous response. But the device is not capable of re-programming itself.

adafruit_support_bill
 
Posts: 74058
Joined: Sat Feb 07, 2009 10:11 am

Please be positive and constructive with your questions and comments.