Controlling BK Precision 1697 Power Supply automation

Features

  • Modern GUI: A clean and intuitive user interface built using the customtkinter library, providing a cross-platform experience.
  • Serial Communication: Manages connections to the power supply, automatically detecting available serial ports using the pyserial library.
  • Manual Control: Allows users to set the output voltage and current with a few clicks.
  • Automated Cycling: Executes timed on/off cycles for durability testing. This automation runs in a separate thread to prevent the GUI from freezing.
  • Real-Time Logging: A built-in log viewer records all serial commands sent and the power supply’s responses.
  • Robustness: Includes a safety-first approach, ensuring the power supply’s output is always turned off and the serial connection is properly closed when the application exits.

Requirements

  • Python 3.x
  • customtkinter
  • pyserial
  • pip install customtkinter pyserial