TMP36 | Arduino library for the TMP36 that converts the analog

 by   Isaacr100 C++ Version: 1.3.1 License: Apache-2.0

kandi X-RAY | TMP36 Summary

kandi X-RAY | TMP36 Summary

TMP36 is a C++ library typically used in Internet of Things (IoT), Arduino applications. TMP36 has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

The TMP36 library is a very simple Arduino library that converts the analog values from a TMP36 temperature sensor directly into Celsius and Fahrenheit so you don't have to.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              TMP36 has a low active ecosystem.
              It has 5 star(s) with 3 fork(s). There are 1 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 0 open issues and 1 have been closed. On average issues are closed in 16 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of TMP36 is 1.3.1

            kandi-Quality Quality

              TMP36 has no bugs reported.

            kandi-Security Security

              TMP36 has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              TMP36 is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              TMP36 releases are available to install and integrate.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of TMP36
            Get all kandi verified functions for this library.

            TMP36 Key Features

            No Key Features are available at this moment for TMP36.

            TMP36 Examples and Code Snippets

            TMP36,License
            C++dot img1Lines of Code : 1dot img1License : Permissive (Apache-2.0)
            copy iconCopy
             http://www.apache.org/licenses/LICENSE-2.0
              

            Community Discussions

            QUESTION

            How to improve an arduino TMP36 temperature reading?
            Asked 2017-Aug-30 at 18:49

            The Arduino love-o-meter project (present in the starter kit) uses a float to compute the temperature from the voltage read from the TMP36.

            The Arduino Uno microcontroller (ATmega328P) doesn't have any FPU and the computation doesn't have good performance.

            How can we improve this computation?

            ...

            ANSWER

            Answered 2017-Aug-30 at 13:58

            The cause of bad performance is the usage of floating point values.

            I will show how to get rid of it.

            First we talk about precision:

            • The TMP36 has a range of 500°C (from -50°C to +450°C).
            • The analog read works on 10 bits from 0 to 1023 (1024 possible values).

            So the precision is 500/1024. Roughly 0.5 °C.

            So if we want to code the temperature on an int, the less significant bit of this int needs to code for 0.5°C instead of 1°C.

            Example:

            Source https://stackoverflow.com/questions/45956343

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install TMP36

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries

            Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link