Skip to content

CLI interface for USBasp v2.0 DS18X20 temperature probe

Notifications You must be signed in to change notification settings

jaka/usbasptemp-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CLI interface for DS18X20 temperature probe

Installation

Make sure you have the following packages installed: gcc, libusb-dev and make . Otherwise run sudo apt-get install gcc libusb-dev make or similar command.

Then, build binary:

git clone https://github.com/jaka/usbtemp-cli.git
cd usbtemp-cli/
make

To enable users from group users access USBasp v2.0 DS18X20 temperature probe run commands:

echo 'SUBSYSTEMS=="usb", ATTRS{idVendor}=="03eb", GROUP="users", MODE="0666"' | sudo tee /etc/udev/rules.d/60-atmelusb.rules
sudo udevadm trigger

Usage

To print connected sensors' 64-bit unique registration numbers, issue ./usbtemp rom

To obtain a temperature first start measurement ./usbtemp measure and after one second read the temperature ./usbtemp temp.

USBtemp CLI 2016

S:0 T: 19.00 °C

About

CLI interface for USBasp v2.0 DS18X20 temperature probe

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published