A Python library that implements a cashless MDB peripheral over UART.
Project description
pymultidropbus
A Python library that implements a cashless MDB peripheral over UART. This is for integrating an external payment system with an MDB enabled vending machine. This library will not talk to an MDB enabled credit card reader - it pretends to be one.
This library is not production ready, and is a continual work in progress. Contributions are welcome, but we will not be accepting feature requests at this time.
Software Requirements
This library should be compatible with most Linux Python environments that support the pyserial
library, and any
serial hardware that supports setting a sticky parity bit.
However, this library is currently only developed for and supported on a Raspberry Pi.
Install Dependencies
Install the required Python dependencies by running the following command:
pip3 install -r requirements.txt
Hardware Requirements
Please note that a multicore raspberry pi with an entire core dedicated to your MDB application is highly recommended. Linux is not a realtime operating system, and the MDB protocol has strict timing requirements which occasionally causes issues. If your use case is not public facing or doesn't need high reliability, you may not need to worry about this.
Read more about dedicating one of your cores to a single process here, here and here.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pymultidropbus-0.0.1.tar.gz
.
File metadata
- Download URL: pymultidropbus-0.0.1.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2832a17fdc416ac90b6e46f9b539f98b8057997e752577a5f05118f22836879a |
|
MD5 | b80dcb2cb19479da58752836d046458c |
|
BLAKE2b-256 | a4df29931f7247b6749a4ecb91fe4d10f0bab580ce5687ea9dd763bb3af7e62a |
File details
Details for the file pymultidropbus-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: pymultidropbus-0.0.1-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63340730f4a3da8c698feb4ec3137e42b0305dd12cd0ff5a2984c1aa98c20d0e |
|
MD5 | f9b4e97b8790f3b26a88982d4956ae87 |
|
BLAKE2b-256 | 872d6a6feac81ba64890b85e6c059d231d935753cf343b0ffd2d29d4b46a0a74 |