AGP30, issues with CO2 VOC sensor

Has anyone here used the Sensirion AGP30, a tiny I2C sensor for CO2 and VOC gases? It takes about 60mA to heat a hot plate, and it needs at least 15 seconds to start reading data. But ours is experiencing shutoffs after 1.8 seconds when we run it from a Feather, but not if we run it from a Raspberry Pi. Both controllers feed the PCB with 3.3 volts, where its regulated down to 1.8 volts with an TPS71718. We communicate with the IC fine in both cases, and get the readings, but they're wrong if the hot-plate won't stay on for 15-seconds.

--
 Thanks, 
    - Win
Reply to
Winfield Hill
Loading thread data ...

OK, nevermind, we figured it out, the sensor was OK. We've been flashing a bright LED every 5 seconds, as a heartbeat, visible in sunlight, and this was resetting the sensor.

--
 Thanks, 
    - Win
Reply to
Winfield Hill

Also, note that you need a baseline calibration in clean air, or it cannot detect ?dirty? air

Cheers

Klaus

Reply to
Klaus Kragelund

Yes, we're saving and bringing back the cal values. May I ask, how important is the humidity correction? It's a painful to do the absolute humidity conversion formula in an ARM M0 processor, without floating point.

--
 Thanks, 
    - Win
Reply to
Winfield Hill

I did not dig into the humidity effects on this sensor. Not much is written about the compensations, so I guess the effect is minor

Cheers

Klaus

Reply to
klaus.kragelund

Just table-lookup it to death? You should have a lot of flash for detailed data, no?

Reply to
Przemek Klosowski

Alan Stern, the Institute mathematician, who did all the programming for the beehive monitor, including the 14-sensor TH-stick, which includes the AGP30, tells me the floating-point libraries work just fine, but it's just slower. We do have the time, but maybe with all the huge masses of code he's written, he's running out of motivation to add more complication.

--
 Thanks, 
    - Win
Reply to
Winfield Hill

Winfield Hill wrote in news: snipped-for-privacy@drn.newsguy.com:

Add more cores.

Reply to
DecadentLinuxUserNumeroUno

We're only using an ARM M0, and could chose an M4, etc., if we had placed the controller on the mobo. But the PCB didn't have room; we needed the extra space obtained by using an Adafruit Feather.

--
 Thanks, 
    - Win
Reply to
Winfield Hill

Winfield Hill wrote in news: snipped-for-privacy@drn.newsguy.com:

Use one of these to drive it...

Reply to
DecadentLinuxUserNumeroUno

Nice Raspberry Pi replacement, but pretty big, 85mm x 56mm, or 102mm x 69mm. The feather is only 50 x 22mm. The width of my board is 24mm.

--
 Thanks, 
    - Win
Reply to
Winfield Hill

Winfield Hill wrote in news:qstres01r62 @drn.newsguy.com:

Well, that is hardly what that is. Compared to the pi, that is full bore professional level gear.

It depends on how many you are doing, who is paying, and how long you want them to last in the field. The price differential is not that much if it is funded in any way.

That is because it is not as you describe. It is an order of magnitude more than a Pi.

Is this not for bee hive management?

If so, one would think that a lot of module 'real estate' would be available.

Yeah, it is overkill. You could probably use one, and pipe data from all the hives to a single unit and run a weather station on top of that and plot the data out on a 4K display. Way more than needed here.

I guess transducer placement matters too. Or for absolute, maybe take readings from a few transducer installations and resolve each and then average those.

Reply to
DecadentLinuxUserNumeroUno

torsdag den 12. december 2019 kl. 16.52.38 UTC+1 skrev snipped-for-privacy@decadence.org:

you want to replace a $1 M0 mcu with a $100 A9 running linux?

in what way does that make any sense?

Reply to
Lasse Langwadt Christensen

There's no operating system running on the Feather, so we combine data from multiple Feathers, to files in a Raspberry Pi, and thereby get internet access.

--
 Thanks, 
    - Win
Reply to
Winfield Hill

Lasse Langwadt Christensen wrote in news: snipped-for-privacy@googlegroups.com:

How is a Pi a "$1 MO mcu"?

Reply to
DecadentLinuxUserNumeroUno

Lasse Langwadt Christensen wrote in news: snipped-for-privacy@googlegroups.com:

Acoording to you? Price alone.

But hey, if you are unable to see the differences between those units and a Pi, then you are going senile or never had it and need new or remedial schooling or LSD or something, because you gotta be dumb or blind or both not to see that boy.

Reply to
DecadentLinuxUserNumeroUno

torsdag den 12. december 2019 kl. 19.26.34 UTC+1 skrev snipped-for-privacy@decadence.org:

I can see the differences, higher price, less performance, less memory. so ..

Reply to
Lasse Langwadt Christensen

The Feather we are using has an Atmel ATSAMD21G18, ARM Cortex M0+, which is about $2.50 on Octopart. But I have seen Atmel's ARM Cortex M0 under $1.

--
 Thanks, 
    - Win
Reply to
Winfield Hill

Win,

Can the programming specifications of the sensor be found somewhere?

--

-Tauno
Reply to
Tauno Voipio

Yes, it's on the datasheet, plus more info at Sensirion,

formatting link
Sorry, the correct p/n is SGP30.

--
 Thanks, 
    - Win
Reply to
Winfield Hill

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.