{"id":18733997,"url":"https://github.com/kr4fty/k-type_thermocouple-library","last_synced_at":"2026-07-04T01:03:22.158Z","repository":{"id":88772507,"uuid":"83732406","full_name":"kr4fty/K-Type_thermocouple-Library","owner":"kr4fty","description":"Small library for Arduino, to handle a type K thermocouple, using minimal additional hardware.","archived":false,"fork":false,"pushed_at":"2022-09-28T09:54:26.000Z","size":421,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-28T16:16:13.270Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kr4fty.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2017-03-02T22:43:20.000Z","updated_at":"2022-05-19T10:15:27.000Z","dependencies_parsed_at":"2023-06-12T13:15:30.233Z","dependency_job_id":null,"html_url":"https://github.com/kr4fty/K-Type_thermocouple-Library","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kr4fty%2FK-Type_thermocouple-Library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kr4fty%2FK-Type_thermocouple-Library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kr4fty%2FK-Type_thermocouple-Library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kr4fty%2FK-Type_thermocouple-Library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kr4fty","download_url":"https://codeload.github.com/kr4fty/K-Type_thermocouple-Library/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239605175,"owners_count":19667012,"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":[],"created_at":"2024-11-07T15:12:02.563Z","updated_at":"2025-10-26T04:42:05.612Z","avatar_url":"https://github.com/kr4fty.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# K-Type_thermocouple-Library\n\nLibrary to handle a type K thermocouple.\n\n## Hardware\n\nIn this example an operational amplifier winning 270 to thermocouple work between 0 and 420°C is used. Quietly you can change the gain of the operational amplifier to work in a wider range or smaller.\n\nAs advantages we can say that when working with this AO, LM358, we only need a simple source. It is also very economical in comparison to the dedicated circuits dedicated to this purpose, as is the case of the MAX31855.\n\nAs a disadvantage we can say that the resistances have to be smaller tolerance and more stable source among other things. It also has problems detecting low temperatures ( \u003c60ºC ).\n\n![alt tag](https://github.com/kr4fty/K-Type_thermocouple-Library/blob/master/Hardware/circuit.png)\n\n\n### Example\n\n**Temp_to_serialPort**\n\nReads data from analog port A2 and sends them through the serial port, then the script receives them and graphs in a window\n\nTo be able to use this script should have the libraries **Python, matplotlib, pySerial,** and backend **TK**\n\nNote that you must configure the serial port used within the script:\n\nFor example in Linux:\n\n`ser=serial.Serial(\"/dev/ttyUSB0\", 9600, timeout=1)`\n\nRunning the script:\n\n`$\u003e python temp.py`\n\n![alt tag](https://github.com/kr4fty/K-Type_thermocouple-Library/blob/master/examples/Temp_to_serialPort/plot.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkr4fty%2Fk-type_thermocouple-library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkr4fty%2Fk-type_thermocouple-library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkr4fty%2Fk-type_thermocouple-library/lists"}