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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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