Skip to content

CoolerMasterTechnology/MASTERWATT_MAKER_1200_1500_RASPBERRY_PI

Repository files navigation

MASTERWATT MAKER 1200 1500 RASPBERRY PI

Version

  • Release V1.00 (Aug 23, 2017)

Installation

wget https://github.com/CoolerMasterTechnology/MASTERWATT_MAKER_1200_1500_RASPBERRY_PI/archive/master.zip
unzip master.zip
sudo apt-get install python-serial

Requirement

  • pyserial (for Python)

    • sudo apt-get install python-serial
      or
    • pip install pyserial
  • python-shell (for Node.JS)

    • npm install python-shell
  • #Enable Serial (on Raspberry Pi)

Monitoring for Python

Blocking Mode

python BlockingModeDemo.py

Non-Blocking Mode

Require set timeout. (Default: 10 seconds)

python NonBlockingModeDemo.py

Monitoring for Node.js

node NodeApp.js

PSU_API Reference

  • MasterWatt1200W() <-- Constructor. Defalut: MasterWatt1200W(serialPort = "/dev/ttyAMA0")
  • currentVersion() <-- Get Current Version by String.
  • getData() <-- Get Current Power Supply Monitor Data by Dictionary.

Wire Connection

Wire Connection

Raspberry Pi GPIO pins

Raspberry Pi GPIO pins

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published