Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/trashware/mcp3xxx-rs
Rust SPI driver for MCP3xxx family of 10-13-Bit A/D converters.
https://github.com/trashware/mcp3xxx-rs
adc embedded hardware-support mcp mcp3002 mcp3004 mcp3008 mcp3202 mcp3204 mcp3208 mcp3302 mcp3304 raspberrypi rust
Last synced: 26 days ago
JSON representation
Rust SPI driver for MCP3xxx family of 10-13-Bit A/D converters.
- Host: GitHub
- URL: https://github.com/trashware/mcp3xxx-rs
- Owner: trashware
- Created: 2019-03-28T01:18:50.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-09-15T10:34:54.000Z (about 3 years ago)
- Last Synced: 2024-10-09T12:38:20.165Z (about 1 month ago)
- Topics: adc, embedded, hardware-support, mcp, mcp3002, mcp3004, mcp3008, mcp3202, mcp3204, mcp3208, mcp3302, mcp3304, raspberrypi, rust
- Language: Rust
- Homepage:
- Size: 6.84 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rust SPI driver for MCP3xxx family of 10-13-Bit A/D converters
[![Build Status](https://travis-ci.org/trashware/mcp3xxx-rs.svg?branch=master)](https://travis-ci.org/trashware/mcp3xxx-rs)
[![crates.io](https://meritbadge.herokuapp.com/mcp3xxx)](https://crates.io/crates/mcp3xxx)This crate provides a Rust SPI driver for MCP3xxx family of 10-13-Bit A/D converters.
It provides an easy to use high-level API to interact with the A/D converter.The implementation currently relies on the [rppal library](https://crates.io/crates/rppal) and as such is limited to Raspberry Pi.
It doesn't rely on [embedded-hal](https://crates.io/crates/embedded-hal) as it currently doesn't provide sufficient API for setting up SPI devices.--------------------------------------------------
The datasheet for MCP3002 can be found [here](https://ww1.microchip.com/downloads/en/devicedoc/21294e.pdf).
The datasheet for MCP3004 and MCP3008 can be found [here](https://ww1.microchip.com/downloads/en/devicedoc/21295c.pdf).
The datasheet for MCP3202 can be found [here](https://ww1.microchip.com/downloads/en/devicedoc/21034d.pdf).
The datasheet for MCP3204 and MCP3208 can be found [here](https://ww1.microchip.com/downloads/en/DeviceDoc/21298c.pdf).
The datasheet for MCP3302 and MCP3304 can be found [here](https://ww1.microchip.com/downloads/en/DeviceDoc/21697e.pdf).