time-nuts@lists.febo.com

Discussion of precise time and frequency measurement

View all threads

Re: [time-nuts] Temperature (environmental) sensors

DK
Dan Kemppainen
Wed, Jan 4, 2017 7:32 PM

Hi All,

Just ordered a few of these BME280 sensor boards. Also ordered a FTDI
C232HM cable to try to SPI or to bit-bang data from the board directly
to the PC. If a PIC or similar is required, does anyone on the list have
16Bit PIC code (pic24/dsPIC) C code for reading these BME280 sensors
laying around?

They really look like a neat little unit. Thanks to all for the heads up
on these ones!

Dan

On 1/4/2017 12:00 PM, time-nuts-request@febo.com wrote:

Message: 7
Date: Wed, 4 Jan 2017 09:53:24 -0000
From: "David J Taylor" david-taylor@blueyonder.co.uk
To: "Discussion of precise time and frequency measurement"
time-nuts@febo.com
Subject: Re: [time-nuts] Temperature (environmental) sensors
Message-ID: 076CCA551DC142C2A8D93CF02A4AD1A3@Alta
Content-Type: text/plain; format=flowed; charset="UTF-8";
reply-type=original

I like the Bosch BME280 conneced to a Raspberry PI.
https://learn.adafruit.com/adafruit-bme280-humidity-barometric-pressure-temperature-sensor-breakout/pinouts
https://github.com/adafruit/Adafruit_Python_BME280/blob/master/README.md
--  Björn

Some performance plots are here, with some comparison between the pressure
readings from various sensors.

http://www.satsignal.eu/mrtg/performance_air_temp.php

This is on mixed Windows/Linux platforms.

Cheers,
David
-- SatSignal Software - Quality software written to your requirements
Web: http://www.satsignal.eu Email: david-taylor@blueyonder.co.uk
Twitter: @gm8arv

Hi All, Just ordered a few of these BME280 sensor boards. Also ordered a FTDI C232HM cable to try to SPI or to bit-bang data from the board directly to the PC. If a PIC or similar is required, does anyone on the list have 16Bit PIC code (pic24/dsPIC) C code for reading these BME280 sensors laying around? They really look like a neat little unit. Thanks to all for the heads up on these ones! Dan On 1/4/2017 12:00 PM, time-nuts-request@febo.com wrote: > Message: 7 > Date: Wed, 4 Jan 2017 09:53:24 -0000 > From: "David J Taylor" <david-taylor@blueyonder.co.uk> > To: "Discussion of precise time and frequency measurement" > <time-nuts@febo.com> > Subject: Re: [time-nuts] Temperature (environmental) sensors > Message-ID: <076CCA551DC142C2A8D93CF02A4AD1A3@Alta> > Content-Type: text/plain; format=flowed; charset="UTF-8"; > reply-type=original > > I like the Bosch BME280 conneced to a Raspberry PI. > https://learn.adafruit.com/adafruit-bme280-humidity-barometric-pressure-temperature-sensor-breakout/pinouts > https://github.com/adafruit/Adafruit_Python_BME280/blob/master/README.md > -- Björn > ======================== > > Some performance plots are here, with some comparison between the pressure > readings from various sensors. > > http://www.satsignal.eu/mrtg/performance_air_temp.php > > This is on mixed Windows/Linux platforms. > > Cheers, > David > -- SatSignal Software - Quality software written to your requirements > Web: http://www.satsignal.eu Email: david-taylor@blueyonder.co.uk > Twitter: @gm8arv
DJ
Didier Juges
Thu, Jan 5, 2017 1:12 AM

I have C code (for the 8051) that is simply the translation of what's in the app note. It does temperature and humidity but not the barometric pressure (no double precision float on that compiler).

Works exactly as advertised. I have two.

You can see one in action here:

http://www.ko4bb.com/tps/plottemp.php?file=D8B04CF343D6.csv&length=day

This is my wife's green house, with temperature in C and F and humidity.

Let me know if you are interested.

Didier KO4BB

On January 4, 2017 1:32:24 PM CST, Dan Kemppainen dan@irtelemetrics.com wrote:

Hi All,

Just ordered a few of these BME280 sensor boards. Also ordered a FTDI
C232HM cable to try to SPI or to bit-bang data from the board directly
to the PC. If a PIC or similar is required, does anyone on the list
have
16Bit PIC code (pic24/dsPIC) C code for reading these BME280 sensors
laying around?

They really look like a neat little unit. Thanks to all for the heads
up
on these ones!

Dan

On 1/4/2017 12:00 PM, time-nuts-request@febo.com wrote:

