Please see all COVID-19 updates here as some shipments may be delayed due to CDC safety and staffing guidelines. If you have an order or shipping question please refer to our Customer Support page. For technical questions please check out our Forums. Thank you for your continued support.

Member #483902

Member Since: October 30, 2013

Country: United States

  • I noticed also that if you can't get it to work with the vbscript from windows 7 when you first connect (it just hangs), then run this command. (assuming COM8)

    powershell "$port=new-Object System.IO.Ports.SerialPort COM8,2400,None,8,one; $port.Open();$port.Close();"

    It will connect to COM8 and then disconnect. For some reason that clears up the com port and is open and ready for talking to the vbscript.

  • Here is a python script to use it on mac osx and run from command line:

    Name it "ser.py"

    import serial

    ser=serial.Serial('/dev/tty.SLAB_USBtoUART', 2400, timeout=1)

    print ser.readline()

    You'll need to install pip and pyserial most likely:

    sudo easy_install pip

    sudo pip install pyserial

    Then run:

    python ser.py

    You'll get data like this:

    +0000 4?

    See my other answer above about the explanation of the digits.

  • If you want to use windows, here is a vbscript to get the data from the unit: (baud rate is 2400, and com port is whatever it is on your machine, maybe COM3, who knows.. check device manager and change that part of the script..) Also for the drivers, you can get them from here for Windows 7 64 bit (the CD included doesnt have the win7 64 support): https://www.silabs.com/Support%20Documents/Software/CP210x_VCP_Windows.zip

    Save it as "ser.vbs"


    Set fso = CreateObject("Scripting.FileSystemObject")

    Set comObj = fso.OpenTextFile("COM5:2400,N,8,1", ForReading)

    if not comObj.AtEndOfStream then

    Wscript.Echo comObj.ReadLine

    end if


    Then execute that from windows command line like this:

    cscript /nologo ser.vbs

    You'll get values like: -0271 41

    The "-0271 41" result implies: -027.1 mV. The 41 refers to the digits shown and where the decimal place goes -- 4 digits and the 1 it looks like refers to mV. If the 1 is not shown, then it means volts.

    For example:

    "+0151 1", means 0.151 volts

    "+0151 2", means 01.51 volts

    "+0151 4", means 015.1 volts

    "+0151 0", means 0151 volts

    Explanation: 0 (no decimal), 1 (3 decimals), 2 (2 decimals), and 4 (1 decimal).

No public wish lists :(