Skip to content
This repository has been archived by the owner on Jan 23, 2022. It is now read-only.

TKassis/PiFlow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PiFlow

Installation

Just copy the files to your Raspberry Pi. All the required libraries should already be installed.

Usage

Pump_Functions.py has two functions that you can call:

  • Constant_Flow(Q1, Q2, T) where Q1 and Q2 are the flow rates for pumps 1 and 2 respectively, and T is the duration in seconds.
  • Dynamic_Flow(csv_path) where you can specify the path to a csv file with three columns. The first column should contain the sampling interval and the next two columns the flow rate for pumps 1 and 2. See Example_Profile.csv.

PiFlow_Program.py is the main program to run. In it you can call the two functions in Pump_Functions.py. Additionally you can configure your Raspberry Pi to load a script on boot if you want to run PiFlow on booting up without user intervention.

Contributing

If you have any improvements in mind please feel free to contribute to the project via GitHub. If you encounter any issue running the above code please raise the issue here.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages