Skip to content

Program developed for Raspberry Pi, for the purpose of measuring voltage, converted by ADS1115, and further processing data

Notifications You must be signed in to change notification settings

dlenskyi/voltage-measure

Repository files navigation

voltage-measure

Program developed for Raspberry Pi, for the purpose of measuring voltage, converted by ADS1115, and further processing data

Installation

Necessary modules

  • sudo pip3 install -r requirements.txt
  • sudo python3 -m pip install matplotlib
    For installation of PIL use
  • sudo apt-get install python3-pil python3-pil.imagetk
  • sudo pip3 install PIL-2.0+dummy-py2.py3-none-any.whl

Usage

python3 main.py

GUI

  • Program has GUI, built using Tkinter
  • For images, program uses PIL library

Data processing

User enters in entry fields of program:

  • Number of voltage measurements
  • Delay in ms - interval between each measurement
  • Limits of y axis (using for building figure by matplotlib) After that, measured data(number of measurement, raw voltage values, converted voltage) will be written to csv file and a matplotlib will build a V = f(n) dependency

Features

  • User can check the box if he wants program to remember values user entered
  • User can check the box if he wants to save the figure
  • User can open csv file, data from file will be displayed in text box of program
  • User can open saved (in png or pdf) figure. It will be opened in program window, and can be closed by pressing on image
  • Exit from program using button Quit

About

Program developed for Raspberry Pi, for the purpose of measuring voltage, converted by ADS1115, and further processing data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages