Skip to main content

SDK for CheezPico(PPG) USB/BLE Devices

Project description

Cheez SDK

Installation

pip install cheez_ppg_pico

Quick Start

'''
# 示例代码: 获取CheezPico PPG数据
# 数据:时间, ID,电量 ,心跳检测,脉搏波,心率,HRV,accX,Y,Z, gyroX,Y,Z,AngleX,Y,Z
'''

from cheez_ppg_pico import CheezPico   
import asyncio   

async def main():
    PPG = CheezPico()  
    device = PPG.connect()  

    while True:
        Data = await device.read_data()  
        if Data is not None: 
            print(f"data:{Data},sps({device.get_packet_rate()})")
             
if __name__ == '__main__':  
    asyncio.run(main())

Features

  • Easy device port discovery
  • Simple serial connection management
  • Async data reading
  • Configurable logging
  • Error handling and validation

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cheez_ppg_pico-1.0.2.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cheez_ppg_pico-1.0.2-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file cheez_ppg_pico-1.0.2.tar.gz.

File metadata

  • Download URL: cheez_ppg_pico-1.0.2.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.12

File hashes

Hashes for cheez_ppg_pico-1.0.2.tar.gz
Algorithm Hash digest
SHA256 37536f9e4b74e6a7bc8dc032288b1c285389d88751374e428c7231b617164995
MD5 a772daf2b9a277ef046f8eafe65b3dc9
BLAKE2b-256 4f621a27a8530bc6136dc3c5a7f0f5f59de5284583e852b06b88c4f4e85ec4aa

See more details on using hashes here.

File details

Details for the file cheez_ppg_pico-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: cheez_ppg_pico-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.12

File hashes

Hashes for cheez_ppg_pico-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2acfc86d3b8cdafbe890913eb657d51b8bd621c638701a34bebef12bee7345ac
MD5 061f29b79d51dc85b02239e884ffd2a6
BLAKE2b-256 5fc440c913605615e54a907a2201467d0deaa2ada45c88a1a399fcccb5362441

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page