calab-ntu / gpu-cluster

Eureka and Spock GPU clusters
3 stars 0 forks source link

Measure room temperature by thermometer #42

Closed xuanweishan closed 1 year ago

xuanweishan commented 1 year ago

Device: Mastech-ms6514

Installation:

  1. Install device to computer.
    1. Plug USB cable to computer
    2. Hold SET UP button for 3 seconds to activate USB mode
  2. Check driver and permission (centos already have the driver for device chip)
    1. lsmod | grep cp210x
    2. lsusb | grep cp210x
    3. ls /dev | grep ttyUSB0
  3. Install necessary python package /usr/bin/pip install serial
  4. Read data python /work1/xuanshan/read_thermometer.py Refer to the protocol if you want to write program yourself https://sigrok.org/wiki/MASTECH_MS6514