Skip to main content

akrocansim is a CAN bus J1939 controller simulator

Project description

akrocansim

A CAN bus J1939 controller simulator.

PyPI - Python Version PyPI - Version PyPI - License

Built with

Features

  • Integrates with all hardware CAN interfaces supported by python-can.
  • Transmits configured J1939 PGNs to the CAN bus with the following methods:
    • continuous tx of all PGNs
    • all PGNs transmitted once on button press
    • per PGN transmission, either continuous or on button press
  • GUI for setting SPN values:
    • sliders for changing continuous values
    • label selection for discrete values
    • direct entry of raw decimal values
    • direct entry of decoded decimal values

Akrocansim demo screenshot

PCAN-View demo screenshot

Installation

Python 3.11 (64-bit) or higher is required.

pip install akrocansim

Prerequisites

Usage

python -m akrocansim

Upon initial run, a folder named akrocansim is created in your home folder hosting a starting configuration file.

Follow the instructions on the application and in the configuration file for next steps.

Upon successful parsing of the J1939DA, a series of json files are created in the J1939 sub-folder inside the main configuration folder. These can be inspected to evaluate parsing correctness.

The J1939DA PGN and SPN definition format is very irregular and parsing errors still exist. You can raise a GitHub issue or a pull request if you think that an SPN has not been parsed correctly.

Issues

GitHub issue tracker

Discussions

GitHub discussions

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

akrocansim-0.6.1.tar.gz (171.7 kB view hashes)

Uploaded Source

Built Distribution

akrocansim-0.6.1-py3-none-any.whl (85.0 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