encoder

Encoder library for Raspberry Pi for measuring quadrature encoded signals.

https://github.com/mivallion/encoder

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (5.3%) to scientific vocabulary

Keywords

encoder python python3 raspberry-pi
Last synced: 6 months ago · JSON representation

Repository

Encoder library for Raspberry Pi for measuring quadrature encoded signals.

Basic Info
Statistics
  • Stars: 16
  • Watchers: 3
  • Forks: 4
  • Open Issues: 0
  • Releases: 0
Topics
encoder python python3 raspberry-pi
Created almost 6 years ago · Last pushed over 1 year ago
Metadata Files
Readme License

README.md

Raspberry Pi Rotary Encoder Library

Encoder library for Raspberry Pi for measuring quadrature encoded signals.

About

Encoder class allows to work with rotary encoder which connected via two pin A and B (EN11 for example). Works only on interrupts because all RPi pins allow that. This library is a simple port of the Arduino Encoder library (https://github.com/PaulStoffregen/Encoder)

Installation

sh $ pip install Encoder

Usage

To use it, you need to connect pins A and B and GND of the rotary encoder to two pins and GND of the Raspberry Pi, for example 24 and 10. Then just use it: ```python import Encoder

enc = Encoder.Encoder(24, 10) enc.read() ```

You can use two or more rotary encoders: ```python import Encoder

enc1 = Encoder.Encoder(24, 10) enc2 = Encoder.Encoder(25, 9) ```

Note

If the encoder works in the wrong direction, for example, it reduces the position when turning clockwise, you just need to swap pins A and B in the code.

License

MIT

Owner

  • Login: mivallion
  • Kind: user

Telegram - @Mivallion

GitHub Events

Total
  • Watch event: 3
Last Year
  • Watch event: 3

Committers

Last synced: over 1 year ago

All Time
  • Total Commits: 7
  • Total Committers: 2
  • Avg Commits per committer: 3.5
  • Development Distribution Score (DDS): 0.286
Past Year
  • Commits: 2
  • Committers: 1
  • Avg Commits per committer: 2.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
mivallion m****n@g****m 5
Christian Piper x****r@g****m 2

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 3
  • Total pull requests: 1
  • Average time to close issues: 2 days
  • Average time to close pull requests: 4 months
  • Total issue authors: 3
  • Total pull request authors: 1
  • Average comments per issue: 1.0
  • Average comments per pull request: 1.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • jordanrw (1)
  • kghodstinat (1)
  • Hagenmue (1)
Pull Request Authors
  • CAP1Sup (2)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 3,530 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 3
  • Total versions: 2
  • Total maintainers: 1
pypi.org: encoder

Encoder library for Raspberry Pi for measuring quadrature encoded signals.

  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 3
  • Downloads: 3,530 Last month
Rankings
Downloads: 0.8%
Dependent repos count: 9.0%
Dependent packages count: 10.0%
Average: 10.6%
Forks count: 15.3%
Stargazers count: 17.7%
Maintainers (1)
Last synced: 6 months ago

Dependencies

setup.py pypi