Name | thinkedgecan JSON |
Version |
0.1.2
JSON |
| download |
home_page | |
Summary | Interface between the SUNIX SDC Expansion Board Software and python-can |
upload_time | 2024-01-16 08:19:13 |
maintainer | |
docs_url | None |
author | |
requires_python | >=3.8 |
license | |
keywords |
can
can-bus
python-can
sunix
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
This plugin adds support for the ThinkEdge SE50's CAN-bus controller to the [`python-can`][candocs] library.
Specifically, the ThinkEdge SE50 provides a CAN-bus connection via a SUNIX Industry card.
## System requirements
* Hardware: ThinkEdge SE50
* Operating system: Ubuntu 20.04 GA
## Installation
1. Download and unzip the drivers from [Lenovo][zip]
2. This folder contains a PDF with the name "SDC Expansion Board SDK Document1.0.2-linux.pdf". Follow the instructions inside the PDF to install the driver and to check the driver status. You can disregard all instructions that come after.
3. Run `pip install path/to/thinkedgecan`.
## Usage
Refer to the [documentation of `python-can`][candocs] for general usage.
Create the `Bus` object with the following code:
```python
from can import ThreadSafeBus
with ThreadSafeBus(interface="sunix", baudrate=500) as bus:
...
```
For the baudrate, you can choose one of 125, 250, 500 and 1000 kbit/s. All devices on a CAN-bus must use the same baudrate.
[candocs]: https://python-can.readthedocs.io/
[zip]: https://download.lenovo.com/consumer/iot/l1ind04s11avc_tese50.zip
Raw data
{
"_id": null,
"home_page": "",
"name": "thinkedgecan",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "CAN,can-bus,python-can,sunix",
"author": "",
"author_email": "Lukas Schreiber <lukas.schreiber@ifos-gmbh.de>",
"download_url": "https://files.pythonhosted.org/packages/b3/77/44524b26d2f2e53b2cc8971c93f0b55be97eec245b93682b23b2ead2fe5b/thinkedgecan-0.1.2.tar.gz",
"platform": null,
"description": "This plugin adds support for the ThinkEdge SE50's CAN-bus controller to the [`python-can`][candocs] library.\nSpecifically, the ThinkEdge SE50 provides a CAN-bus connection via a SUNIX Industry card.\n\n## System requirements\n\n* Hardware: ThinkEdge SE50\n* Operating system: Ubuntu 20.04 GA\n\n## Installation\n\n1. Download and unzip the drivers from [Lenovo][zip]\n2. This folder contains a PDF with the name \"SDC Expansion Board SDK Document1.0.2-linux.pdf\". Follow the instructions inside the PDF to install the driver and to check the driver status. You can disregard all instructions that come after.\n3. Run `pip install path/to/thinkedgecan`.\n\n\n## Usage\n\nRefer to the [documentation of `python-can`][candocs] for general usage.\n\nCreate the `Bus` object with the following code:\n\n```python\nfrom can import ThreadSafeBus\n\nwith ThreadSafeBus(interface=\"sunix\", baudrate=500) as bus:\n ...\n```\n\nFor the baudrate, you can choose one of 125, 250, 500 and 1000 kbit/s. All devices on a CAN-bus must use the same baudrate.\n\n[candocs]: https://python-can.readthedocs.io/\n[zip]: https://download.lenovo.com/consumer/iot/l1ind04s11avc_tese50.zip\n\n",
"bugtrack_url": null,
"license": "",
"summary": "Interface between the SUNIX SDC Expansion Board Software and python-can",
"version": "0.1.2",
"project_urls": null,
"split_keywords": [
"can",
"can-bus",
"python-can",
"sunix"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c1958a2edf6a3de9e42634e83093e2584790f5b96cb54f7339e437f77bd34477",
"md5": "a3bb89eadf99d692754304ce2f4e5abc",
"sha256": "65cc524d2c4c61c3a1046c3b8d05c2fefc8f5024d6ff0204e5f8cea233c25474"
},
"downloads": -1,
"filename": "thinkedgecan-0.1.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a3bb89eadf99d692754304ce2f4e5abc",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 5168,
"upload_time": "2024-01-16T08:19:11",
"upload_time_iso_8601": "2024-01-16T08:19:11.731302Z",
"url": "https://files.pythonhosted.org/packages/c1/95/8a2edf6a3de9e42634e83093e2584790f5b96cb54f7339e437f77bd34477/thinkedgecan-0.1.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "b37744524b26d2f2e53b2cc8971c93f0b55be97eec245b93682b23b2ead2fe5b",
"md5": "dc7df0c5c36e94f71043fa54410b6dd5",
"sha256": "1f35f94d9cdb333eb9cd6ec513d31ff85f28ecb1d7d258786b945688a64bd654"
},
"downloads": -1,
"filename": "thinkedgecan-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "dc7df0c5c36e94f71043fa54410b6dd5",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 4486,
"upload_time": "2024-01-16T08:19:13",
"upload_time_iso_8601": "2024-01-16T08:19:13.184056Z",
"url": "https://files.pythonhosted.org/packages/b3/77/44524b26d2f2e53b2cc8971c93f0b55be97eec245b93682b23b2ead2fe5b/thinkedgecan-0.1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-01-16 08:19:13",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "thinkedgecan"
}