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.1.0.tar.gz (331.1 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.1.0-py3-none-any.whl (30.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for npbcharger-1.1.0.tar.gz
Algorithm Hash digest
SHA256 53dffb08f87fb7f9ee06f0b6bfc447f3d952159031da18c308961e5450394ca7
MD5 63d7e588176e8cd61b37d6bd7fcc8e72
BLAKE2b-256 83e1b59da9989edb8366e10c30ddd7d4a4e3c8f7d661d56b6009362ffca87aed

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for npbcharger-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5711288a132e81bafe20d066e15f47f13667047b1aaf74d679fefd9585e2d50d
MD5 4f09f6e2ed0331df8b7d4c630ddd473d
BLAKE2b-256 a9fd38ccd0811faafe3f46fb0b1b2122a8c8503a8444edd767035101fb3430ed

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