Can I maintain the configuration of the ADS1015 across restarts of OLA?

Hello,

I’m getting acquainted with the OpenLog Artemis and the Qwiic ADS1015 A/D. I selected the ADS1015 in order to make use of the 16X gain while I measure current flow through a milliOhm shunt resistor (similar to the application note in the ADS101x data sheet). The intention is to construct a handheld portable logger that isn’t tethered to a PC for re-configuring the logging in the OLA every time I start a new log file. I’d like to avoid the complication of hauling a laptop to the equipment that I want to investigate.

But I’m running into difficulty. At any restart of the OLA, the A/D module goes back to it’s default of the 1X gain setting. I’d really like it to stay at 16X, or alternatively, have the OLA set the A/D to 16X at startup. I’d also like to maintain a differential measurement, but those all get disabled in a restart.

Is there any recipe of settings in the OLA to make the configuration durable? Maybe something subtle with the power control that keeps a “session” live while I run multiple logs?

Or failing that, has anyone thought that they might implement a new feature of adding a User Preset function that can be employed at startup?

Or failing that, is there a plan to develop communication to the OLA via an iOS or Android device?

Thanks,

Tony A., loyal SparkFunner

Hi Tony (@just_Tony ),

The OLA firmware will save and restore the ADS1015 input and gain settings. But the settings are only saved when you fully exit the menu and the firmware goes back to logging sensor data. Please make sure you fully exit the menu after changing the gain.

I hope this helps,
Paul

Thanks, that does the trick. It’s not entirely clear to me what my command sequences were initially, but I now know the drill.

1 Like