Skip to main content

A Python library for interfacing with the ADXL355 accelerometer via SPI.

Project description

ADXL355 SPI Library

Welcome to the ADXL355 SPI Library, a comprehensive Python library for interfacing with the ADXL355 accelerometer via SPI communication. This library is designed to provide a simple and intuitive API for accessing the full capabilities of the ADXL355 sensor, allowing for both basic and advanced accelerometer data handling.

Features

  • Easy-to-use: Simple functions to read and write data from the ADXL355.
  • Real-Time Data Acquisition: Support for real-time acceleration data acquisition and processing.
  • Conversion Utilities: Includes utilities for converting raw sensor data into meaningful units (g, cm/s²).
  • Comprehensive Examples: Includes several examples demonstrating the library's capabilities.

Installation

Clone this repository and install the package using pip:

git clone https://github.com/oaslananka/adxl355_spi_library.git
cd adxl355_spi_library
pip install .

Usage

Import the library and initialize the accelerometer:

from adxl355 import Adxl355

accelerometer = Adxl355()

To read acceleration data:

x, y, z = accelerometer.get_axis()
print(f"Acceleration - X: {x} g, Y: {y} g, Z: {z} g")

For detailed examples, refer to the examples/ directory.

Documentation

For more detailed information about the library's API and functionalities, visit the documentation.

Contributing

Contributions are welcome! Please refer to our CONTRIBUTING.md for guidelines on how to make contributions to this project.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Authors

Acknowledgments

  • Thanks to everyone who has contributed to this project!

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

adxl355_library-0.1.0.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

adxl355_library-0.1.0-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file adxl355_library-0.1.0.tar.gz.

File metadata

  • Download URL: adxl355_library-0.1.0.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.0

File hashes

Hashes for adxl355_library-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a0b10083b77349cb0d37cdd626af9338944c72fef39c77a15f7a28bd849cdf95
MD5 08fc57cc59b4dea72c0d2a5d4bb45a0e
BLAKE2b-256 943a0bb248cd30dd0f8dbb00d29915d1842273b263b92e8dcb8b770f4bd6a214

See more details on using hashes here.

File details

Details for the file adxl355_library-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for adxl355_library-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d0e4eabe96463205e197927273d24b7c8f50dd3adddd9fe1ba941f0b63861c64
MD5 afb5656feae89b4c83f2d55c3938c3cb
BLAKE2b-256 b945c1dcc6c9447fa6144da423ea4f35a413ee02d279f93a902e467c2795a9da

See more details on using hashes here.

Supported by

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