AMS-DIG-PROC python library
AMS-DIG-PROC board is an digital extension board to AMS family of infrared detection modules.
This board provides 7Msamples/s 16-bit data aquisition and 32-bit real time processing capabilities. Onboard processing reduces data rate on the communication link, therefore simple 1Mbit UART is sufficient in most applications. There is also USB adapter available, providing power supply and communication interface over a single micro-USB connector.
This repository contains python libraries and C source files to handle communication with the board.
Python or C? Which should I use?
For Windows/Linux - Python API is recommended. It provides ctypes structs and methods to cast and calculate CRC. Also serial port management and separate reader thread is provided to prevent from blocking the main thread.
For other operating systems or bare metal embedded aplications - C is recommended since it does not introduce any dependencies or specific requirements. It is designed to be portable and as simple as possible.
Python installation
pip install ams-dig-proc
C installation
There is no special requirements or installation procedure for C.
There is a header file available (C/Inc/protocol.h).
It contains definitions of all structs (messages) and constants required to work with AMS-DIG-PROC board.
C/Src/ams_dig_proc_crc.c contains function that can be used for CRC calculations.
Examples and documentation
There are many C and Python examples available in the documentation
For more informations about the board and the protocol please check the AMS-DIG-PROC product page
Metadata
Release files for ams-dig-proc 0.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ams-dig-proc-0.0.9.tar.gz | 11.4 kB | Without provenance | Details for ams-dig-proc-0.0.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ams_dig_proc-0.0.9-py3-none-any.whl | Python 3 | none | any | Details for ams_dig_proc-0.0.9-py3-none-any.whl |
Total release size: 24.7 kB
Release files / ams-dig-proc-0.0.9.tar.gz
| Download URL | ams-dig-proc-0.0.9.tar.gz |
|---|---|
| Size | 11.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6418687efbebb975f2c29e780c2f6e99f730f52506367a9a439c0c5d44d6fb7f
|
|
BLAKE2b-256 checksum How to use checksums |
ff717834e8d5b6d570afe6ef64b84269ff170a8de39e8f21280601463dadf835
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.9.6 readme-renderer/37.3 requests/2.31.0 requests-toolbelt/1.0.0 urllib3/1.26.6 tqdm/4.66.1 importlib-metadata/6.7.0 keyring/24.1.1 rfc3986/2.0.0 colorama/0.4.6 CPython/3.7.0
|
Release files / ams_dig_proc-0.0.9-py3-none-any.whl
| Download URL | ams_dig_proc-0.0.9-py3-none-any.whl |
|---|---|
| Size | 13.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e1f1ac1e293031d58ae7781f86c1cc091971fbb6156faba5c548c66cb898d06b
|
|
BLAKE2b-256 checksum How to use checksums |
96385a3b2b422daee848dcab872d543a06971af9aa3ddb3326d1365d6d387d40
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.9.6 readme-renderer/37.3 requests/2.31.0 requests-toolbelt/1.0.0 urllib3/1.26.6 tqdm/4.66.1 importlib-metadata/6.7.0 keyring/24.1.1 rfc3986/2.0.0 colorama/0.4.6 CPython/3.7.0
|
Security for ams-dig-proc 0.0.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.