Skip to main content

A driver and service layer for the Mean Well NPB-1700 CAN bus charger.

Project description

NPB-1700 PyPI

Python written driver to contact NPB-1700 series battery charger produced by MEAN WELL.

Service layer API:

What implemented

  • Green: done;
  • Red: doesn't work on NPB-1700 series as it has only charger mode;
  • Not marked: not done yet;

How to use?

See examples.py to get practical knowlege of most driver aspects.

Implementation details:

  • Driver consists from 3 main modules:
    • Low level pycan based communication;
    • Parsers to write and read data in human readable form;
    • Service layer which encapsulates both;

Note: if you have issues with pycan, you may use pyserial based script in src/npbcharger/internal/utils/direct_canusb.py, which uses canusb AT commmands to configure slcan communication. For advanced users only.

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

npbcharger-1.0.0.tar.gz (330.7 kB view details)

Uploaded Source

Built Distribution

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

npbcharger-1.0.0-py3-none-any.whl (30.6 kB view details)

Uploaded Python 3

File details

Details for the file npbcharger-1.0.0.tar.gz.

File metadata

  • Download URL: npbcharger-1.0.0.tar.gz
  • Upload date:
  • Size: 330.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for npbcharger-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f583c30faa22150b3077288a3df5b9f92a14672e3b6ca62b55dea1afb45a6ed6
MD5 d0a262f3272b8c527ba0ae9c3799897a
BLAKE2b-256 4a0acb261c2ba43b3a3312f54b3dcd0e196c8d632c43de6ee600d44d8bcc633a

See more details on using hashes here.

File details

Details for the file npbcharger-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: npbcharger-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 30.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for npbcharger-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 95bcae2e03ac2ba30caaea22c7dfe253e209bdb66850d6fe3497feb51cf364c5
MD5 2247ae0387437853b328a829492328d0
BLAKE2b-256 a7bf2ce2b35866fec021ec47838fda27ec0027bc055f26cb1ad631e0b0b37daf

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