{"id":18345992,"url":"https://github.com/infineon/raspberrypi_dps","last_synced_at":"2025-04-06T08:32:41.955Z","repository":{"id":53886182,"uuid":"242941114","full_name":"Infineon/RaspberryPi_DPS","owner":"Infineon","description":"Unified library for all the versions of DPS(310, 368, 422)","archived":false,"fork":false,"pushed_at":"2024-09-17T12:50:15.000Z","size":24,"stargazers_count":4,"open_issues_count":0,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-09-17T16:02:15.552Z","etag":null,"topics":["makers","prototyping"],"latest_commit_sha":null,"homepage":"","language":"Python","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/Infineon.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-25T07:49:55.000Z","updated_at":"2024-09-17T12:50:18.000Z","dependencies_parsed_at":"2024-06-17T12:55:21.707Z","dependency_job_id":null,"html_url":"https://github.com/Infineon/RaspberryPi_DPS","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Infineon%2FRaspberryPi_DPS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Infineon%2FRaspberryPi_DPS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Infineon%2FRaspberryPi_DPS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Infineon%2FRaspberryPi_DPS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Infineon","download_url":"https://codeload.github.com/Infineon/RaspberryPi_DPS/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223245058,"owners_count":17112572,"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":["makers","prototyping"],"created_at":"2024-11-05T21:10:09.572Z","updated_at":"2024-11-05T21:10:10.094Z","avatar_url":"https://github.com/Infineon.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![PyPI](https://img.shields.io/pypi/v/DigitalPressureSensor.svg)](https://pypi.org/project/DigitalPressureSensor/)      [![Gitter](https://badges.gitter.im/MakerConerFor_DPS/community.svg)](https://gitter.im/MakerConerFor_DPS/community?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge)\n\nIntroduction\n============\n\nPython driver for Infineon Digital Barometric Air Pressure Sensor(DPS). This single driver is compatible with all the different versions of S2GO Digital Barometric Air Pressure Sensor from Infineon. \n\nDifferent versions of DPS-\n---------------------------\n* [DPS310](https://github.com/Infineon/DPS310-Pressure-Sensor) The barometric pressure sensors DPS310 offers excellent pressure noise performance and high stability with temperature. [Product](https://www.infineon.com/cms/en/product/sensor/pressure-sensors/absolute-pressure-sensors-map-bap/dps310/)\n* [DPS368](https://github.com/Infineon/DPS368-Library-Arduino)  DPS368 is a miniaturized digital barometric air pressure sensor with ultra-high precision (±2 cm) and a low current consumption, capable of measuring both pressure and temperature. Due to its robust package, it can withstand 50 m under water for one hour (IPx8). [Product](https://www.infineon.com/cms/en/product/sensor/pressure-sensors/absolute-pressure-sensors-map-bap/dps368/)\n* [DPS422]() The DPS422 is a miniaturized digital barometric air pressure and temperature sensor with high accuracy and low current consumption. Pressure sensing is carried out using a capacitive sensor element, guaranteeing high accuracy over temperature. [Product](https://www.infineon.com/cms/en/product/sensor/pressure-sensors/absolute-pressure-sensors-map-bap/dps422/)\n\nDependencies\n============\n\nThis driver depends on:\n\n* python version 3 and above\n* [SMBus](https://github.com/kplindegaard/smbus2)\n\nPlease ensure all dependencies are resolved before proceeding further.\n\nSteps for installation\n----------------------\n\nSupported hardware --\u003e Raspberry pi Zero/3/3B+/4B\n\n* Update apt\n\n```\n\nsudo apt update\n\n```\n\n\n* Enable i2c (Interfacing options menu and then I2C enable). For detailed steps see this [article](https://www.raspberrypi-spy.co.uk/2014/11/enabling-the-i2c-interface-on-the-raspberry-pi/).\n\n```\n\nsudo raspi-config\n\n```\n\n\n* Install pip3\n\n```\n\nsudo apt install python3-pip\n\n```\n\n\n* Install smbus\n\n```\n\npip3 install smbus\nsudo apt-get install -y python-smbus i2c-tools\n\n```\n\nInstalling from PyPI\n--------------------\n\nOn supported GNU/Linux systems like the Raspberry Pi, you can install the driver from [PyPI](https://pypi.org/)\n\nFor current user:\n```\n\npip3 install DigitalPressureSensor\n\n```\n\nTo install system-wide (this may be required in some cases):\n```\n\nsudo pip3 install DigitalPressureSensor\n\n```\n\nConnection diagram:\n-------------------\n\u003cimg src=\"https://github.com/Infineon/Assets/blob/master/Pictures/RPi_Connection_DPS.PNG\" width=550 \u003e  \n\n| Raspberry Pi | DPS |\n| :---: |:---:|\n| 3.3V | 3V3 |\n| GND | GND |\n| BCM 2 (pin3) | SDA |\n| BCM 3 (pin 5) | SCL |\n\n\n**Note-** Connection diagram given with DPS310 and Raspberry pi is just for reference, all the three versions of DPS will be connected in the same way with any of the Raspberry pi.\n\n\n\n\n* Clone the Github repository or download the .zip, unzip it, go to examples folder and run the sample code.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfineon%2Fraspberrypi_dps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finfineon%2Fraspberrypi_dps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfineon%2Fraspberrypi_dps/lists"}