Path: csiph.com!aioe.org!peer01.am4!peer.am4.highwinds-media.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!spln!extra.newsguy.com!newsp.newsguy.com!drn From: Winfield Hill Newsgroups: sci.electronics.design Subject: Re: AGP30, absolute humidity conversion Date: 12 Dec 2019 05:23:19 -0800 Organization: Rowland Institute Lines: 22 Message-ID: References: NNTP-Posting-Host: p985e9b74e9d0fbadde35481e42d05fd5a9ebe338d7ae9f62.newsdawg.com User-Agent: Direct Read News 5.60 X-Received-Bytes: 1369 X-Received-Body-CRC: 3063023664 Xref: csiph.com sci.electronics.design:569170 Przemek Klosowski wrote... > > On Fri, 15 Nov 2019 14:37:14 -0800, Winfield Hill wrote: > >> It's a painful to do the absolute humidity conversion >> formula in an ARM M0 processor, without floating point. > > Just table-lookup it to death? You should have a lot > of flash for detailed data, no? 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