Skip to content

natecostello/uni_t_status

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open in Visual Studio Code

uni_t

This is a package to collect data from a UNI-T UT61E DMM.

Based on some testing, the fastest the DMM will respond or update a parameter is 0.4 seconds. Based on this, the code will poll the DMM every 0.4 seconds with a dedicated thread and cache the value. Reading values from the insturment will be instantaneous, but could represent a value that is about 0.4 seconds old.

This is an expirement in packaging following this guide, as modified by this guide, and some help from section 2.2 of the setup script documentation.

Getting Started

Note, this code requires sigrok and a UNI-T 61E DMM. Some details can be found here.

%python3 -m pip install git+https://github.com/natecostello/uni_t_status.git
%python3
>>> import uni_t
>>> dmm = uni_t.DMMMonitor('volts', interface='usb0')
>>> dmm.start()
>>> dmm.value
3.242
>>> dmm.value
3.242
>>> dmm.value
3.242
>>> 

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published