encoder
Encoder library for Raspberry Pi for measuring quadrature encoded signals.
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
Repository
Encoder library for Raspberry Pi for measuring quadrature encoded signals.
Basic Info
- Host: GitHub
- Owner: mivallion
- License: other
- Language: Python
- Default Branch: master
- Homepage: https://pypi.org/project/Encoder
- Size: 6.84 KB
Statistics
- Stars: 16
- Watchers: 3
- Forks: 4
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
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
- Repositories: 9
- Profile: https://github.com/mivallion
Telegram - @Mivallion
GitHub Events
Total
- Watch event: 3
Last Year
- Watch event: 3
Committers
Last synced: over 1 year ago
Top Committers
| Name | 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.
- Homepage: https://github.com/mivallion/Encoder
- Documentation: https://encoder.readthedocs.io/
- License: MIT License
-
Latest release: 1.1
published almost 6 years ago