Message: 7
Date: Wed, 4 Jan 2017 09:53:24 -0000
From: "David J Taylor" david-taylor@blueyonder.co.uk
To: "Discussion of precise time and frequency measurement"
time-nuts@febo.com
Subject: Re: [time-nuts] Temperature (environmental) sensors
Message-ID: 076CCA551DC142C2A8D93CF02A4AD1A3@Alta
Content-Type: text/plain; format=flowed; charset="UTF-8";
reply-type=original

I like the Bosch BME280 conneced to a Raspberry PI.

--  Björn

Some performance plots are here, with some comparison between the

pressure

readings from various sensors.

http://www.satsignal.eu/mrtg/performance_air_temp.php

This is on mixed Windows/Linux platforms.

Cheers,
David
-- SatSignal Software - Quality software written to your requirements
Web: http://www.satsignal.eu Email: david-taylor@blueyonder.co.uk
Twitter: @gm8arv


time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to
https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.

--
Sent from my Moto-X wireless tracker while I do other things.

I have C code (for the 8051) that is simply the translation of what's in the app note. It does temperature and humidity but not the barometric pressure (no double precision float on that compiler). Works exactly as advertised. I have two. You can see one in action here: http://www.ko4bb.com/tps/plottemp.php?file=D8B04CF343D6.csv&length=day This is my wife's green house, with temperature in C and F and humidity. Let me know if you are interested. Didier KO4BB On January 4, 2017 1:32:24 PM CST, Dan Kemppainen <dan@irtelemetrics.com> wrote: >Hi All, > >Just ordered a few of these BME280 sensor boards. Also ordered a FTDI >C232HM cable to try to SPI or to bit-bang data from the board directly >to the PC. If a PIC or similar is required, does anyone on the list >have >16Bit PIC code (pic24/dsPIC) C code for reading these BME280 sensors >laying around? > >They really look like a neat little unit. Thanks to all for the heads >up >on these ones! > >Dan > > > > >On 1/4/2017 12:00 PM, time-nuts-request@febo.com wrote: >> Message: 7 >> Date: Wed, 4 Jan 2017 09:53:24 -0000 >> From: "David J Taylor" <david-taylor@blueyonder.co.uk> >> To: "Discussion of precise time and frequency measurement" >> <time-nuts@febo.com> >> Subject: Re: [time-nuts] Temperature (environmental) sensors >> Message-ID: <076CCA551DC142C2A8D93CF02A4AD1A3@Alta> >> Content-Type: text/plain; format=flowed; charset="UTF-8"; >> reply-type=original >> >> I like the Bosch BME280 conneced to a Raspberry PI. >> >https://learn.adafruit.com/adafruit-bme280-humidity-barometric-pressure-temperature-sensor-breakout/pinouts >> >https://github.com/adafruit/Adafruit_Python_BME280/blob/master/README.md >> -- Björn >> ======================== >> >> Some performance plots are here, with some comparison between the >pressure >> readings from various sensors. >> >> http://www.satsignal.eu/mrtg/performance_air_temp.php >> >> This is on mixed Windows/Linux platforms. >> >> Cheers, >> David >> -- SatSignal Software - Quality software written to your requirements >> Web: http://www.satsignal.eu Email: david-taylor@blueyonder.co.uk >> Twitter: @gm8arv >_______________________________________________ >time-nuts mailing list -- time-nuts@febo.com >To unsubscribe, go to >https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts >and follow the instructions there. -- Sent from my Moto-X wireless tracker while I do other things.
AC
albertson.chris@gmail.com
Thu, Jan 5, 2017 2:57 AM

Right on the page at adafruit there is a downloads link. This gets you to software read data from the board.  It uses SPI

Use one of those $3 arduino nanos to talk spi to the sensor and USB to a computer.  The linked software does that

On Jan 4, 2017, at 11:32 AM, Dan Kemppainen dan@irtelemetrics.com wrote:

does anyone on the list have 16Bit PIC code (pic24/dsPIC) C code for reading these BME280 sensors laying around?

They really look like a neat little unit. Thanks to all for the heads up on these ones!

Dan

Right on the page at adafruit there is a downloads link. This gets you to software read data from the board. It uses SPI Use one of those $3 arduino nanos to talk spi to the sensor and USB to a computer. The linked software does that > On Jan 4, 2017, at 11:32 AM, Dan Kemppainen <dan@irtelemetrics.com> wrote: > > does anyone on the list have 16Bit PIC code (pic24/dsPIC) C code for reading these BME280 sensors laying around? > > They really look like a neat little unit. Thanks to all for the heads up on these ones! > > Dan > > > > >>
GE
Gary E. Miller
Thu, Jan 5, 2017 7:15 PM

Yo All!

