{"id":28999965,"url":"https://github.com/ripred/cputemp","last_synced_at":"2025-08-22T00:15:03.195Z","repository":{"id":147027057,"uuid":"492246489","full_name":"ripred/CPUTemp","owner":"ripred","description":"Arduino Library to calculate the processors internal temperature using nothing more than the ATmega processor itself! Absolutely no additional components or connections are needed!","archived":false,"fork":false,"pushed_at":"2025-02-01T04:06:04.000Z","size":27,"stargazers_count":6,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-01T05:18:35.601Z","etag":null,"topics":["arduino","arduino-library","atmega","embedded","microchip","temperature","temperature-monitoring"],"latest_commit_sha":null,"homepage":"https://github.com/ripred/CPUTemp","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ripred.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"ripred","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2022-05-14T14:56:48.000Z","updated_at":"2025-02-01T04:06:08.000Z","dependencies_parsed_at":"2024-08-21T03:15:13.064Z","dependency_job_id":null,"html_url":"https://github.com/ripred/CPUTemp","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/ripred/CPUTemp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ripred%2FCPUTemp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ripred%2FCPUTemp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ripred%2FCPUTemp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ripred%2FCPUTemp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ripred","download_url":"https://codeload.github.com/ripred/CPUTemp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ripred%2FCPUTemp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261838334,"owners_count":23217616,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arduino","arduino-library","atmega","embedded","microchip","temperature","temperature-monitoring"],"created_at":"2025-06-25T08:41:10.898Z","updated_at":"2025-06-25T08:41:11.687Z","avatar_url":"https://github.com/ripred.png","language":"C++","funding_links":["https://github.com/sponsors/ripred"],"categories":[],"sub_categories":[],"readme":"[![Arduino CI](https://github.com/ripred/CPUTemp/workflows/Arduino%20CI/badge.svg)](https://github.com/marketplace/actions/arduino_ci)\n[![Arduino-lint](https://github.com/ripred/CPUTemp/actions/workflows/arduino-lint.yml/badge.svg)](https://github.com/ripred/CPUTemp/actions/workflows/arduino-lint.yml)\n![code size:](https://img.shields.io/github/languages/code-size/ripred/CPUTemp)\n[![GitHub release](https://img.shields.io/github/release/ripred/CPUTemp.svg?maxAge=3600)](https://github.com/ripred/CPUTemp/releases)\n[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/ripred/CPUTemp/blob/master/LICENSE)\n\n# CPU Temperature\n\n### Measure the internal temperature of the processor.\n\nRetrieve the temperature of the internal ATMega328 processor using nothing more than the internal registers!\n\nAbsolutely NO external parts or connections are necessary.  All that is needed is the Atmel microcontroller itself.  That's it.\n\nExample use:\n\n#\n```cpp\n    #include \u003cCPUTemp.h\u003e\n    \n    // We don't need a setup and a loop function so we just use a single main:\n    int main() {\n        Serial.begin(115200);\n\n        // Read the processor temperature:\n        double temp = temperature();\n    \n        // Format it as a string to 2 decimal places:\n        char fstr[8];\n        dtostrf(temp, 6, 2, fstr);\n    \n        // Display it:\n        Serial.print(\"temperature: \");\n        Serial.println(fstr);\n    \n        return 0;\n    }\n```\n\noutput:\n\n#\n```\n    temperature: 96.70\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fripred%2Fcputemp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fripred%2Fcputemp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fripred%2Fcputemp/lists"}