Skip to main content

Package for AMS-DIG-PROC board by VIGO PHOTONICS

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ams-dig-proc-0.0.9.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

ams_dig_proc-0.0.9-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

Details for the file ams-dig-proc-0.0.9.tar.gz.

File metadata

  • Download URL: ams-dig-proc-0.0.9.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for ams-dig-proc-0.0.9.tar.gz
Algorithm Hash digest
SHA256 6418687efbebb975f2c29e780c2f6e99f730f52506367a9a439c0c5d44d6fb7f
MD5 251af49a2e4509343b8fef4a17be7b45
BLAKE2b-256 ff717834e8d5b6d570afe6ef64b84269ff170a8de39e8f21280601463dadf835

See more details on using hashes here.

File details

Details for the file ams_dig_proc-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: ams_dig_proc-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 13.3 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for ams_dig_proc-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 e1f1ac1e293031d58ae7781f86c1cc091971fbb6156faba5c548c66cb898d06b
MD5 96d1aa82e8c36401ffbd64679ef5da4d
BLAKE2b-256 96385a3b2b422daee848dcab872d543a06971af9aa3ddb3326d1365d6d387d40

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page