I am surprised that the TEMPer and TEMPerHUM have not been mentioned
yet.  They are cheap reliable USB temperature sensors.  The TEMPerHUM
adds a humidity sensor.

I have several TEMPer's running to log room temp around NTP servers.

The basic TEMPer reads to 0.1°F is only $9:

http://www.pcsensor.com/usb-thermometers/gold-temper.html

I can't speak to its accuracy, but it tracks well with my OXO's frequency
shifts.

There is the double sensor TEMPER for about $19:

http://www.pcsensor.com/usb-thermometer/temper2.html

I do NOT recommend this one.  The external temp will not match the internal
temp.  When I put an IR camera on it I found the external temp sensor
self heats in free ait by several degrees F.

I have not tried the TEMPerHum.  It adds a humidity sensor and is $20:

http://www.pcsensor.com/usb-hygrometer/temperhum.html

From what I can tell, many different Chinese companies make TEMPer's so
YMMV.  But hard to go wrong for $9.

RGDS                                                Veritas liberabit vos
GARY                                                    Quid est veritas?

Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
gem@rellim.com  Tel:+1 541 382 8588

Yo All! I am surprised that the TEMPer and TEMPerHUM have not been mentioned yet. They are cheap reliable USB temperature sensors. The TEMPerHUM adds a humidity sensor. I have several TEMPer's running to log room temp around NTP servers. The basic TEMPer reads to 0.1°F is only $9: http://www.pcsensor.com/usb-thermometers/gold-temper.html I can't speak to its accuracy, but it tracks well with my OXO's frequency shifts. There is the double sensor TEMPER for about $19: http://www.pcsensor.com/usb-thermometer/temper2.html I do NOT recommend this one. The external temp will not match the internal temp. When I put an IR camera on it I found the external temp sensor self heats in free ait by several degrees F. I have not tried the TEMPerHum. It adds a humidity sensor and is $20: http://www.pcsensor.com/usb-hygrometer/temperhum.html From what I can tell, many different Chinese companies make TEMPer's so YMMV. But hard to go wrong for $9. RGDS Veritas liberabit vos GARY Quid est veritas? --------------------------------------------------------------------------- Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703 gem@rellim.com Tel:+1 541 382 8588
J
jimlux
Thu, Jan 5, 2017 8:21 PM

On 1/5/17 11:15 AM, Gary E. Miller wrote:

Yo All!

I am surprised that the TEMPer and TEMPerHUM have not been mentioned
yet.  They are cheap reliable USB temperature sensors.  The TEMPerHUM
adds a humidity sensor.

I have several TEMPer's running to log room temp around NTP servers.

The basic TEMPer reads to 0.1°F is only $9:

http://www.pcsensor.com/usb-thermometers/gold-temper.html

I can't speak to its accuracy, but it tracks well with my OXO's frequency
shifts.

There is the double sensor TEMPER for about $19:

http://www.pcsensor.com/usb-thermometer/temper2.html

I do NOT recommend this one.  The external temp will not match the internal
temp.  When I put an IR camera on it I found the external temp sensor
self heats in free ait by several degrees F.

I have not tried the TEMPerHum.  It adds a humidity sensor and is $20:

http://www.pcsensor.com/usb-hygrometer/temperhum.html

I'm kind of curious about their "UI".. hold CapsLock? how does this
device manifest itself to the host computer? I saw a mention of HID, so
it is emulating a keyboard?

(which, by the way, is the current strategy for infecting computers with
USB thumb drives you leave in the parking lot of your victim.. it works
as a thumb drive, except it also looks for other interesting traffic and
injects a payload at that time, as if you were on a keyboard..)

https://www.schneier.com/blog/archives/2014/07/the_fundamental.html

From what I can tell, many different Chinese companies make TEMPer's so
YMMV.  But hard to go wrong for $9.

RGDS                                                Veritas liberabit vos
GARY                                                    Quid est veritas?

Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
gem@rellim.com  Tel:+1 541 382 8588


time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.

On 1/5/17 11:15 AM, Gary E. Miller wrote: > Yo All! > > I am surprised that the TEMPer and TEMPerHUM have not been mentioned > yet. They are cheap reliable USB temperature sensors. The TEMPerHUM > adds a humidity sensor. > > I have several TEMPer's running to log room temp around NTP servers. > > The basic TEMPer reads to 0.1°F is only $9: > > http://www.pcsensor.com/usb-thermometers/gold-temper.html > > I can't speak to its accuracy, but it tracks well with my OXO's frequency > shifts. > > There is the double sensor TEMPER for about $19: > > http://www.pcsensor.com/usb-thermometer/temper2.html > > I do NOT recommend this one. The external temp will not match the internal > temp. When I put an IR camera on it I found the external temp sensor > self heats in free ait by several degrees F. > > I have not tried the TEMPerHum. It adds a humidity sensor and is $20: > > http://www.pcsensor.com/usb-hygrometer/temperhum.html I'm kind of curious about their "UI".. hold CapsLock? how does this device manifest itself to the host computer? I saw a mention of HID, so it is emulating a keyboard? (which, by the way, is the current strategy for infecting computers with USB thumb drives you leave in the parking lot of your victim.. it works as a thumb drive, except it also looks for other interesting traffic and injects a payload at that time, as if you were on a keyboard..) https://www.schneier.com/blog/archives/2014/07/the_fundamental.html > > From what I can tell, many different Chinese companies make TEMPer's so > YMMV. But hard to go wrong for $9. > > RGDS Veritas liberabit vos > GARY Quid est veritas? > --------------------------------------------------------------------------- > Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703 > gem@rellim.com Tel:+1 541 382 8588 > > > > _______________________________________________ > time-nuts mailing list -- time-nuts@febo.com > To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts > and follow the instructions there. >
GE
Gary E. Miller
Thu, Jan 5, 2017 8:40 PM

Yo jimlux!

On Thu, 5 Jan 2017 12:21:44 -0800
jimlux jimlux@earthlink.net wrote:

I'm kind of curious about their "UI".. hold CapsLock? how does this
device manifest itself to the host computer? I saw a mention of HID,
so it is emulating a keyboard?

It presents to the host OS as an HID/Keyboard,, but sends no data by
default.  I run it on Linux and use the following FOSS Python program to
read it:

https://github.com/padelt/temper-python

Looking at the Python code, a simple binary packet is sent to the
device and it returns a binary packet with the data.

I can't speak to how it works on anything but Linux.  I've never seen
the TEMPer interfere with anything.

RGDS                                                Veritas liberabit vos
GARY                                                    Quid est veritas?

Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
gem@rellim.com  Tel:+1 541 382 8588

Yo jimlux! On Thu, 5 Jan 2017 12:21:44 -0800 jimlux <jimlux@earthlink.net> wrote: > > http://www.pcsensor.com/usb-hygrometer/temperhum.html > > I'm kind of curious about their "UI".. hold CapsLock? how does this > device manifest itself to the host computer? I saw a mention of HID, > so it is emulating a keyboard? It presents to the host OS as an HID/Keyboard,, but sends no data by default. I run it on Linux and use the following FOSS Python program to read it: https://github.com/padelt/temper-python Looking at the Python code, a simple binary packet is sent to the device and it returns a binary packet with the data. I can't speak to how it works on anything but Linux. I've never seen the TEMPer interfere with anything. RGDS Veritas liberabit vos GARY Quid est veritas? --------------------------------------------------------------------------- Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703 gem@rellim.com Tel:+1 541 382 8588
GE
Gary E. Miller
Thu, Jan 5, 2017 8:54 PM

Yo jimlux!

On Thu, 5 Jan 2017 12:21:44 -0800
jimlux jimlux@earthlink.net wrote:

I'm kind of curious about their "UI".. hold CapsLock? how does this
device manifest itself to the host computer? I saw a mention of HID,
so it is emulating a keyboard?

I received serveral off list requests, so I looked into this a bit more.

As I said before, I use temper-python on Linux to read my TEMPer's:

https://github.com/padelt/temper-python

All you need to run that program is Python and the pyusb library:

https://pypi.python.org/pypi/pyusb/1.0.0

Python runs on pretty much anything half-way sane.  pyusb runs on
Linux, Windblows, OS X, and most POSIX systems.

The paranoids will want to run Wireshark in USB capture mode to be
sure nothing devious is going on.

RGDS                                                Veritas liberabit vos
GARY                                                    Quid est veritas?

Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
gem@rellim.com  Tel:+1 541 382 8588

Yo jimlux! On Thu, 5 Jan 2017 12:21:44 -0800 jimlux <jimlux@earthlink.net> wrote: > I'm kind of curious about their "UI".. hold CapsLock? how does this > device manifest itself to the host computer? I saw a mention of HID, > so it is emulating a keyboard? I received serveral off list requests, so I looked into this a bit more. As I said before, I use temper-python on Linux to read my TEMPer's: https://github.com/padelt/temper-python All you need to run that program is Python and the pyusb library: https://pypi.python.org/pypi/pyusb/1.0.0 Python runs on pretty much anything half-way sane. pyusb runs on Linux, Windblows, OS X, and most POSIX systems. The paranoids will want to run Wireshark in USB capture mode to be sure nothing devious is going on. RGDS Veritas liberabit vos GARY Quid est veritas? --------------------------------------------------------------------------- Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703 gem@rellim.com Tel:+1 541 382 8588