Skip to main content

Data acquisition library for a ReSkin sensor

Project description

# Reskin Sensor Library This is a python library to interface with [ReSkin](https://openreview.net/forum?id=87_OJU4sw3V) sensors. We provide two classes for interfacing with [ReSkin](https://openreview.net/forum?id=87_OJU4sw3V). The ReSkinBase class is good for standalone data collection: it blocks code execution while data is being collected. The ReSkinProcess class can be used for non-blocking background data collection. Data can be buffered in the background while you run the rest of your code.

## Installation

This package can be installed using pip: ` pip install reskin_sensor ` Alternatively, 1. Clone this repository using ` $ git clone https://github.com/raunaqbhirangi/reskin_sensor.git --recursive ` 2. Install this package using ` $ pip install -e . ` ## Usage

  1. Connect the 5X board to the microcontroller.

  2. Connect the microcontroller (we recommend the Adafruit Trinket M0 or the Adafruit QT PY) to the computer using a suitable USB cable

3. Use the [Arduino IDE](https://www.arduino.cc/en/software) to upload code to a microcontroller. The code as well as upload instructions can be found in the [arduino](./arduino) folder. If you get a can’t open device “<port-name>”: Permission denied error, modify permissions to allow read and write on that port. On Linux, this would look like ` $ sudo chmod a+rw <port-name> `

4. Run test code on the computer ` $ python tests/sensor_proc_test.py -p <port-name> ` ## Credits This package is maintained by [Raunaq Bhirangi](https://www.cs.cmu.edu/~rbhirang/). We would also like to cite the [pyForceDAQ](https://github.com/lindemann09/pyForceDAQ) library which was used as a reference in structuring this package.

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

reskin_sensor-2.0.0.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

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

reskin_sensor-2.0.0-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file reskin_sensor-2.0.0.tar.gz.

File metadata

  • Download URL: reskin_sensor-2.0.0.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 CPython/3.8.13

File hashes

Hashes for reskin_sensor-2.0.0.tar.gz
Algorithm Hash digest
SHA256 fa130643960df41cf21e66a98b87547f78baaed8eba4c2b020142cd12d9fbc94
MD5 713ba99d07ed0f195857f3f1e9b30404
BLAKE2b-256 f800eeb27557f148ea99f898d17b0af5f5fe91fb4eb627f28230da03ccc8e1a9

See more details on using hashes here.

File details

Details for the file reskin_sensor-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: reskin_sensor-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 CPython/3.8.13

File hashes

Hashes for reskin_sensor-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 302dbb7fba4882bb1a6925e53395a592bff00f5f4f3f6c0733516c52d0d0ccba
MD5 4b038eccc3ffa9311ca8bb9aad833856
BLAKE2b-256 48105f512f8e4160fe60e701f4a3b63311b919f258bb2a397f563aa96f5f9927

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