Skip to content

Temperature Example Code #1

@abl

Description

@abl

Hi!

I found an adaptation of your Hannah temperature reader code.

https://gist.github.com/aleksandyr/5920627

It has a few improvements:

  • Single-shot polling mode to keep power consumption down
  • 13-bit measurement mode for additional range
  • Correct (at least, it looks correct to me?) handling of negative temperature values. Squirrel uses 32-bit signed integers. I didn't have a suitable temperature on hand to test this.

Really pleased with my recent order from you guys - this code + a simple agent = a Xively temperature monitor running in my apartment and keeping an eye on my dogs :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions