pmw3901 1.0.0
pip install pmw3901
Latest version
Released:
Python library for the PMW3901 optical flow sensor
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT License Copyright (c) 2018 Pimoroni Ltd. Permission is hereby granted, free of charge, to any ...)
- Author: Philip Howard
- Maintainer: Philip Howard
- Tags Pi, Raspberry
- Requires: Python >=3.7
Classifiers
- Development Status
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
Project description
PMW3901 / PAA5100JE 2-Dimensional Optical Flow Sensor
Installing
Stable library from PyPi:
- Just run
python3 -m pip install pmw3901
Latest/development library from GitHub:
git clone https://github.com/pimoroni/pmw3901-python
cd pmw3901-python
./install.sh
Usage
The PAA5100JE has a slightly different init routine to the PMW3901, you should use the class provided to ensure it's set up correctly:
from pmw3901 import PAA5100
And for the PMW3901, continue using the old class:
from pmw3901 import PMW3901
The example motion.py
demonstrates setting up either sensor, and accepts a --board
argument to specify which you'd like to use.
1.0.0
- Port to gpiod/gpiodevice
- Repackage to hatch/pyproject.toml
- BREAKING: spi_cs_gpio will not auto-detect SPI CS line, use spi_cs=(0, 1)
- BREAKING: Constants
BG_CS_FRONT_BCM
andBG_CS_BACK_BCM
are now CS lines, not pins
0.1.0
- Add init support for PAA5100JE
- Add frame capture support
0.0.1
- Initial Release
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT License Copyright (c) 2018 Pimoroni Ltd. Permission is hereby granted, free of charge, to any ...)
- Author: Philip Howard
- Maintainer: Philip Howard
- Tags Pi, Raspberry
- Requires: Python >=3.7
Classifiers
- Development Status
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pmw3901-1.0.0.tar.gz
.
File metadata
- Download URL: pmw3901-1.0.0.tar.gz
- Upload date:
- Size: 13.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5aafaee13ddab3163daec1c3977d79d1b09d2bd74db37368880c9fbcdc1387a2 |
|
MD5 | 5bd856f0cee5e8f8dc1b271d3ae3afda |
|
BLAKE2b-256 | cf5aeb973e0022347ec35b486d82437c5d931f2085e89abc07b63f4044a6fa2d |
File details
Details for the file pmw3901-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: pmw3901-1.0.0-py3-none-any.whl
- Upload date:
- Size: 8.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 831adafd4f73ce0cd980dff6a193a10bdbd32e5b27670f6951399c4c2dfb63e1 |
|
MD5 | 5ee7d40f4e47c68b3f669fbb71318181 |
|
BLAKE2b-256 | a02989d5102cc70605e93104d875a32aeae70b5d212788a6eae46f42df434a72 |