SparkFun Forums 

Where electronics enthusiasts find answers.

Hardware or product specific questions are best asked here.
User avatar
By jonas
#226611
Hi,

I'm working with a an OpenLog Artemis (DEV-16832) with ADS122C04 ADC (Qwiic PT100) in Raw Voltage mode.

First without the ADS device attached, I'm able to set the logging frequency (in the "Configure Terminal Output" setting) to 240Hz and it records the IMU data with about 237Hz.
But with the ADS attached I can only set this to 89Hz and it actually loggs with just about 14Hz.

I'm curious where the limitations come from. Is the limit showing the Configure Terminal Output setting due to limits of the processor? If I'm not mistaken the ADS122 supports much higher frequencies. So is this something that could be solved by adding configuration options to the firmware? My goal would be to have a sampling rate of about 250Hz for IMU and ADS data.

In the future I'd like to attach an oximeter as well (I noticed that the firmware supports this now, which is great). This will probably have a lower sampling rate. Is it possible to mix a high sampling rate of the IMU und ADS data with the low frequency data from the oximeter, e.g. by only polling data every Nth time, or having separate log files?

Thank you for your help!
jonas
User avatar
By PaulZC
#226613
Hi Jonas,
I left a note to myself about exactly this in the OLA firmware:
https://github.com/sparkfun/OpenLog_Art ... #L632-L636
So, I'm afraid what you're trying to do is currently not possible. The OLA can log _temperature_ from the ADS122 quickly, but not the raw voltage. It means upgrading both the OLA firmware and the ADS122 library.
Please raise this as a feature request issue in the OpenLog Artemis GitHub repo and I will look at it when I can (no promise of a quick fix - sorry!):
https://github.com/sparkfun/OpenLog_Artemis/issues
To answer your other question: no, sorry, it is not possible to mix and match the sample rates and/or use different log files for different sensors. The only solution at the moment is to use two OLA's to log the data separately and to manually synchronize the logged data afterwards using the timestamps.
Very best wishes,
Paul
 Topic permissions

You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum