Nibotics NI-PRVS01 Python SDK
Python API/SDK for the Nibotics NI-PRVS01 — a 7-DOF dexterous robotic hand with 24-channel pressure sensing, 14-channel microphone array, and IMU.
Hardware Overview
| Feature | Specification |
|---|---|
| DOF | 7 actuated (11 joints) |
| Fingers | 5 (Pinky, Ring, Middle, Index, Thumb) |
| Pressure sensors | 24 channels |
| Temperature sensors | 24 channels |
| Microphones | 14 channels (mic1: 8ch, mic2: 6ch) |
| IMU | 3-axis accelerometer + gyroscope |
| Interface | USB Serial (115200 baud) |
| Firmware | Auto-detected (19 or 24 channel) |
Installation
pip install nibotics-hand
Or install from source:
git clone https://github.com/nibotics/nibotics-hand-python.git
cd nibotics-hand-python
pip install -e .
Quick Start
from nibotics import NI_PRVS01
# Connect to hand
# Windows: use COM port e.g. COM3, COM6, COM7
# Linux: use /dev/ttyACM* e.g. /dev/ttyACM0, /dev/ttyACM1
hand = NI_PRVS01('COM6') # Windows
hand = NI_PRVS01('/dev/ttyACM0') # Linux
hand.connect()
# Move a single finger
hand.move('pinky', position=4095, speed=100)
# Move all fingers
hand.move_all(
positions=[4095, 4095, 4095, 4095, 2000, 2000, 2000],
speeds=[100] * 7
)
# Read sensors
data = hand.read_sensors()
print(data.pressure) # dict per finger
print(data.temperature) # dict per finger
print(data.imu.accel) # {'x': ..., 'y': ..., 'z': ...}
# Disconnect
hand.disconnect()
Gestures
hand.open() # all fingers open (position=0)
hand.close_all() # all fingers closed (position=4095)
hand.fist() # full fist
hand.pinch() # pinch grasp
hand.point() # index finger extended
hand.thumbs_up() # thumb extended, fingers closed
Motor Control
The hand has 7 motors:
| Index | Motor | Range |
|---|---|---|
| 0 | Pinky | 0 – 4095 |
| 1 | Ring | 0 – 4095 |
| 2 | Middle | 0 – 4095 |
| 3 | Index | 0 – 4095 |
| 4 | Thumb radial extension | 0 – 4095 |
| 5 | Thumb flexion | 0 – 4095 |
| 6 | Thumb grasp | 0 – 4095 |
Speed range: 0 – 250
Sensor Data
data = hand.read_sensors()
# Pressure (hPa) per finger
data.pressure['pinky'] # list of sensor values
data.pressure['ring']
data.pressure['middle']
data.pressure['index']
data.pressure['thumb_radial_extension']
# Temperature (°C) per finger
data.temperature['pinky']
# Motor feedback
data.positions # list of 7 current positions
data.speeds # list of 7 current speeds
# IMU
data.imu.accel # {'x': ..., 'y': ..., 'z': ...}
data.imu.gyro # {'x': ..., 'y': ..., 'z': ...}
Sensor Callbacks
def on_data(sensor_data):
print(sensor_data.pressure)
hand.on_sensor_update = on_data
hand.connect()
Context Manager
with NI_PRVS01('/dev/ttyACM0') as hand:
hand.fist()
hand.open()
Repository Structure
nibotics-hand-python/
├── nibotics/
│ ├── __init__.py # Public API
│ ├── hand.py # NI_PRVS01 main class
│ ├── protocol.py # Binary serial protocol parser
│ ├── definitions.py # Protocol constants & PAGE_MAP
│ └── sensor_data.py # SensorData / IMUData dataclasses
├── tests/
│ ├── unit/ # Unit tests
│ └── integration/ # Hardware integration tests
├── examples/ # Usage examples
├── pyproject.toml
└── setup.py
Requirements
- Python ≥ 3.8
- pyserial ≥ 3.5
License
BSD-3-Clause © Nibotics GmbH
Contact
Rohith Anju Nath Vadigineni- rohith.vadigineni@nibotics.com
- Website: nibotics.com
- Email: rohith.vadigineni@nibotics.com
- Repository: github.com/nibotics/nibotics-hand-python
Metadata
Release files for nibotics-hand 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nibotics_hand-0.1.0.tar.gz | 12.8 kB | Without provenance | Details for nibotics_hand-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nibotics_hand-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for nibotics_hand-0.1.0-py3-none-any.whl |
Total release size: 24.7 kB
Release files / nibotics_hand-0.1.0.tar.gz
| Download URL | nibotics_hand-0.1.0.tar.gz |
|---|---|
| Size | 12.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b9d6595b9fb8d9817ba3fa5aa3b4e5774a73484955018dae7d20f5aec83fde0d
|
|
BLAKE2b-256 checksum How to use checksums |
dd4d8d223592a03542aa502dd1208217cfe25cffc84e31683d7e97960dc1006d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / nibotics_hand-0.1.0-py3-none-any.whl
| Download URL | nibotics_hand-0.1.0-py3-none-any.whl |
|---|---|
| Size | 11.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c83be618d66dab28496ced1b2b1d12c9aa3afb7a9c313ab5310e3e78cd00bcce
|
|
BLAKE2b-256 checksum How to use checksums |
9156a277b508e3de9ba8e71b9559fa7ce5b547a85119c019287005756734d4a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for nibotics-hand 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.