Skip to main content

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

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)

Source distribution for ams-dig-proc 0.0.9
File Size Uploaded
ams-dig-proc-0.0.9.tar.gz 11.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ams-dig-proc 0.0.9
File Interpreter ABI Platform
ams_dig_proc-0.0.9-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.0.9 This release

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page