We have the Grove Oxygen Sensor connected to an SeeedUnio Cloud via the Base Shield V2 and the results we are getting seem a little low.
Initially we had the sensor code set to use 3.3 volts but the base shield is set to run at 5v due to other sensors also being used. We have adapted the code ( we are using the demo code from the WiKi ) and the percentage value increased from 12% to just over 18%. It is worth mentioning that we did run the sensor at 5 volts but eh code was set to 3.3 for several hours.
However we are expecting the percentage to be higher, apparently it should be close to 20%. We have tried the sensor both indoors and outdoors and the % value doesn't seem to change.
There are two things we are not sure about
Pre heating - The WiKi suggests the sensor needs pre-heating for 5 - 10 mins. What does this mean, do you just plug the sensor in and leave it powered up... is there any code that needs to be run ?
The Code - As i mentioned above, we are using the demo code to test with and the only setting we have changed is the voltage
Code: Select all
const float VRefer = 3.3; // voltage of adc reference
Code: Select all
const float VRefer = 5; // voltage of adc reference
If anyone can offer any guidance it will be appreciated.
Thanks