Skip to content

Development of (BMS) battery management system for MSD700 vehicle powered by Toshiba SCiB Battery

Notifications You must be signed in to change notification settings

itbdelaboprogramming/BMS-MSD700

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 

Repository files navigation

BMS-MSD700 (CAN-BUS with Python)

This python code is used for the back-end system: CAN Bus protocol communication data logging. The installation procedure for Waveshare RS485/CAN HAT (12M Crsytal) module and the CAN-BUS program has been tested for:

  • RaspberryPi 3B+/4
  • OS Raspbian Buster/Bullseye
  • Python 3.7

Installation

For first installation, after the CAN Hat (hardware) module is installed, power up the RaspberryPi and copy the folder canbus_code to directory /home/$(logname)/ or ~/

Then, do these steps on the terminal:

  1. Open terminal, run init_canbus.bash
sudo bash canbus_code/init_canbus.bash
  1. Follow the instructions on the terminal.
  2. Close terminal when it is done.

You still need to prepare the script to automatically run this program after each bootup. Check key_code for related features.

設置方法

初回インストール時は、CANハット(ハードウェア)モジュールを初めてインストールしたら、RaspberryPiの電源を入れ、canbus_code フォルダを /home/$(logname)/ または ~/ ディレクトリにコピーしてください。

次に、ターミナルで以下の手順を実行します:

  1. ターミナルを開き、init_canbus.bash を実行します。
sudo bash canbus_code/init_canbus.bash
  1. 端末の指示に従う。
  2. 終了したらターミナルを閉じます。

各起動後にこのプログラムを自動的に実行するスクリプトを準備する必要があります。関連する機能についてはkey_codeをチェックしてください。

About

Development of (BMS) battery management system for MSD700 vehicle powered by Toshiba SCiB Battery

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published