Code Monkey home page Code Monkey logo

reskin_sensor's Introduction

Reskin Sensor Library

This is a python library to interface with ReSkin sensors. We provide two classes for interfacing with ReSkin. 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.

Latest stable release is v2.0.0

Installation

This package can be installed using pip:

pip install reskin_sensor

Alternatively, if you would like the latest (potentially unstable) version,

  1. Clone this repository using
$ git clone https://github.com/raunaqbhirangi/reskin_sensor.git --recursive
  1. 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 to upload code to a microcontroller. The code as well as upload instructions can be found in the 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>
  1. Run test code on the computer
$ python tests/sensor_proc_test.py -p <port-name>

Credits

This package is maintained by Raunaq Bhirangi. We would also like to cite the pyForceDAQ library which was used as a reference in structuring this package.

reskin_sensor's People

Contributors

raunaqbhirangi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.