{"id":25862845,"url":"https://github.com/mkwapisz2000/ds18b20-1wire-library","last_synced_at":"2026-06-13T07:33:29.602Z","repository":{"id":278055946,"uuid":"934379807","full_name":"MKwapisz2000/ds18b20-1wire-library","owner":"MKwapisz2000","description":"The DS18B20_1Wire library is designed to interface with the DS18B20 temperature sensor using the 1-Wire protocol. It allows for temperature reading, alarm threshold detection, and device scanning on the 1-Wire bus.","archived":false,"fork":false,"pushed_at":"2025-02-17T18:34:52.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-17T19:32:04.322Z","etag":null,"topics":["1-wire","avr","ds18b20","embedded","library","microcontroller","temperature"],"latest_commit_sha":null,"homepage":"","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/MKwapisz2000.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":"2025-02-17T18:23:56.000Z","updated_at":"2025-02-17T18:34:55.000Z","dependencies_parsed_at":"2025-02-17T19:32:18.267Z","dependency_job_id":"5c892bc0-8f02-4f3b-bb4a-4b7b0d9dd4d8","html_url":"https://github.com/MKwapisz2000/ds18b20-1wire-library","commit_stats":null,"previous_names":["mkwapisz2000/ds18b20-1wire-library"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MKwapisz2000%2Fds18b20-1wire-library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MKwapisz2000%2Fds18b20-1wire-library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MKwapisz2000%2Fds18b20-1wire-library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MKwapisz2000%2Fds18b20-1wire-library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MKwapisz2000","download_url":"https://codeload.github.com/MKwapisz2000/ds18b20-1wire-library/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241439763,"owners_count":19963100,"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":["1-wire","avr","ds18b20","embedded","library","microcontroller","temperature"],"created_at":"2025-03-01T23:57:14.587Z","updated_at":"2026-06-13T07:33:24.579Z","avatar_url":"https://github.com/MKwapisz2000.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ds18b20-1wire-library\n\n**Project Description - English**\n\nThe DS18B20_1Wire library is designed to interface with the DS18B20 temperature sensor using the 1-Wire protocol. It allows for temperature reading, alarm threshold detection, and device scanning on the 1-Wire bus.\n\nFeatures\n\n- Initialization of the DS18B20 sensor\n\n- Reading temperature in Celsius\n\n- Temperature alarm handling – configurable upper (TH) and lower (TL) thresholds\n\n- ROM Address Scanning – detecting sensor addresses\n\n- 1-Wire Communication – handling reset, byte reading/writing, and sensor commands\n\n- CRC Check – verifying sensor data integrity\n\nHardware Requirements\n\n- AVR Microcontroller (e.g., ATmega328P - Arduino Nano/Uno)\n\n- DS18B20 Sensor\n\n- 4.7kΩ Pull-up Resistor (required for 1-Wire communication)\n\nInstallation\n\n- Add the following files to your project:\n\n  DS18B20_1Wire.h\n        \n  DS18B20_1Wire.cpp\n\n- Include the library in your code:\n\n        #include \"DS18B20_1Wire.h\"\n\n- Initialize the DS18B20 object in your program\n\n        DS18B20_1Wire sensor(25, 15); // TH = 25°C, TL = 15°C\n\n- Read temperature:\n\n        sensor.checkTemperature();\n            \n        float temp = sensor.getTemperature();\n\n----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------\n\n**Opis projektu - Polski**\n\nBiblioteka DS18B20_1Wire została stworzona w celu obsługi czujnika temperatury DS18B20 przy wykorzystaniu magistrali 1-Wire. Umożliwia odczyt temperatury, wykrywanie alarmów temperaturowych oraz skanowanie adresów urządzeń podłączonych do magistrali.\n\nFunkcjonalność\n\n- Inicjalizacja czujnika DS18B20\n\n- Odczyt temperatury w stopniach Celsjusza\n\n- Obsługa alarmu temperatury – ustawienie górnego (TH) i dolnego (TL) progu temperatury\n\n- Skanowanie adresu ROM – wykrywanie adresu czujnika DS18B20\n\n- Obsługa magistrali 1-Wire – implementacja resetowania, pisania i odczytu bajtów oraz komunikacji z czujnikiem\n\n- Obsługa CRC – sprawdzanie poprawności danych z czujnika\n\nWymagania sprzętowe\n\n- Mikrokontroler AVR (np. ATmega328P - Arduino Nano/Uno)\n\n- Czujnik DS18B20\n\n- Rezystor pull-up 4.7kΩ (podciągający magistralę 1-Wire do zasilania)\n\nInstalacja\n\n- Dodaj pliki biblioteki do projektu:\n\n  DS18B20_1Wire.h\n        \n  DS18B20_1Wire.cpp\n\n- Dołącz bibliotekę do programu\n\n        #include \"DS18B20_1Wire.h\"\n\n- Zainicjalizuj obiekt czujnika DS18B20 w kodzie:\n\n        DS18B20_1Wire sensor(25, 15); // TH = 25°C, TL = 15°C\n\n- Odczytaj temperaturę:\n  \n        sensor.checkTemperature();\n        \n        float temp = sensor.getTemperature();\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkwapisz2000%2Fds18b20-1wire-library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmkwapisz2000%2Fds18b20-1wire-library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkwapisz2000%2Fds18b20-1wire-library/lists"}