SparkFun Forums 

Where electronics enthusiasts find answers.

Hardware or product specific questions are best asked here.
User avatar
By Gloag
#219578
The OLA recognizes the SGP30(Qwiic) board and logs all the data. However, the CO2 reading is stuck at 400 even after 24 hours of running. The same SPG30 board CO2 readings work as expected when connected to a Redboard turbo, the first 15 readings are 400 then it gradually increases to the room CO2 level. Firmware 1.6 on the OLA.
#219582
Yesterday I tried various logging intervals from the 1Hz in the example sketch to 10 seconds with the same results. However, today it is working at 1Hz. Is it correct that it won't lose power between samples at this high sampling rate? Anyway the turn power off between cycles greater then 2s is off. I don't know what was going on yesterday, breathing on the sensor had no effect whereas today the reading immediately jumps.
#219598
Hi Gloag,
Ah, great. That makes sense.
Yes, by default the Qwiic power is turned off between readings if the logging interval is greater than 2 seconds. The CO2 sensor won't like that...
You can disable the power off feature using the menus. Select "Configure Attached Devices", then "Configure Qwiic Settings", then set "Turn off bus power between readings" to "No".
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