GithubHelp home page GithubHelp logo

ripred / cputemp Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 1.0 26 KB

Arduino Library to calculate the processors internal temperature using nothing more than the ATmega processor itself! Absolutely no additional components or connections are needed!

Home Page: https://github.com/ripred/CPUTemp

License: MIT License

C++ 76.35% C 23.65%
arduino arduino-library atmega embedded microchip temperature temperature-monitoring

cputemp's Introduction

Hi there I'm Trent. ๐Ÿ‘‹ Welcome to my repositories!

My interests include Generative AI, Language Design, FPGA's, Writing Chess Engines, Compiler Design and Implementation, Kernel Development, High Speed Networking for MMO's and Live Teleconferencing, Robotics, Embedded Systems, Industrial Automation, Paleontology, Drumming, Math, and Skydiving.

Top Langs

cputemp's People

Contributors

daelonsuzuka avatar ripred avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

daelonsuzuka

cputemp's Issues

ADC value to ยฐC equation

For the ATmega328P:

return (wADC - 292.31 ) / 1.22;

In the datasheet chapter 24.8 is a "typical case" for 3 Temperatures in mV. AREF ist typically 1.1V .

This "typical case" approximates to temperature = wADC/1023 * AREF * 942.485 -272.389

Perhaps a AREF & offset parameterization should be possible.

Alongside... my two 328p's have AREF= 1.059V & 1.056V bandgap voltage and +65ยฐC offset finally. AREF could be measured.

MEGA 2560

Tried your Library on an Arduino MEGA 2560 but the results i got are wrong it mesures about 500ยฐC which is obviously wrong (tried with example code) but the same code worked flawless on an Arduino UNO
Any Help appreciated

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.