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
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
37536f9e4b74e6a7bc8dc032288b1c285389d88751374e428c7231b617164995
|
|
| MD5 |
a772daf2b9a277ef046f8eafe65b3dc9
|
|
| BLAKE2b-256 |
4f621a27a8530bc6136dc3c5a7f0f5f59de5284583e852b06b88c4f4e85ec4aa
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2acfc86d3b8cdafbe890913eb657d51b8bd621c638701a34bebef12bee7345ac
|
|
| MD5 |
061f29b79d51dc85b02239e884ffd2a6
|
|
| BLAKE2b-256 |
5fc440c913605615e54a907a2201467d0deaa2ada45c88a1a399fcccb5362441
|