{"id":19856591,"url":"https://github.com/gavinlyonsrepo/lm75a_pico","last_synced_at":"2025-02-28T21:43:55.722Z","repository":{"id":64083695,"uuid":"536325801","full_name":"gavinlyonsrepo/LM75A_PICO","owner":"gavinlyonsrepo","description":"A SDK C++ library for a Raspberry PI PICO RP2040 device to support LM75A sensor ","archived":false,"fork":false,"pushed_at":"2024-01-10T11:07:51.000Z","size":31,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-11T14:14:41.690Z","etag":null,"topics":["cplusplus","library","lm75","lm75a","pico-sdk","raspberry-pi","raspberry-pi-pico","raspberrypi","raspberrypi-pico","rpi","rpi-pico","rpipico","sdk","sensor","temperature-sensor"],"latest_commit_sha":null,"homepage":"https://gavinlyonsrepo.github.io/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gavinlyonsrepo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-09-13T22:14:30.000Z","updated_at":"2023-09-08T08:39:35.000Z","dependencies_parsed_at":"2023-01-30T13:01:33.306Z","dependency_job_id":null,"html_url":"https://github.com/gavinlyonsrepo/LM75A_PICO","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gavinlyonsrepo%2FLM75A_PICO","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gavinlyonsrepo%2FLM75A_PICO/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gavinlyonsrepo%2FLM75A_PICO/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gavinlyonsrepo%2FLM75A_PICO/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gavinlyonsrepo","download_url":"https://codeload.github.com/gavinlyonsrepo/LM75A_PICO/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241246086,"owners_count":19933298,"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":["cplusplus","library","lm75","lm75a","pico-sdk","raspberry-pi","raspberry-pi-pico","raspberrypi","raspberrypi-pico","rpi","rpi-pico","rpipico","sdk","sensor","temperature-sensor"],"created_at":"2024-11-12T14:16:02.439Z","updated_at":"2025-02-28T21:43:55.704Z","avatar_url":"https://github.com/gavinlyonsrepo.png","language":"C++","funding_links":["https://www.paypal.com/paypalme/whitelight976"],"categories":[],"sub_categories":[],"readme":"[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/paypalme/whitelight976)\r\n\r\nOverview\r\n--------------------------------------------\r\n* Name: LM75A\r\n* Description: \r\nLibrary for LM75A  temperature sensor\r\n* Author: Gavin Lyons\r\n* Developed on\r\n\t1. Raspberry pi PICO RP2040\r\n\t2. SDK C++ compiler G++ for arm-none-eabi\r\n\t3. CMAKE , VScode\r\n* Ported from  [STM32 library](https://github.com/gavinlyonsrepo/STM32_projects)\r\n\r\nFeatures\r\n----------------------\r\n ![mod](https://github.com/gavinlyonsrepo/STM32_projects/blob/master/extra/images/lm75a.jpg)\r\n \r\nThis is a library for TI LM75A Digital Temperature Sensor and Thermal Watchdog With Two-Wire Interface Temperature Sensor I2C.\r\n\r\n1. Shutdown Mode to Minimize Power Consumption\r\n2. Up to Eight LM75As can be Connected to a Single Bus\r\n3. Power up Defaults Permit Stand-Alone Operation\r\n4. Supply Voltage\r\n\t/* LM75A: 2.7 V to 5.5 V\r\n5. Supply Current\r\n\t* Operating: 280 μA (Typical)\r\n\t* Shutdown: 4 μA (Typical)\r\n6. Temperature Accuracy\r\n\t*  25°C to 100°C: ±2°C (Max)\r\n\t*  55°C to 125°C: ±3°C (Max)\r\n7. I2C 2 wire 400Khz\r\n\r\nThe LM75A provides 9-bit digital temperature\r\nreadings . The LM75A has a dedicated over-temperature output\r\n(O.S.) with programmable limit and hysteresis. This\r\noutput has programmable fault tolerance, which lets\r\nthe user to define the number of consecutive error\r\nconditions that must occur before O.S. is activated.\r\nShutdown low current mode included. \r\n\r\nPower up mode:\r\n - Comparator mode\r\n - Tos = 80 °C\r\n - Thyst = 75 °C\r\n - OS active low\r\n\r\nPin 3 is the OS (overtemperature shutdown). It can be used to to trigger a pin interrupt.\r\nSet the functional mode, Tos and Thyst: if that functionally desired.\r\n\r\n**Connections**\r\n\r\nThe Sensor uses I2C for communication's, data is outputted to a PC.\r\nPins and I2C port(I2C0 or I2C1) can be set in the main.cpp. Default is I2C0 and GPIO16(data) GPIO17(clock).\r\n \r\n**Files**\r\n\r\nThe main.cpp contains tests showing library functions\r\nThere is also the library files(LM75A.cpp and LM75A.hpp),\r\n\r\n**Output**\r\n\r\nData is outputted  to the PC.\r\nSwitch between the two routines modes by changing define statement in main.cpp \r\nCan also be toggled between Celsius and Fahrenheit. \r\n \r\n1. Basic Usage\r\n2. Library test routine\r\n\r\n![mod1](https://github.com/gavinlyonsrepo/STM32_projects/blob/master/extra/images/lm75aoutput.jpg)\r\n\r\n**Datasheet**\r\n\r\nLM75A data sheets.\r\n - [Texas Instruments data sheet](http://www.ti.com/lit/ds/symlink/lm75a.pdf)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgavinlyonsrepo%2Flm75a_pico","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgavinlyonsrepo%2Flm75a_pico","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgavinlyonsrepo%2Flm75a_pico/lists"}